t2000_all_rates
Compare interest rates across all protocols side-by-side for every asset to determine if you're getting the best rate or need to rebalance assets.
Instructions
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 — 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.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- packages/mcp/src/tools/read.ts:196-208 (handler)The 't2000_all_rates' tool is registered and implemented in 'packages/mcp/src/tools/read.ts'. It uses the agent's 'allRatesAcrossAssets()' method to fetch and return the interest rates.
server.tool( 't2000_all_rates', '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 — 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.', {}, async () => { try { const result = await agent.allRatesAcrossAssets(); return { content: [{ type: 'text', text: JSON.stringify(result) }] }; } catch (err) { return errorResult(err); } }, );