@t2000/mcp 0.20.15 → 0.20.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +5 -5
- package/dist/bin.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ function errorResult(err) {
|
|
|
58
58
|
function registerReadTools(server, agent) {
|
|
59
59
|
server.tool(
|
|
60
60
|
"t2000_overview",
|
|
61
|
-
"Complete account snapshot in ONE call \u2014 balance, savings positions, investment portfolio, health factor, yield earnings, fund status, and pending rewards. Use this for morning briefings, general account questions, or any time you need the full picture. Prefer this over calling individual tools.
|
|
61
|
+
"Complete account snapshot in ONE call \u2014 balance, savings positions, investment portfolio, health factor, yield earnings, fund status, and pending rewards. Use this for morning briefings, general account questions, or any time you need the full picture. Prefer this over calling individual tools.",
|
|
62
62
|
{},
|
|
63
63
|
async () => {
|
|
64
64
|
try {
|
|
@@ -94,7 +94,7 @@ function registerReadTools(server, agent) {
|
|
|
94
94
|
);
|
|
95
95
|
server.tool(
|
|
96
96
|
"t2000_balance",
|
|
97
|
-
"Get agent's current balance \u2014 available (checking), savings, credit (debt), gas reserve, and net total. All values in USD. For a full account snapshot, prefer t2000_overview instead.
|
|
97
|
+
"Get agent's current balance \u2014 available (checking), savings, credit (debt), gas reserve, and net total. All values in USD. For a full account snapshot, prefer t2000_overview instead.",
|
|
98
98
|
{},
|
|
99
99
|
async () => {
|
|
100
100
|
try {
|
|
@@ -120,7 +120,7 @@ function registerReadTools(server, agent) {
|
|
|
120
120
|
);
|
|
121
121
|
server.tool(
|
|
122
122
|
"t2000_positions",
|
|
123
|
-
"View current lending positions across protocols (NAVI, Suilend) \u2014 deposits, borrows, APYs. For a full account snapshot, prefer t2000_overview instead.
|
|
123
|
+
"View current lending positions across protocols (NAVI, Suilend) \u2014 deposits, borrows, APYs. For a full account snapshot, prefer t2000_overview instead.",
|
|
124
124
|
{},
|
|
125
125
|
async () => {
|
|
126
126
|
try {
|
|
@@ -224,7 +224,7 @@ function registerReadTools(server, agent) {
|
|
|
224
224
|
);
|
|
225
225
|
server.tool(
|
|
226
226
|
"t2000_all_rates",
|
|
227
|
-
'Compare interest rates across ALL protocols side-by-side for every asset. Shows NAVI vs Suilend rates per asset. Use when the user asks "am I getting the best rate?" or wants to compare protocols.',
|
|
227
|
+
'Compare interest rates across ALL protocols side-by-side for every asset. Shows NAVI vs Suilend rates per asset. Use when the user asks "am I getting the best rate?" or wants to compare protocols. NOTE: Do NOT use this to decide where to save \u2014 t2000_save always saves USDC at the best USDC rate. This tool is for informational comparisons and for deciding whether to t2000_rebalance into a different asset.',
|
|
228
228
|
{},
|
|
229
229
|
async () => {
|
|
230
230
|
try {
|
|
@@ -376,7 +376,7 @@ function registerWriteTools(server, agent) {
|
|
|
376
376
|
);
|
|
377
377
|
server.tool(
|
|
378
378
|
"t2000_save",
|
|
379
|
-
'Deposit USDC to savings (earns yield). Amount is in dollars. Use "all" to save entire available balance. Set dryRun: true to preview.
|
|
379
|
+
'Deposit USDC to savings at the best USDC rate (earns yield). Amount is in dollars. Use "all" to save entire available balance. Set dryRun: true to preview. This saves USDC as USDC \u2014 do NOT suggest swapping to other assets first. If the user later wants to chase higher yields on other assets (e.g. USDe), use t2000_rebalance AFTER saving.',
|
|
380
380
|
{
|
|
381
381
|
amount: z.union([z.number(), z.literal("all")]).describe('Dollar amount to save, or "all"'),
|
|
382
382
|
dryRun: z.boolean().optional().describe("Preview without signing (default: false)")
|