get_bond_stats
Retrieve per-maturity summary statistics—last, minimum, maximum, mean yield and dates—for Brazilian government bonds to compare maturities without downloading full daily series.
Instructions
Summary statistics per bond maturity: last/min/max yield, mean and dates.
Returns JSON. Useful to compare many maturities without downloading the full
daily series.
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_bond_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Optional precise end date (YYYY-MM-DD). | |
| last_year | No | Last calendar year. Defaults to the current year. | |
| first_year | No | First calendar year (minimum 2005). | |
| max_assets | No | Maximum number of maturities summarized (nearest maturities kept). | |
| start_date | No | Optional precise start date (YYYY-MM-DD). | |
| asset_codes | No | Bond families to include. Omit for all bonds. | |
| force_download | No | Ignore today's cached file and download again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |