get_yield_lsd_rates
Retrieve APY rates for multiple Liquid Staking Derivatives (LSDs) to analyze yield opportunities in decentralized finance.
Instructions
GET /yields/lsdRates
APY rates of multiple LSDs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_yield_lsd_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- defillama_server.py:383-390 (handler)The handler function for the 'get_yield_lsd_rates' tool. It is registered via the @mcp.tool() decorator and fetches APY rates for multiple Liquid Staking Derivatives (LSDs) from the DefiLlama API endpoint '/yields/lsdRates' using the shared make_request utility.
@mcp.tool() async def get_yield_lsd_rates() -> str: """GET /yields/lsdRates APY rates of multiple LSDs. """ result = await make_request('GET', '/yields/lsdRates') return str(result)