Summarize yields across a market
summarize_yieldsMarket overview for any filter: number of pools, total TVL, median, middle-half and TVL-weighted APY, grouped by chain (default), protocol or strategy, with the largest pool in each group. Rates in filters are fractions (0.05 = 5%).
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": "summarize_yields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Pool filters (token, chain, protocol, strategy, APY, TVL, freshness), e.g. {"search":"usdc","strategies":["lending"]}. Defaults to pools with at least $100K TVL. | |
| groupBy | No | Break the statistics down by chain (default), protocol or strategy, or "none" for one overall row. | chain |
| topGroups | No | How many groups to return, largest TVL first (default 10). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| notes | Yes | ||
| groups | Yes | ||
| groupBy | Yes | ||
| overall | Yes | ||
| version | Yes | ||
| limitations | Yes | ||
| totalGroups | Yes |