Read a municipality's IBGE Cidades indicators
ibge_get_city_profileReads a municipality's indicators from IBGE Cidades, the portal that gathers each city's census, economy, health, education, environment and public-management figures. Give a survey id to get its indicators (up to 30), or specific indicators; each comes with its unit, latest year and value, and the recent years. With only the municipality it lists the survey ids available. Municipality codes come from ibge_find_places. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
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": {
"municipality": "<municipality>"
},
"name": "ibge_get_city_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey | No | Cities survey id whose indicators to return. Omitted together with indicators: the list of survey ids. | |
| indicators | No | Specific indicator ids (as listed under a survey). Overrides survey. | |
| municipality | Yes | Municipality code, 7 digits (3550308) or 6 without the check digit. ibge_find_places returns it. | |
| response_format | No | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Raw numbers behind the text. | |
| memo | Yes | true = identical call in the last 10 min, served again: 0 credits. | |
| rows | No | Table rows; detailed only, capped per tool. | |
| error | No | Failure message when status = error. | |
| links | Yes | screen = product page with these numbers. | |
| denied | No | When status = denied: reason, feature, upgradeUrl. | |
| status | Yes | ok = data; denied = plan; error = failure or timeout. | |
| window | No | Like-for-like window: from, to (YYYY-MM), label, months, crossesSeason. | |
| caveats | Yes | Reading caveats. | |
| credits | Yes | charged, balance (null = unlimited), resetAt, session {charged, endsAt} of the 60-s billing session. | |
| sources | Yes | Per source: label, nameable, asOf. | |
| dataVersion | Yes | Identity of the data that answered. |