Describe IBGE surveys and their editions
ibge_get_survey_metadataDescribes IBGE surveys from the official metadata registry: code, name, status (active or discontinued), category, collection and release frequency, and themes. With survey (a code such as PA or PNADC) it lists the survey's occurrences, the editions actually carried out. query filters the list by name or theme. Tables of a survey are found with ibge_search_tables; release dates with ibge_get_release_calendar. 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: free (0 credits).
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": "ibge_get_survey_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many items to return (1–50, default 20). | |
| query | No | Words that filter the survey list by name or theme (e.g. 'agrícola', 'emprego'). Ignored when survey is given. | |
| survey | No | Survey code from a previous listing (e.g. 'PA' for Produção Agrícola Municipal). Given: its occurrences (editions). | |
| 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. |