Compare CBS indices over a period
compare_indicesCompare how up to 12 monthly CBS indices changed between two months, ranked by rate of increase, with annualized rates for year-plus periods and missing codes flagged.
Instructions
Compare how up to 12 monthly CBS indices changed between two months (chain-linked, so base changes are handled), ranked from fastest to slowest rising, with annualized rates for periods of a year or more. Defaults to the CPI and its 10 main consumption groups. Codes without data for both months are listed under missing.
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": {
"start_month": "<start_month>"
},
"name": "compare_indices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | Index codes. Defaults to the CPI and its main groups | |
| end_month | No | End month, YYYY-MM. Defaults to the latest published | |
| start_month | Yes | Start month, YYYY-MM |