ibge_sidra_metadados
Retrieve metadata for a SIDRA table: general info, variables, classifications, territorial levels, and available periods. Use to understand table structure before querying data.
Instructions
Returns metadata for a specific SIDRA table.
Features:
General info (name, survey, subject, periodicity)
Available territorial levels
Variable list with units
Classifications and categories
Available periods
Use this tool to understand table structure BEFORE querying data with ibge_sidra.
Examples:
Population table metadata: tabela="6579"
Census 2022 metadata: tabela="9514"
PNAD unemployment: tabela="4714"
Use this after finding a table code (ibge_sidra_tabelas) and before querying with ibge_sidra.
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns Markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabela | Yes | Código da tabela/agregado SIDRA (ex: '6579', '9514', '4714') | |
| incluir_periodos | No | Incluir lista de períodos disponíveis (padrão: true) | |
| incluir_localidades | No | Incluir níveis territoriais disponíveis (padrão: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codigo | Yes | Código da tabela/agregado SIDRA | |
| nome | Yes | Nome da tabela | |
| url | No | URL da tabela no SIDRA | |
| pesquisa | No | Nome da pesquisa de origem | |
| assunto | No | Assunto/tema da tabela | |
| periodicidade | No | Periodicidade da pesquisa | |
| niveisTerritoriais | No | Níveis territoriais disponíveis para a tabela | |
| variaveis | No | Variáveis da tabela, com unidades e classificações/categorias | |
| periodos | No | Períodos disponíveis para a tabela (quando incluir_periodos) |