t2000_rates
Find optimal interest rates for lending assets across protocols to compare with current positions and preview portfolio optimization.
Instructions
Get best available interest rates per asset across all lending protocols. Use alongside t2000_positions to compare current vs best rates. Use with t2000_rebalance (dryRun: true) to preview optimization.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- packages/mcp/src/tools/read.ts:98-110 (handler)Implementation of the 't2000_rates' MCP tool, which retrieves best available interest rates via the agent's 'rates()' method.
server.tool( 't2000_rates', 'Get best available interest rates per asset across all lending protocols. Use alongside t2000_positions to compare current vs best rates. Use with t2000_rebalance (dryRun: true) to preview optimization.', {}, async () => { try { const result = await agent.rates(); return { content: [{ type: 'text', text: JSON.stringify(result) }] }; } catch (err) { return errorResult(err); } }, );