Aggregated Data
aggregated_dataPull official IBGE/SIDRA statistical series (inflation, GDP, population, etc.). Specify the aggregate table, variable, periods, and locality. Common examples: IPCA monthly inflation = aggregate "1737" variable "63"; population estimate = aggregate "6579" variable "9324". Returns time series keyed by period.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"periods": "-1",
"variable": "63",
"aggregate": "1737",
"localities": "N1[all]"
},
"name": "aggregated_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | No | Periods: "-1" (latest), "-6" (last 6), or explicit like "202604" or "202601-202604". Default "-1". | |
| variable | Yes | Variable id within the aggregate, e.g. "63" (IPCA monthly variation %). Use "all" for every variable. | |
| aggregate | Yes | SIDRA aggregate (table) id, e.g. "1737" (IPCA) or "6579" (population estimate). Discover ids via list_aggregates. | |
| localities | No | Locality filter, e.g. "N1[all]" (Brazil), "N3[35]" (state SP), "N6[3550308]" (a municipality). Default "N1[all]". Brackets are auto-encoded. |