@t2000/mcp 0.20.14 → 0.20.15
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 +1 -1
package/dist/bin.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
|
|
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. IMPORTANT: If called immediately after a save/withdraw/rebalance and savings shows $0 unexpectedly, wait 3 seconds and call again \u2014 on-chain data may need a moment to propagate.",
|
|
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. NOTE: After a save or withdraw, on-chain data may take a few seconds to update. If savings shows $0 right after a save transaction succeeded, wait 3 seconds and retry \u2014 funds are NOT missing, just RPC propagation delay.",
|
|
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. NOTE: After a save/withdraw, positions may take a few seconds to update on-chain. If positions shows empty right after a save succeeded, wait 3 seconds and retry.",
|
|
124
124
|
{},
|
|
125
125
|
async () => {
|
|
126
126
|
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 (earns yield). Amount is in dollars. Use "all" to save entire available balance. Set dryRun: true to preview. After a successful save, funds move from checking to savings \u2014 if you check balance immediately and savings shows $0, wait 3 seconds and retry (on-chain propagation delay, funds are safe).',
|
|
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)")
|
|
@@ -727,7 +727,7 @@ function registerWriteTools(server, agent) {
|
|
|
727
727
|
);
|
|
728
728
|
server.tool(
|
|
729
729
|
"t2000_rebalance",
|
|
730
|
-
|
|
730
|
+
'Optimize savings yield \u2014 automatically finds the best rate across ALL assets and protocols, then handles everything: withdraw \u2192 swap \u2192 re-deposit. Works across different assets (e.g. USDC \u2192 USDe for higher APY). Always previews first \u2014 set dryRun: false to execute. Shows plan with APY gain, annual earnings increase, and break-even period. This is the ONE tool to use when the user asks "am I getting the best yield?" or "rebalance my savings".',
|
|
731
731
|
{
|
|
732
732
|
dryRun: z.boolean().optional().describe("Preview without executing (default: true)"),
|
|
733
733
|
minYieldDiff: z.number().optional().describe("Min APY difference to rebalance (default: 0.5%)"),
|