compareYieldHistoryTool
Analyze historical yield performance across DeFi pools by comparing APY, volatility, and TVL trends over time to inform investment decisions.
Instructions
Compares historical yield performance across multiple pools, analyzing metrics like APY, volatility, and TVL trends
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"poolIds": "<poolIds>"
},
"name": "compareYieldHistoryTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolIds | Yes | List of DefiLlama pool IDs to compare (between 2-5 pools) | |
| days | No | Number of days of historical data to analyze (max 365) | |
| sortBy | No | Metric to sort the comparison results by | apy |