IBGE Brasil MCP
This server gives AI assistants live, read-only access to official IBGE (Brazilian Institute of Geography and Statistics) data — exact figures with provenance, not guesses from training data.
Localities & geography: list states (
ibge_estados), municipalities (ibge_municipios), get locality details/hierarchy (ibge_localidade), decode/search IBGE codes (ibge_geocodigo), find neighboring municipalities (ibge_vizinhos), and download geographic meshes in GeoJSON/TopoJSON/SVG (ibge_malhas,ibge_malhas_tema).SIDRA statistical tables: discover tables (
ibge_sidra_tabelas,ibge_pesquisas), inspect metadata (ibge_sidra_metadados), and query raw data (ibge_sidra) — with statistics mode for rankings, distributions, top/bottom, and grouping.Census data: query 1970–2022 demographic censuses across 16 themes (
ibge_censo), including population, literacy, housing, religion, income, and more.Economic & social indicators: GDP, IPCA, unemployment, income, population estimates, and more (
ibge_indicadores), plus health indicators like infant mortality and life expectancy (ibge_datasaude).Municipal panels: one-municipality overviews with population, HDI, GDP per capita, etc. (
ibge_cidades), and comparisons/rankings of 2–10 localities (ibge_comparar).International data: list/search country details, indicators, and regional filters (
ibge_paises).Names: name frequency and rankings by decade/sex/locality (
ibge_nomes).CNAE classification: search and browse the national economic activity classification (
ibge_cnae).News & calendar: search IBGE press releases/news (
ibge_noticias) and query the release/collection calendar (ibge_calendario).Deep Research support:
searchandfetchtools implementing the OpenAI Deep Research contract for catalog discovery and citable document retrieval.
Implements the OpenAI Deep Research contract with search and fetch tools over the IBGE catalog, allowing ChatGPT Deep Research to find and retrieve citable IBGE documents such as tables, municipalities, and indicators.
IBGE Brasil MCP Server
Live, exact Brazilian public data for your AI assistant — with provenance, not guesswork.
Ask an LLM "what was Belo Horizonte's population in the 2022 Census?" and you get a plausible number from its training data: maybe right, maybe outdated, with no source. ibge-br-mcp instead has your assistant query the official IBGE APIs in real time — returning the exact figure together with the table and period it came from.
This server implements the Model Context Protocol (MCP) to give AI assistants live, structured access to Brazil's public geographic, demographic, economic, and health data — sourced from the IBGE APIs (including health indicators served through IBGE's SIDRA system).
See it in action
Ask your assistant, in English or Portuguese:
"What was Belo Horizonte's population in the 2022 Census?" →
ibge_cidades/ibge_censo"List the municipalities of Espírito Santo." →
ibge_municipios"Compare GDP across the Southeast state capitals." →
ibge_comparar
The answers come live from the official IBGE APIs — exact figures with the table and period they came from, not numbers guessed from training data.
Want to see a whole analysis rather than a single answer? The end-to-end demo works one real question — which state grew most between the 2010 and 2022 Censuses, and what drove it — from first call to conclusion, with every figure as it came back. The practical examples are seven shorter recipes, including ranking all 5,570 municipalities in a single call.
Related MCP server: Brazilian CEP MCP
Features
23 tools covering all major IBGE data domains — 21
ibge_*data tools plussearch/fetchfor ChatGPT Deep ResearchProvenance block on every response — source, canonical URL, reference period, real extraction timestamp, ready-to-use citation, and legal regime (see Data provenance)
Reference resources & analysis prompts (MCP catalogs + ready-made templates)
565 automated tests — 88% overall coverage, 92% across the tools
Automatic caching with configurable TTL for optimal performance
Retry mechanism with exponential backoff for network resilience
Comprehensive validation for all input parameters
Standardized error handling with helpful suggestions
Full TypeScript support with strict typing
📖 Article (in Portuguese): Como achar a tabela certa no SIDRA — e como saber que é a certa — finding the right SIDRA table, the metadata that settles it, a full worked example on 2022 Census data, and the four traps that cost the most. Also published on the site, in Portuguese and English: sidneybissoli.com.
🔌 Tutorial: Querying SIDRA through MCP in Claude and ChatGPT — how to connect this server in claude.ai, Claude Desktop, Claude Code, ChatGPT (developer mode and Deep Research), Cursor, VS Code and Gemini CLI, then one real query end to end with the provenance block it returns. Em português.
Data provenance
Since v3.3.0 every successful tool response carries a provenance block (portfolio contract v1.0), so each number is citable, auditable, and reproducible. The block is emitted on three channels:
structuredContent.provenance(parseable, visible to the model) — exactly six keys:source(the IBGE API queried),source_url(canonical URL that reproduces the query),data_vintage(reference period when the source exposes one;nullotherwise),retrieved_at(the REAL upstream extraction instant, preserved across cache hits, Brasília time),citation("Fonte: IBGE — [pesquisa/tabela], [URL], extraído em [data]."), andlicense— plusattribution, the canonical list of source URLs._metaunderbr.com.sidneybissoli.ibge/provenanceand.../attribution(out-of-band mirror for audit/UI, zero model tokens).A compact text footer appended to the Markdown, for text-only clients.
The IBGE APIs declare no license of their own; the legal regime is Brazil's
open-data framework — Lei 12.527/2011 (LAI) and Decreto 8.777/2016
(unrestricted reuse, free use, obligation limited to crediting the source).
Statistics-mode responses (estatisticas=true) and ibge_comparar are marked
derived with an explanatory note in the canonical block, since the
aggregates are computed server-side from the raw IBGE values.
Available Tools
Localities & Geography
Tool | Description |
| List Brazilian states with region filtering |
| List municipalities by state or search by name |
| Get details of a locality by IBGE code |
| Decode IBGE codes or search codes by name |
| Find neighboring municipalities |
Statistical Data (SIDRA)
Tool | Description |
| Query SIDRA tables (Census, PNAD, GDP, etc.) |
| List and search available SIDRA tables |
| Get table metadata (variables, periods, levels) |
| List IBGE research surveys and their tables |
Economic & Social Indicators
Tool | Description |
| Economic and social indicators (GDP, IPCA, unemployment) |
| Census data (1970-2022) with 16 themes |
| Compare indicators across localities with rankings |
Municipal Data (Cidades@)
Tool | Description |
| Municipal indicators (population, HDI, GDP per capita, etc.) |
International Data
Tool | Description |
| Country data following UN M49 methodology |
Demographics
Tool | Description |
| Name frequency and rankings in Brazil |
Classifications
Tool | Description |
| CNAE (National Classification of Economic Activities) |
Maps & Geographic Meshes
Tool | Description |
| Geographic meshes (GeoJSON, TopoJSON, SVG) |
| What a thematic recorte contains (biomes, Legal Amazon, semi-arid, coastal, border strip, metro regions, RIDEs) + the URL to download its geometry |
Health
Tool | Description |
| Health indicators via IBGE's SIDRA |
News & Calendar
Tool | Description |
| IBGE news and press releases |
| IBGE release and collection calendar |
ChatGPT Deep Research
Tool | Description |
| Searches the IBGE catalog (SIDRA tables, municipalities, known indicators) — OpenAI Deep Research contract |
| Returns one catalog document (table metadata, municipality hierarchy + population, indicator series) with its public URL for citation |
The two are the only tools without the ibge_ prefix: their names are fixed by the OpenAI contract. For data queries keep using the ibge_* tools.
Which tool should I use?
With 23 tools, several can touch the same topic. Quick guide for the common overlaps:
Population & demographics
You want… | Use |
A single municipality/state panel (population, HDI, GDP…) |
|
Census data or historical series (1970–2022) |
|
Rank/compare 2–10 localities on one indicator |
|
A macro indicator time series (GDP, IPCA, unemployment…) |
|
A specific SIDRA table / fine control |
|
The largest/smallest/mean/median across a whole table |
|
Economic indicators
You want… | Use |
IPCA, INPC, GDP, unemployment (IBGE, primary source) |
|
Localities & codes
You want… | Use |
List/search municipalities |
|
List states |
|
Resolve a name→code at any level, or decode a code's structure |
|
Full record of one locality you already have the code for |
|
Neighboring municipalities |
|
SIDRA workflow
Discover → inspect → query: ibge_pesquisas / ibge_sidra_tabelas (find a table) → ibge_sidra_metadados (its structure) → ibge_sidra (query). For common data, the wrappers above (ibge_censo, ibge_indicadores, ibge_comparar, ibge_cidades) are usually easier.
Maps (meshes)
You want… | Use |
Administrative outlines (Brazil/region/state/municipality) |
|
Thematic areas (biomes, Legal Amazon, semi-arid, metro regions) |
|
Installation
Prerequisites
Node.js 22.x or higher (
engines.node)npm or yarn
From npm (recommended)
npm install -g ibge-br-mcpFrom source
# Clone the repository
git clone https://github.com/SidneyBissoli/ibge-br-mcp.git
cd ibge-br-mcp
# Install dependencies
npm install
# Build the project
npm run buildConfiguration
Remote endpoint (nothing to install)
The server is also hosted, with the same tools, over Streamable HTTP and without a key:
https://ibge.sidneybissoli.com/mcpIt works with any client that accepts a remote MCP server — a custom connector in claude.ai (Settings → Connectors → Add custom connector), claude mcp add --transport http ibge https://ibge.sidneybissoli.com/mcp in Claude Code, an app in ChatGPT, the mcp.json of Cursor and VS Code. The step-by-step for each client is in the tutorial. The sections below cover the local form, via npx.
Claude Desktop
Add to your Claude Desktop configuration file (claude_desktop_config.json):
{
"mcpServers": {
"ibge-br-mcp": {
"command": "npx",
"args": ["-y", "ibge-br-mcp"]
}
}
}Or if installed from source:
{
"mcpServers": {
"ibge-br-mcp": {
"command": "node",
"args": ["/path/to/ibge-br-mcp/dist/index.js"]
}
}
}Claude Code
{
"mcpServers": {
"ibge-br-mcp": {
"command": "npx",
"args": ["-y", "ibge-br-mcp"]
}
}
}ChatGPT (Deep Research)
ChatGPT deep research (and company knowledge, and research workflows over the Responses API) only uses an MCP server that exposes exactly search and fetch — this server does, on top of the ibge_* tools. Point the connector at the hosted endpoint, no key required:
https://ibge.sidneybissoli.com/mcpsearch ranks the query against SIDRA tables, municipalities and the known indicators and returns { id, title, url }; fetch returns the document as readable Markdown with the canonical public URL (sidra.ibge.gov.br or cidades.ibge.gov.br), which is what ChatGPT cites. Both carry the same provenance block as every other tool. In ChatGPT's developer mode (Settings → Security and login → Developer mode) any tool is callable — the ibge_* tools remain the ones to use for data.
Tool Usage Examples
ibge_estados
List all Brazilian states.
# List all states
ibge_estados
# States in Northeast region
ibge_estados(regiao="NE")
# States sorted by abbreviation
ibge_estados(ordenar="sigla")ibge_municipios
List Brazilian municipalities.
# Municipalities of São Paulo state
ibge_municipios(uf="SP")
# Search municipalities by name
ibge_municipios(busca="Campinas")
# Municipalities in MG containing "Belo"
ibge_municipios(uf="MG", busca="Belo")ibge_cidades
Query municipal indicators (similar to Cidades@ portal).
# Panorama of São Paulo
ibge_cidades(tipo="panorama", municipio="3550308")
# Population history
ibge_cidades(tipo="historico", municipio="3550308", indicador="populacao")
# List available research
ibge_cidades(tipo="pesquisas")Available indicators: populacao, area, densidade, pib_per_capita, idh, escolarizacao, mortalidade, salario_medio, receitas, despesas
ibge_paises
Query international country data.
# List all countries
ibge_paises(tipo="listar")
# Brazil details
ibge_paises(tipo="detalhes", pais="BR")
# Search countries
ibge_paises(tipo="buscar", busca="Argentina")
# Countries in Americas
ibge_paises(tipo="listar", regiao="americas")Regions: americas, europa, africa, asia, oceania
ibge_sidra
Query SIDRA tables (IBGE's Automatic Recovery System).
# Brazil population in 2023
ibge_sidra(tabela="6579", periodos="2023")
# Population by state
ibge_sidra(tabela="6579", nivel_territorial="3", periodos="2023")
# Census 2022 for São Paulo municipality
ibge_sidra(tabela="9514", nivel_territorial="6", localidades="3550308")Common tables:
Code | Description |
6579 | Population estimates (annual) |
9514 | Census 2022 population |
4714 | Unemployment rate (PNAD) |
6706 | GDP at current prices |
Territorial levels:
Code | Level |
1 | Brazil |
2 | Region (North, Northeast, etc.) |
3 | State (UF) |
6 | Municipality |
7 | Metropolitan Region |
106 | Health Region |
127 | Legal Amazon |
128 | Semi-arid |
Statistics mode (also on ibge_censo, ibge_indicadores, ibge_datasaude):
for largest/smallest/mean/median/distribution/ranking questions, pass
estatisticas=true — the server computes the full distribution (min/max/mean/
median/std-dev/labeled percentiles) over all rows before pagination and
returns top/bottom rankings (topN, default 10). agruparPor="<column label>" ranks groups by descending sum, each with its own mini-distribution.
# Which state has the largest estimated population?
ibge_sidra(tabela="6579", nivel_territorial="3", estatisticas=true)
# Census 2022 population distribution grouped by state
ibge_censo(ano="2022", tema="populacao", nivel_territorial="3", estatisticas=true, agruparPor="Unidade da Federação")ibge_censo
Query Census data (1970-2022).
# Population Census 2022
ibge_censo(ano="2022", tema="populacao")
# Historical population series
ibge_censo(ano="todos", tema="populacao")
# Literacy by state in 2010
ibge_censo(ano="2010", tema="alfabetizacao", nivel_territorial="3")Available themes: populacao, alfabetizacao, domicilios, idade_sexo, religiao, cor_raca, rendimento, migracao, educacao, trabalho
ibge_indicadores
Query economic and social indicators.
# GDP
ibge_indicadores(indicador="pib")
# IPCA last 12 months
ibge_indicadores(indicador="ipca", periodos="last 12")
# Unemployment by state
ibge_indicadores(indicador="desemprego", nivel_territorial="3")
# List all indicators
ibge_indicadores(indicador="listar")Available indicators:
Category | Indicators |
Economic | pib, pib_variacao, pib_per_capita, industria, comercio, servicos |
Prices | ipca, ipca_acumulado, inpc |
Labor | desemprego, ocupacao, rendimento, informalidade |
Population | populacao, densidade |
Agriculture | agricultura, pecuaria |
ibge_nomes
Query name frequency and rankings.
# Frequency of "Maria"
ibge_nomes(tipo="frequencia", nomes="Maria")
# Compare names
ibge_nomes(tipo="frequencia", nomes="João,José,Pedro")
# Ranking of names in 2000s
ibge_nomes(tipo="ranking", decada=2000)
# Female names ranking
ibge_nomes(tipo="ranking", sexo="F")ibge_malhas
Get geographic meshes (maps).
# Brazil with states
ibge_malhas(localidade="BR", resolucao="2")
# São Paulo with municipalities
ibge_malhas(localidade="SP", resolucao="5")
# Specific municipality
ibge_malhas(localidade="3550308")
# SVG format
ibge_malhas(localidade="BR", formato="svg")Resolution levels:
Value | Internal Divisions |
0 | No divisions (outline only) |
2 | States |
5 | Municipalities |
ibge_datasaude
Query Brazilian health indicators served through IBGE's SIDRA (some originally produced by DataSUS, e.g. mortality and births).
# Infant mortality in Brazil
ibge_datasaude(indicador="mortalidade_infantil")
# Life expectancy by state
ibge_datasaude(indicador="esperanca_vida", nivel_territorial="3")
# List indicators
ibge_datasaude(indicador="listar")Available indicators: mortalidade_infantil, esperanca_vida, nascidos_vivos, obitos, fecundidade, saneamento_agua, saneamento_esgoto, plano_saude
APIs Used
IBGE APIs
Localities:
servicodados.ibge.gov.br/api/v1/localidadesNames:
servicodados.ibge.gov.br/api/v2/censos/nomesAggregates/SIDRA:
servicodados.ibge.gov.br/api/v3/agregados(SIDRA tables are read here withview=flat;apisidra.ibge.gov.brhas been behind a browser-only Cloudflare challenge since 2026-09-15)Meshes:
servicodados.ibge.gov.br/api/v3/malhasNews:
servicodados.ibge.gov.br/api/v3/noticiasPopulation:
servicodados.ibge.gov.br/api/v1/projecoes/populacaoCNAE:
servicodados.ibge.gov.br/api/v2/cnaeCalendar:
servicodados.ibge.gov.br/api/v3/calendarioCountries:
servicodados.ibge.gov.br/api/v1/paisesResearch:
servicodados.ibge.gov.br/api/v1/pesquisas
Development
# Build
npm run build
# Watch mode
npm run watch
# Run tests
npm test
# Run tests in watch mode
npm run test:watch
# Lint
npm run lint
# Format
npm run format
# Test with MCP inspector
npm run inspectorProject Structure
ibge-br-mcp/
├── src/
│ ├── index.ts # Main MCP server
│ ├── types.ts # TypeScript types
│ ├── config.ts # Configuration and constants
│ ├── cache.ts # Request caching system
│ ├── retry.ts # Retry with exponential backoff
│ ├── errors.ts # Standardized error handling
│ ├── validation.ts # Input validation helpers
│ ├── metrics.ts # Metrics and logging
│ ├── utils/
│ │ └── formatters.ts # Formatting utilities
│ └── tools/
│ ├── index.ts # Tool exports
│ ├── estados.ts # ibge_estados
│ ├── municipios.ts # ibge_municipios
│ ├── localidade.ts # ibge_localidade
│ ├── geocodigo.ts # ibge_geocodigo
│ ├── censo.ts # ibge_censo
│ ├── sidra.ts # ibge_sidra
│ ├── sidra-tabelas.ts # ibge_sidra_tabelas
│ ├── sidra-metadados.ts# ibge_sidra_metadados
│ ├── indicadores.ts # ibge_indicadores
│ ├── cnae.ts # ibge_cnae
│ ├── calendario.ts # ibge_calendario
│ ├── comparar.ts # ibge_comparar
│ ├── malhas.ts # ibge_malhas
│ ├── malhas-tema.ts # ibge_malhas_tema
│ ├── vizinhos.ts # ibge_vizinhos
│ ├── datasaude.ts # ibge_datasaude
│ ├── pesquisas.ts # ibge_pesquisas
│ ├── nomes.ts # ibge_nomes
│ ├── noticias.ts # ibge_noticias
│ ├── paises.ts # ibge_paises
│ └── cidades.ts # ibge_cidades
├── tests/ # Test files
├── dist/ # Compiled files
├── package.json
├── tsconfig.json
├── vitest.config.ts
└── README.mdTesting
The project includes a comprehensive test suite with 565 tests covering:
Validation functions
Retry mechanism
Formatting utilities
Error handling
Cache operations
Integration tests with mocks
npm testQuality Assurance
This project maintains high code quality standards:
565 automated tests covering validation, caching, retry logic, formatting, and integrations
88% overall test coverage — cache and validation modules above 97%
ESLint for code linting with zero warnings
Prettier for consistent code formatting
TypeScript strict mode for type safety
Automated CI/CD via GitHub Actions
Run tests locally:
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run linter
npm run lintLicense
MIT
Author
Sidney da Silva Pereira Bissoli
References
Available Tools
23 toolsfetchDocumento para Deep ResearchARead-onlyIdempotentInspect
Returns the full document for an id obtained from search, as { id, title, text, url, metadata }: text is the readable content (Markdown) and url the canonical public page to cite.
Companion of search in the OpenAI Deep Research contract, over the IBGE (Brazilian official statistics: SIDRA tables, municipalities, known indicators) catalog. Only ids returned by search are valid; an unknown id returns an error.
The ibge_* tools (ibge_sidra, ibge_cidades, ibge_indicadores, ibge_comparar…) remain the tools for data queries.
Behavior: read-only and idempotent — a live GET against the public source when the document needs it.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identificador de um documento devolvido por `search` |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Identificador único do documento no servidor; é o que `fetch` recebe |
| url | Yes | URL pública canônica do documento — a citação do ChatGPT depende dela |
| text | Yes | Conteúdo integral do documento, legível (Markdown) |
| title | Yes | Título legível do documento |
| metadata | No | Pares chave/valor adicionais sobre o documento (tipo, fonte, período…) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, and open-world hints. The description adds a concrete behavioral detail: 'a live GET against the public source when the document needs it' and notes error handling for unknown ids. This supplements, not contradicts, the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured into three focused paragraphs: purpose, context/usage, and behavior. While slightly verbose with the 'OpenAI Deep Research contract' phrase, each sentence contributes useful information and the main purpose is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema available and a single parameter, the description covers all necessary context: the source catalog (IBGE), the prerequisite of `search`, the error case, and the tool's role relative to siblings. Nothing an agent needs to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The sole parameter `id` is fully described in the schema (100% coverage) as a document identifier from `search`. The description reinforces this dependency and error condition, but adds little new semantic value beyond the schema's explanation. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action: 'Returns the full document for an id obtained from `search`' — a specific verb, resource, and dependency. It distinguishes itself from the ibge_* siblings by explicitly noting they are 'the tools for data queries', preventing confusion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage guidance: ids must come from `search`, unknown ids produce an error, and the ibge_* tools are the alternative for data queries. This leaves no ambiguity about when to invoke this tool versus others.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_calendarioCalendário de divulgaçõesARead-onlyIdempotentInspect
Queries IBGE release and collection calendar.
Features:
List upcoming survey releases
Filter by product (IPCA, PNAD, GDP, etc.)
Filter by period
Distinguish releases from field collections
Event types:
Release: Publication of survey results
Collection: Field research period
Examples:
Upcoming releases: (no parameters)
IPCA releases: produto="IPCA"
2024 calendar: de="01/01/2024", ate="31/12/2024"
Field collections: tipo="coleta"
Use a different tool when:
Already-published news and releases → ibge_noticias
Behavior: read-only and idempotent — a live GET against the public IBGE Calendário API. Returns a Markdown list.
| Name | Required | Description | Default |
|---|---|---|---|
| de | No | Data inicial no formato DD/MM/AAAA (ex: '01/01/2024') | |
| ate | No | Data final no formato DD/MM/AAAA (ex: '31/12/2024') | |
| tipo | No | Tipo de evento: 'divulgacao' (publicações), 'coleta' (pesquisas de campo), ou 'todos' | divulgacao |
| pagina | No | Número da página (padrão: 1) | |
| produto | No | Filtrar por produto/pesquisa (ex: 'IPCA', 'PNAD', 'PIB') | |
| quantidade | No | Quantidade de resultados por página (padrão: 20) |
Output Schema
| Name | Required | Description |
|---|---|---|
| total | Yes | Total de eventos disponíveis para os critérios |
| pagina | No | Página atual retornada |
| eventos | Yes | Lista de eventos do calendário (divulgações/coletas) |
| produto | No | Filtro de produto aplicado, quando informado |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| totalPaginas | No | Total de páginas disponíveis |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so 'read-only and idempotent' is largely redundant. The description still adds genuine context beyond annotations: it is a live GET against the public IBGE Calendário API and returns a Markdown list.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded one-line purpose, then tightly grouped Features / Event types / Examples / Routing / Behavior sections. The 'read-only and idempotent' clause duplicates the annotations and could be trimmed, but overall structure is clean and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 6-param read-only query tool with a 100%-documented schema, full annotations and an output schema, the description supplies everything else an agent needs: purpose, event semantics, examples, sibling routing, and API/return context. Nothing material is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (baseline 3), but the description adds meaning the schema does not: it interprets the 'tipo' enum values as Release vs Collection events and shows realistic values for produto (IPCA, PNAD, GDP) and de/ate formatting. The example block converts abstract params into concrete usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Queries IBGE release and collection calendar') and immediately names the sibling it must not be confused with (ibge_noticias). An agent can distinguish this calendar-query tool from the news tool without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit 'Use a different tool when' routing to ibge_noticias for already-published content, plus four concrete invocation examples (no params, produto, date range, tipo). When-to-use and when-not-to-use are both covered.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_censoCenso DemográficoARead-onlyIdempotentInspect
Queries IBGE Demographic Census data (1970-2022).
Simplified tool to access census data without knowing SIDRA table codes.
Available years: 1970, 1980, 1991, 2000, 2010, 2022
Available themes:
populacao: Resident population
alfabetizacao: Literacy rate
domicilios: Housing characteristics
idade_sexo: Age pyramid
religiao: Religion distribution
cor_raca: Race/color
rendimento: Monthly income
educacao: Education level
trabalho: Employment
Examples:
Population 2022: ano="2022", tema="populacao"
Historical series: ano="todos", tema="populacao"
Literacy 2010 by state: ano="2010", tema="alfabetizacao", nivel_territorial="3"
List tables: tema="listar"
Statistics mode: for largest/smallest/mean/median/distribution/ranking questions over census data ("which municipality had the largest 2022 population?") use estatisticas=true — full distribution + top/bottom computed over ALL rows before truncation; agruparPor="" ranks groups by descending sum. In this mode campos/formato are ignored and registros comes empty.
Use a different tool when:
One municipality's current panel (estimate, HDI, GDP) → ibge_cidades
Comparing/ranking localities → ibge_comparar
An arbitrary SIDRA table → ibge_sidra
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| ano | No | Ano do censo (1970, 1980, 1991, 2000, 2010, 2022) ou 'todos' para série histórica | |
| tema | No | Tema dos dados: - populacao: População residente - alfabetizacao: Taxa de alfabetização - domicilios: Características dos domicílios - idade_sexo: Pirâmide etária - religiao: Distribuição por religião - cor_raca: Cor ou raça - rendimento: Rendimento mensal - migracao: Migração - educacao: Nível de instrução - trabalho: Ocupação e trabalho - indigenas: População indígena - quilombolas: População quilombola - saneamento: Abastecimento de água e esgoto - deficiencia: Pessoas com deficiência - nupcialidade: Estado civil - fecundidade: Taxa de fecundidade - listar: Lista tabelas disponíveis | populacao |
| topN | No | Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100) | |
| campos | No | Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta. | |
| formato | No | Formato de saída | tabela |
| agruparPor | No | Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido | |
| localidades | No | Códigos das localidades ou 'all' | all |
| estatisticas | No | Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato | |
| nivel_territorial | No | Nível territorial (código N): 1=Brasil, 2=Região, 3=UF, 6=Município | 1 |
Output Schema
| Name | Required | Description |
|---|---|---|
| ano | No | Ano(s) de referência |
| tema | No | Tema do censo consultado |
| tabela | No | Tabela SIDRA de origem |
| colunas | Yes | Rótulos das colunas, na ordem |
| descricao | No | Descrição da tabela |
| registros | Yes | Registros: cada um mapeia rótulo da coluna -> valor |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| estatisticas | No | Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo) |
| totalRegistros | Yes | Total de registros de dados |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent annotations, it discloses the live GET against the public SIDRA API, the Markdown + structuredContent return shape, and rich mode behavior: statistics computed over ALL rows before truncation, campos/formato ignored and registros emptied in that mode, and ambiguity refusal in agruparPor with an aviso field.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded purpose followed by scannable sections (years, themes, examples, mode, exclusions), so it is easy to navigate. It loses a point for restating content already in the schema, such as the full theme list and year enumeration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given nine parameters with an output schema and full annotation coverage, the description supplies exactly what structured fields cannot: mode-switching rules, examples, and sibling routing. An agent has everything needed to select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter interaction semantics (estatisticas=true overrides pagina/campos/formato, agruparPor ranking by descending sum with resolved short labels) and realistic parameter combinations in the examples that the per-property schema text alone does not tie together.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Queries IBGE Demographic Census data 1970-2022'), names its scope (simplified access without SIDRA table codes), and explicitly routes to three siblings (ibge_cidades, ibge_comparar, ibge_sidra) with the condition that selects each.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Carries a full 'Use a different tool when' block naming alternatives and their conditions, plus four concrete invocation examples and a dedicated explanation of when to enable estatisticas mode. Nothing about tool selection is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_cidadesPanorama municipal (Cidades@)ARead-onlyIdempotentInspect
Queries municipal indicators from IBGE (similar to Cidades@ portal).
Features:
General overview of a municipality (population, HDI, GDP, etc.)
Query specific indicators
Historical indicator data over years
List available surveys and indicators
Available indicators: populacao, area, densidade, pib_per_capita, idh, escolarizacao, mortalidade, salario_medio, receitas, despesas
Examples:
São Paulo overview: tipo="panorama", municipio="3550308"
Population history: tipo="historico", municipio="3550308", indicador="populacao"
View surveys: tipo="pesquisas"
Available indicators: tipo="indicador"
This tool is the panel for a SINGLE municipality (Cidades@). Use a different tool when:
Census themes / historical series → ibge_censo
Comparing multiple municipalities → ibge_comparar
A macro indicator time series → ibge_indicadores
Behavior: read-only and idempotent — a live GET against the public IBGE APIs (Cidades@/agregados). Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | Código ou sigla da UF para filtrar (ex: 35 ou SP) | |
| tipo | No | Tipo de consulta: panorama (resumo geral), indicador (específico), pesquisas (listar), historico | panorama |
| pesquisa | No | ID da pesquisa para filtrar indicadores | |
| indicador | No | ID do indicador ou nome para busca | |
| municipio | No | Código IBGE do município (7 dígitos) |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | No | Nome do município/indicador |
| tipo | Yes | Tipo de consulta (panorama, indicador, pesquisas, historico) |
| municipio | No | Código IBGE do município |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| indicadores | Yes | Indicadores retornados (vazio para respostas de catálogo) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered — the description's restatement adds little there. It does add genuinely new context: a live GET against public IBGE APIs and a return format ('Markdown plus a typed structuredContent payload'). No rate-limit or auth caveats are mentioned, but for a public read-only API this is minor.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the purpose, then features, indicator list, examples, and routing — a logical, skimmable structure. It is somewhat long and the features list partially overlaps the examples, but each block carries usable information and no sentence is purely filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 5-parameter read-only tool with full schema coverage and an output schema, the description supplies everything an agent needs: what it does, the indicator vocabulary, the routing alternatives, and the return shape. Nothing required to invoke it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline of 3 applies, but the description adds real value by enumerating the available indicators (populacao, area, pib_per_capita, idh, etc.) and showing parameter combinations per tipo. It goes beyond the schema's enum glosses without fully specifying each parameter's syntax.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Queries municipal indicators from IBGE') and explicitly scopes the tool to a SINGLE municipality (Cidades@ panel). It names the exact sibling tools it is not (ibge_censo, ibge_comparar, ibge_indicadores), so an agent can disambiguate without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit routing rules: 'Use a different tool when: Census themes → ibge_censo; Comparing multiple municipalities → ibge_comparar; macro indicator time series → ibge_indicadores.' It also gives worked examples mapping each 'tipo' value to a concrete scenario, leaving nothing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_cnaeClassificação CNAEARead-onlyIdempotentInspect
Queries CNAE (National Classification of Economic Activities) from IBGE.
CNAE is the official classification for economic activities in Brazil.
Hierarchical structure:
Section (letter A-U): 21 main categories
Division (2 digits): 87 divisions
Group (3 digits): 285 groups
Class (4-5 digits): 673 classes
Subclass (7 digits): 1,332 subclasses
Features:
Search by CNAE code
Search by activity description
List by hierarchical level
Show complete hierarchy
Examples:
Search software: busca="software"
Specific code: codigo="6201-5/01"
View section: codigo="J"
List divisions: nivel="divisoes"
Behavior: read-only and idempotent — a live GET against the public IBGE CNAE API. Returns Markdown.
| Name | Required | Description | Default |
|---|---|---|---|
| busca | No | Termo para buscar na descrição das atividades (ex: 'software', 'restaurante', 'comércio') | |
| nivel | No | Nível hierárquico para listar (padrão: mostra todos os níveis relevantes) | |
| codigo | No | Código CNAE para buscar (seção, divisão, grupo, classe ou subclasse). Exemplos: - Seção: "A" (agricultura) - Divisão: "01" (agricultura e pecuária) - Grupo: "01.1" (produção de lavouras) - Classe: "01.11" (cultivo de cereais) - Subclasse: "0111-3/01" (cultivo de arroz) | |
| limite | No | Número máximo de resultados (padrão: 20) |
Output Schema
| Name | Required | Description |
|---|---|---|
| modo | Yes | Modo de resposta que gerou os dados |
| busca | No | Presente no modo de busca por termo |
| lista | No | Presente no modo de listagem por nível |
| codigo | No | Presente no modo de consulta por código |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real context by specifying it is 'a live GET against the public IBGE CNAE API' and 'Returns Markdown,' which goes beyond the annotations and informs the agent about the external source and output medium.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and uses clear headers for hierarchy, features, examples, and behavior, making it scannable. It is slightly verbose with the level-by-level counts (21/87/285/673/1,332) that are informative but not strictly necessary for invocation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotations covering the safety profile, an output schema present, and 100% schema description coverage, the description need not explain return values. It rounds out the picture with hierarchy structure, feature list, worked examples, and source/format behavior, leaving nothing essential for a correct call unstated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the codigo field already documents format and examples in the schema, so the schema carries the semantic load. The description's examples for busca, codigo, and nivel add marginal reinforcement, but it never addresses the limite parameter; baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Queries) and resource (CNAE - National Classification of Economic Activities from IBGE), and clarifies the domain as Brazilian economic-activity classification. This cleanly distinguishes it from domain-adjacent siblings like ibge_cidades, ibge_estados, and ibge_pesquisas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'Features' and 'Examples' sections give concrete invocation scenarios (search by term, by code, list by level, show hierarchy), which effectively communicates when to use the tool. It lacks explicit when-not guidance or named alternatives among the many IBGE siblings, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_compararComparação entre localidadesARead-onlyIdempotentInspect
Compares data between localities (municipalities or states).
Available indicators:
populacao: Current population estimate
populacao_censo: Census 2022 population
pib: GDP per capita
area: Territorial area (km²)
densidade: Population density (inhab/km²)
alfabetizacao: Literacy rate
domicilios: Number of households
Features:
Compare up to 10 localities at once
Calculate statistics (max, min, average, variation)
Generate ranked output
Accept municipality codes (7 digits) or state codes (2 digits)
Examples:
Compare capitals: localidades="3550308,3304557,4106902", indicador="populacao"
Compare states: localidades="35,33,41", indicador="pib"
Area ranking: localidades="3550308,3304557", formato="ranking"
List indicators: indicador="listar"
Use this tool ONLY to rank/compare 2–10 localities on one indicator. For a single locality, use ibge_cidades (municipal panel), ibge_censo, or ibge_sidra.
Behavior: read-only and idempotent — a live GET against the public IBGE APIs (SIDRA and Localidades). Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| formato | No | Formato de saída: tabela, json ou ranking (ordenado) | tabela |
| indicador | No | Indicador para comparação: - populacao: Estimativa populacional atual - populacao_censo: População do Censo 2022 - pib: PIB a preços correntes (Mil Reais) - area: Área territorial (km²) - densidade: Densidade demográfica (hab/km²) - alfabetizacao: Taxa de alfabetização - domicilios: Número de domicílios - listar: Lista indicadores disponíveis | populacao |
| localidades | Yes | Códigos IBGE das localidades separados por vírgula (ex: "3550308,3304557,4106902"). Use 7 dígitos para municípios, 2 dígitos para UFs. |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | No | Nome do indicador |
| tabela | No | Tabela SIDRA de origem |
| formato | No | Formato solicitado |
| indicador | No | Indicador comparado |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| localidades | Yes | Localidades comparadas, com o valor do indicador |
| estatisticas | No | Estatísticas agregadas (quando há ao menos 2 valores positivos) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety profile is structured. The description adds value beyond that: it discloses the underlying data sources (SIDRA and Localidades public APIs) and the return format (Markdown plus typed structuredContent). It doesn't discuss rate limits or error behavior, keeping it short of 5, but adds genuine context beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with a clear purpose statement, then structured lists of indicators, features, and examples. Reasonably sized for a tool with this many options. Minor redundancy between the indicator list and schema enum, and examples repeat some information, but overall well-organized and skimmable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists, the description need not explain return values, and it appropriately mentions structuredContent. It covers constraints (max 10), accepted inputs, indicator vocabulary, and routing guidance. Missing minor items like the behavioral meaning of 'ranking' vs 'json' formats but overall complete for calling correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the schema already enumerates indicators with descriptions and formats. The description repeats the indicator list and code format (7 digits for municipalities, 2 for states), which duplicates schema content rather than adding new meaning. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (compares) and resource (data between localities), enumerates available indicators, and explicitly differentiates from siblings: 'Use this tool ONLY to rank/compare 2–10 localities on one indicator. For a single locality, use ibge_cidades, ibge_censo, or ibge_sidra.' An agent can route correctly without inspecting other schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit when-to-use ('ONLY to rank/compare 2–10 localities on one indicator'), when-not-to-use (single locality), and named alternatives (ibge_cidades, ibge_censo, ibge_sidra). Also gives a hard constraint (up to 10 localities) and concrete examples. Nothing left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_datasaudeIndicadores de saúdeARead-onlyIdempotentInspect
Queries Brazil health indicators, served through IBGE's SIDRA (some originally produced by DataSUS, e.g. mortality and births).
Mortality and Birth:
mortalidade_infantil: Infant mortality rate
nascidos_vivos: Live births by location
obitos: Deaths by residence
Demographic Indicators:
esperanca_vida: Life expectancy at birth
fecundidade: Fertility rate
Sanitation:
saneamento_agua: Water supply
saneamento_esgoto: Sewage system
Health Coverage:
plano_saude: Health insurance coverage
autoavaliacao_saude: Self-rated health status
Territorial levels: 1=Brazil, 2=Region, 3=State, 6=Municipality
Examples:
Infant mortality: indicador="mortalidade_infantil"
Life expectancy by state: indicador="esperanca_vida", nivel_territorial="3"
Deaths in SP: indicador="obitos", nivel_territorial="3", localidade="35"
List indicators: indicador="listar"
Statistics mode: for largest/smallest/mean/median/distribution/ranking questions ("which state has the highest infant mortality?", "median life expectancy across states") use estatisticas=true — full distribution + top/bottom over ALL rows before truncation; agruparPor="" ranks groups by descending sum. In this mode campos/formato are ignored and registros comes empty.
Use a different tool when:
A single municipality's general panel (which also includes infant mortality) → ibge_cidades
Population/demographic counts (not health-specific) → ibge_censo or ibge_sidra
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100) | |
| campos | No | Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta. | |
| formato | No | Formato de saída | tabela |
| periodo | No | Período: 'last', 'all', ou ano específico | last |
| indicador | Yes | Indicador de saúde. Disponíveis: - mortalidade_infantil: Taxa de mortalidade infantil - esperanca_vida: Esperança de vida ao nascer - nascidos_vivos: Nascidos vivos - obitos: Óbitos por local de residência - fecundidade: Taxa de fecundidade - saneamento_agua: Abastecimento de água - saneamento_esgoto: Esgotamento sanitário - plano_saude: Cobertura de plano de saúde - listar: Lista indicadores disponíveis | |
| agruparPor | No | Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido | |
| localidade | No | Código da localidade ou 'all' | all |
| estatisticas | No | Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato | |
| nivel_territorial | No | Nível territorial (código N): 1=Brasil, 2=Região, 3=UF, 6=Município | 1 |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | No | Nome do indicador |
| fonte | No | Fonte do dado |
| colunas | Yes | Rótulos das colunas, na ordem |
| indicador | No | Chave do indicador de saúde consultado |
| registros | Yes | Registros: cada um mapeia rótulo da coluna -> valor |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| estatisticas | No | Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo) |
| totalRegistros | Yes | Total de registros de dados |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), but the description adds real mode-dependent behavior: estatisticas=true bypasses pagination, ignores campos/formato, leaves registros empty, and computes over ALL rows before truncation; agruparPor ranks groups by descending sum and reports the resolved column in `aviso`, refusing ambiguous labels. It also discloses the transport (live GET against public SIDRA) and the return shape (Markdown plus typed structuredContent).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Long but well-segmented with headers, bulleted indicator groups, territorial-level legend, and example lines; the purpose and mode caveats are front-loaded. It loses a point because the indicator enumeration and statistics-mode rules substantially restate the input-schema descriptions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 9-parameter tool with an output schema present, the description says enough: which indicators exist, what the statistics mode does to the response, how territorial levels map, and when to pick a sibling instead. No material gap remains for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all 9 parameters (and largely duplicates the indicator list). The description still adds value by giving worked examples that bind values to parameters (nivel_territorial="3" for state, localidade="35" for SP) and by explaining the agruparPor ranking semantics beyond the schema wording.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Queries Brazil health indicators, served through IBGE's SIDRA'), enumerates the exact indicators and domains, and explicitly names the sibling tools it should not be confused with (ibge_cidades, ibge_censo, ibge_sidra). An agent can route correctly without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit when-to-use for statistics mode ('largest/smallest/mean/median/distribution/ranking questions') with concrete trigger phrases, plus a dedicated 'Use a different tool when' block that gives the alternative and the condition selecting it. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_estadosEstados do BrasilARead-onlyIdempotentInspect
Lists all Brazilian states from IBGE.
Features:
Lists all 27 states (26 states + Federal District)
Filter by region (North, Northeast, Southeast, South, Central-West)
Sort by ID, name, or abbreviation
Examples:
List all states: (no parameters)
Northeast states: regiao="NE"
Sorted by abbreviation: ordenar="sigla"
Use a different tool when:
Municipalities of a state → ibge_municipios
Details/hierarchy of one locality by code → ibge_localidade
Behavior: read-only and idempotent — a live GET against the public IBGE Localidades API. Returns a Markdown table.
| Name | Required | Description | Default |
|---|---|---|---|
| regiao | No | Filtrar por região: N (Norte), NE (Nordeste), SE (Sudeste), S (Sul), CO (Centro-Oeste) | |
| ordenar | No | Campo para ordenação dos resultados | nome |
Output Schema
| Name | Required | Description |
|---|---|---|
| total | Yes | Total de estados retornados |
| estados | Yes | Lista de estados |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context — it is a live GET against the public IBGE Localidades API returning a Markdown table — though the return format is partly redundant given an output schema exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the one-line purpose, then uses labeled Features/Examples/routing sections that are scannable and waste-free. Every sentence either defines scope, demonstrates a call, or routes to a sibling.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotations covering safety, a full input schema with enums, and an output schema covering return values, the description needs only purpose, examples and routing — all of which are present. Nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and both params are enum-constrained with self-documenting values, so the baseline is 3. The description goes beyond the schema by showing the actual wire values in context (regiao="NE", ordenar="sigla"), which reduces the chance of an agent guessing at an invalid code.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('Lists all Brazilian states from IBGE') and immediately scopes it with the exact count (27) and the two filter/sort axes. The 'Use a different tool when' section names the sibling tools it is not, so an agent can separate it from ibge_municipios and ibge_localidade without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly names the alternatives (ibge_municipios for municipalities, ibge_localidade for single-locality details) and the condition that selects each, plus concrete invocation examples for no-param, region-filtered, and sorted calls. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_geocodigoCódigos geográficos do IBGEARead-onlyIdempotentInspect
Decodes IBGE codes or searches codes by locality name.
Features:
Decode region, state, municipality, or district codes
Search IBGE code by name
Show complete geographic hierarchy
Return related codes
Code structure:
1 digit: Region (1=North, 2=Northeast, 3=Southeast, 4=South, 5=Central-West)
2 digits: State (11-53)
7 digits: Municipality
9 digits: District
Examples:
Decode municipality: codigo="3550308"
Decode state: codigo="35"
Search by name: nome="São Paulo"
Municipality in state: nome="Campinas", uf="SP"
This tool decodes a code's structure and resolves name→code at any level. Use a different tool when:
You only need to list/search municipalities → ibge_municipios
You want the full detailed record of one locality → ibge_localidade
Behavior: read-only and idempotent — a live GET against the public IBGE Localidades API. Returns Markdown.
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | Estado por sigla (SP), nome (São Paulo) ou código IBGE (35) para restringir a busca por nome de município | |
| nome | No | Nome da localidade para encontrar o código IBGE (estado ou município) | |
| codigo | No | Código IBGE para decodificar. Formatos aceitos: - 1 dígito: Região (1-5) - 2 dígitos: UF (11-53) - 7 dígitos: Município - 9 dígitos: Distrito |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | No | Nome da localidade resolvida |
| tipo | Yes | Tipo do resultado: localidade decodificada (regiao/uf/municipio/distrito) ou lista de municípios encontrados (lista) |
| sigla | No | Sigla da região ou UF, quando aplicável |
| total | No | Quantidade de municípios encontrados na busca por nome (apenas tipo lista) |
| codigo | No | Código IBGE da localidade resolvida (ausente em resultados do tipo lista) |
| regiao | No | Nome da região à qual a UF pertence (apenas tipo uf) |
| estados | No | Estados pertencentes à região (apenas tipo regiao) |
| matches | No | Municípios encontrados na busca por nome (apenas tipo lista) |
| hierarquia | No | Hierarquia geográfica completa, da região ao município/distrito (tipo municipio/distrito) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| codigoSidra | No | Código SIDRA de 6 dígitos do município (apenas tipo municipio) |
| regiaoCodigo | No | Código IBGE da região à qual a UF pertence (apenas tipo uf) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnly, idempotent, openWorld and non-destructive. The description adds genuinely new context beyond them: it is a live GET against the public IBGE Localidades API and returns Markdown. It does not discuss rate limits or error behavior, so it stops short of a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose, then cleanly sectioned into features, code structure, examples and alternatives, which suits the tool's branching input modes. The code-structure bullets partially duplicate the parameter schema, costing some efficiency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, return values need not be explained. Between the level-decoding rules, the four examples, the named alternatives and the read-only/API/Markdown behavior note, an agent has everything needed to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is already 100%, so the baseline is 3, but the description adds meaning the schema lacks — the digit-length-to-level mapping (1/2/7/9 digits) and worked examples such as nome="Campinas", uf="SP" that show how nome and uf combine. It stops short of documenting mutual exclusivity between codigo and nome.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence states a specific dual verb (decodes / searches) against a specific resource (IBGE geographic codes), and the 'Use a different tool when' block explicitly names ibge_municipios and ibge_localidade, so an agent can distinguish it from siblings without reading schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit routing is provided: it says when to use this tool (decode a code at any level, resolve name→code) and when not to, naming two concrete alternatives plus the condition that selects each. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_indicadoresIndicadores econômicos e sociaisARead-onlyIdempotentInspect
Queries IBGE economic and social indicators.
Available indicators:
Economic:
pib: GDP at current prices
pib_variacao: GDP variation (%)
pib_per_capita: GDP per capita
industria: Industrial production
comercio: Retail sales
servicos: Services volume
Prices:
ipca: Monthly IPCA
ipca_acumulado: 12-month IPCA
inpc: Monthly INPC
Labor:
desemprego: Unemployment rate
ocupacao: Employed people
rendimento: Average income
informalidade: Informality rate
Population:
populacao: Population estimate
densidade: Population density
Examples:
GDP: indicador="pib"
IPCA last 12 months: indicador="ipca", periodos="last 12"
Unemployment by state: indicador="desemprego", nivel_territorial="3"
List indicators: indicador="listar"
Statistics mode: for largest/smallest/mean/median/distribution/ranking questions ("which state has the highest unemployment?", "median GDP per capita across states") use estatisticas=true — full distribution + top/bottom over ALL rows before truncation; agruparPor="" (e.g. "Unidade da Federação", "Trimestre") ranks groups by descending sum. In this mode campos/formato are ignored and registros comes empty.
Use a different tool when:
Comparing/ranking localities → ibge_comparar
Census themes → ibge_censo
One municipality's panel → ibge_cidades
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100) | |
| campos | No | Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta. | |
| formato | No | Formato de saída | tabela |
| periodos | No | Períodos (ex: '2023', 'last', 'last 4') | last |
| categoria | No | Filtrar por categoria de indicadores | |
| indicador | No | Nome do indicador (ex: "pib", "ipca", "desemprego", "populacao"). Use "listar" para ver todos os indicadores disponíveis. | |
| agruparPor | No | Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido | |
| localidades | No | Códigos das localidades ou 'all' | all |
| estatisticas | No | Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato | |
| nivel_territorial | No | Nível territorial (código N): 1=Brasil, 2=Região, 3=UF | 1 |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | No | Nome do indicador |
| tabela | No | Tabela SIDRA de origem |
| colunas | Yes | Rótulos das colunas, na ordem |
| indicador | No | Chave do indicador consultado |
| registros | Yes | Registros: cada um mapeia rótulo da coluna -> valor |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| estatisticas | No | Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo) |
| totalRegistros | Yes | Total de registros de dados |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description goes beyond by disclosing the transport ('a live GET against the public IBGE SIDRA API'), the return shape (Markdown plus typed structuredContent), and non-obvious mode behavior: statistics runs over ALL rows before truncation and causes campos/formato to be ignored while registros comes back empty.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded purpose, then logically sectioned indicator catalog, examples, statistics-mode rules, and routing guidance. The 15-item indicator list is long but each entry earns its place as the de facto enum for a free-form string parameter; overall structure is clean, slightly dense.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 10-parameter tool with an output schema present, the description carries the needed usage logic, mode semantics, and indicator catalog without redundantly explaining return values. An agent has everything required to select and invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: it enumerates the valid indicador values (pib, ipca, desemprego, populacao...) and the special 'listar' value, and explains how estatisticas interacts with agruparPor and topN. It does not, however, clarify categorias/localidades beyond what is implied.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Queries IBGE economic and social indicators') and enumerates the actual indicator families (economic, prices, labor, population), so an agent knows exactly what data it returns. It explicitly names the siblings it is NOT (ibge_comparar, ibge_censo, ibge_cidades), giving clear differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides a dedicated 'Use a different tool when' block routing four sibling scenarios to their alternatives, plus concrete call examples and a rule for when to enable statistics mode ('which state has the highest unemployment?'). The when-to-use boundaries are explicit rather than inferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_localidadeDetalhes de localidadeARead-onlyIdempotentInspect
Returns details of a specific locality by IBGE code.
Features:
State information (2-digit code)
Municipality information (7-digit code)
District information (9-digit code)
Complete hierarchy (region, mesoregion, microregion)
Examples:
São Paulo state: codigo=35
São Paulo city: codigo=3550308
District: codigo=355030805
This tool returns the full record of ONE locality you already have the code for. Use a different tool when:
You have a name and need the code → ibge_municipios (municipalities) or ibge_geocodigo (any level)
You want to decompose/understand a code's structure → ibge_geocodigo
Behavior: read-only and idempotent — a live GET against the public IBGE Localidades API. Returns a Markdown record.
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | No | Tipo da localidade. Se não informado, será inferido pelo tamanho do código. | |
| codigo | Yes | Código IBGE da localidade (estado: 2 dígitos, município: 7 dígitos, distrito: 9 dígitos) |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Código IBGE da localidade |
| nome | Yes | Nome da localidade |
| tipo | Yes | Tipo da localidade retornada |
| sigla | No | Sigla da UF (apenas para estados) |
| estado | No | Estado da localidade (município ou distrito) |
| regiao | No | Região do estado (apenas para estados) |
| municipio | No | Município ao qual o distrito pertence (apenas para distritos) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| mesorregiao | No | Mesorregião do município |
| microrregiao | No | Microrregião do município |
| regiaoImediata | No | Região imediata do município |
| regiaoIntermediaria | No | Região intermediária do município |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the description does not need to restate safety. It adds genuine value beyond them by naming the backing source ('live GET against the public IBGE Localidades API') and the return format ('Markdown record'). It does not mention any rate limits or auth requirements, which are minor for a public API.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the purpose, then organizes the remainder into labeled Features, Examples, When-to-use, and Behavior blocks. Every section is short and actionable; the concrete code examples partially duplicate the schema's digit-length note, but they remain useful for disambiguation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be enumerated; the description still notes the Markdown format. Combined with the hierarchy explanation, the code examples, and the sibling routing rules, an agent has everything needed to call this correctly for a three-level locality lookup.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema already documents both 'codigo' digit lengths and the 'tipo' enum with inference from code length, so the baseline is 3. The description's concrete examples (São Paulo state=35, city=3550308, district=355030805) add grounded meaning by mapping real entities onto the abstract code lengths, marginally exceeding the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Returns details of a specific locality by IBGE code') and immediately clarifies scope with the exact code lengths for state, municipality, and district levels. It explicitly distinguishes itself from siblings by name ('Use a different tool when... ibge_municipios or ibge_geocodigo'), so an agent can route correctly without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides an explicit selection condition ('returns the full record of ONE locality you already have the code for') and pairs it with two named alternatives for the opposite cases (having a name, wanting to decompose a code). This is textbook when-to-use / when-not-to-use guidance with named siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_malhasMalhas geográficasARead-onlyIdempotentInspect
Gets geographic meshes (maps) from IBGE in GeoJSON, TopoJSON, or SVG format.
Features:
Meshes for Brazil, regions, states, municipalities
Different resolution levels (internal divisions)
Different quality levels
Formats: GeoJSON (data), TopoJSON (compact), SVG (image)
Locality types:
"BR" or "1" = Entire Brazil
State abbreviation (e.g., "SP", "RJ")
State code (e.g., "35" for SP)
Municipality code (7 digits)
Resolution (internal divisions):
0 = Outline only
2 = States
5 = Municipalities
Examples:
Brazil with states: localidade="BR", resolucao="2"
São Paulo with municipalities: localidade="SP", resolucao="5"
SVG format: localidade="BR", formato="svg"
Use a different tool when:
Thematic meshes (biomes, Legal Amazon, semi-arid, metropolitan regions) → ibge_malhas_tema
Behavior: read-only and idempotent — a live GET against the public IBGE Malhas API. Returns the mesh in the requested format (GeoJSON, TopoJSON, or SVG).
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | No | Tipo de divisão territorial | |
| formato | No | Formato de saída (padrão: geojson) | geojson |
| qualidade | No | Qualidade do traçado: 'minima', 'intermediaria' ou 'maxima' (padrão). Os números 1–4 do IBGE antigo continuam aceitos e são traduzidos. | maxima |
| resolucao | No | Divisões internas a desenhar dentro da malha pedida: 0 = Sem divisões internas (só o contorno) 1 = Macrorregiões (apenas quando localidade=BR) 2 = Unidades da Federação (BR ou uma região) 3 = Mesorregiões 4 = Microrregiões 5 = Municípios Cada nível aceita só as divisões menores que ele: município aceita nenhuma, UF aceita 3, 4 e 5. | 0 |
| localidade | Yes | Código IBGE ou sigla da localidade (ex: 'BR', 'SP', '35', '3550308') | |
| intrarregiao | No | Divisão interna pelo nome, alternativa a resolucao: 'regiao', 'UF', 'regiao-intermediaria', 'regiao-imediata', 'mesorregiao', 'microrregiao' ou 'municipio'. Quando informado, prevalece sobre resolucao. |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | No | URL para download da malha completa |
| tipo | No | Tipo de divisão territorial, quando informado |
| formato | Yes | Formato de saída solicitado (geojson, topojson ou svg) |
| qualidade | No | Qualidade do traçado solicitada |
| resolucao | No | Resolução/divisões internas solicitada |
| localidade | Yes | Código IBGE ou sigla da localidade consultada |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| intrarregiao | No | Divisão interna desenhada dentro da malha (vocabulário da API v3) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description's 'read-only and idempotent' sentence largely repeats them. What it does add is the nature of the call — a live GET against the public IBGE Malhas API — which tells the agent data is fetched remotely rather than cached locally.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well front-loaded: purpose first, then features, locality types, resolution, examples, and sibling routing, all in scannable bullets. It loses a point because the resolution and format enumerations restate schema fields that already carry the same information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, the description need not explain return shapes, and annotations carry the safety profile. Given 6 parameters, one required, the description supplies locality coding, resolution levels, format choices, precedence-free guidance, and sibling routing — nothing needed to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3 and the schema already documents resolucao, qualidade, formato and intrarregiao. The description goes further by giving worked mappings ('BR' or '1' = Brazil, 'SP'/'35' = São Paulo, 7-digit municipality code) and example parameter combinations, which reduce ambiguity when constructing a call.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Gets geographic meshes (maps) from IBGE') and enumerates the scope it covers (Brazil, regions, states, municipalities; GeoJSON/TopoJSON/SVG). It also names the sibling it is not — ibge_malhas_tema for thematic meshes — so an agent can separate the two without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Contains an explicit 'Use a different tool when' block that routes thematic meshes (biomes, Legal Amazon, semi-arid, metropolitan regions) to ibge_malhas_tema, plus three concrete invocation examples. The condition that selects the alternative and the condition that selects this tool are both stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_malhas_temaMalhas temáticasARead-onlyIdempotentInspect
Lists what a THEMATIC territorial recorte of Brazil contains: how many features, with which codes and names, and the URL to download its geometry.
Available recortes:
biomas: the six continental biomes
amazonia_legal: Legal Amazon boundary
semiarido: semi-arid area
costeiro: coastal municipalities
fronteira: border-strip municipalities
metropolitana: metropolitan regions
ride: Integrated Development Regions
listar: the catalogue itself, without querying the source
Filtering with codigo: only the recortes that have a per-feature code accept it — biomas (the biome code) and the two municipality ones, costeiro and fronteira (the 7-digit IBGE municipality code). Ask without codigo to see what exists; biome codes come from the source, not from a fixed table.
GEOMETRY IS NOT IN THE RESPONSE, on purpose: one biome polygon alone is over 9 MB. The response carries the attributes plus a canonical WFS URL that returns the recorte with geometry in GeoJSON.
Use a different tool when:
Administrative meshes WITH geometry (country/region/state/municipality outlines) → ibge_malhas
Behavior: read-only and idempotent — a live GET against the public IBGE Geosserviços WFS (IBGE Geociências), which is a different service from the Malhas API and the only one that publishes these recortes. Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| tema | Yes | Recorte temático do território: - biomas: os seis biomas continentais - amazonia_legal: limite da Amazônia Legal - semiarido: área do semiárido - costeiro: municípios da zona costeira - fronteira: municípios da faixa de fronteira - metropolitana: regiões metropolitanas - ride: Regiões Integradas de Desenvolvimento - listar: lista os recortes disponíveis, sem consultar a fonte | |
| codigo | No | Filtra uma feição do recorte. Só os recortes que têm código próprio aceitam: biomas (cd_bioma, ex. "1") e os dois de municípios, costeiro e fronteira (código IBGE de 7 dígitos). Nos demais a chamada é recusada com a lista do que aceita. | |
| limite | No | Quantas feições trazer (padrão 50, máx. 600). O total do recorte vem sempre, mesmo quando o limite corta a lista. |
Output Schema
| Name | Required | Description |
|---|---|---|
| tema | Yes | Recorte solicitado (ou 'listar') |
| temas | No | Lista de recortes disponíveis (somente no modo 'listar') |
| camada | No | Camada WFS do IBGE Geosserviços consultada |
| codigo | No | Código usado como filtro, quando informado |
| feicoes | No | Total de feições do recorte na fonte |
| registros | No | Atributos de cada feição (sem geometria) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| url_geometria | No | URL canônica do WFS que devolve a malha COM geometria, em GeoJSON |
| feicoes_retornadas | No | Quantas vieram nesta resposta |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only, idempotent, open-world, non-destructive. The description adds substantial value beyond them: the design decision that geometry is deliberately excluded (with a concrete size at ~9 MB per biome polygon) and that a canonical WFS URL is returned instead, plus the detail that this hits the IBGE Geosserviços WFS rather than the Malhas API. It stops short of discussing rate limits or error behavior, so it is not a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core capability, then uses scannable sub-sections for recortes, filtering, and alternatives. It is on the longer side, but every section earns its place; the geometry rationale could be tightened slightly but is justified by the size figure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists and annotations carry the safety profile, the description completes the picture: it explains what the response contains, what is intentionally omitted (geometry), how to obtain geometry (WFS URL), which recortes accept codigo, and which sibling to use for administrative meshes. Nothing material to correct invocation is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents tema, codigo, limite and their enums/defaults/maxima. The description reinforces codigo semantics and explains the biome-code provenance ('biome codes come from the source, not from a fixed table'), but this is largely redundant with the schema – baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Lists what a THEMATIC territorial recorte of Brazil contains: how many features, with which codes and names, and the URL to download its geometry.' It also names the sibling it is not ('Administrative meshes WITH geometry → ibge_malhas'), so an agent can distinguish it from the similarly named ibge_malhas immediately.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'Use a different tool when' block explicitly routes administrative mesh requests to ibge_malhas, and the description explains the codigo filtering acceptance per recorte as well as when to call without codigo ('Ask without codigo to see what exists'). This is explicit when-to-use and when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_municipiosMunicípios do BrasilARead-onlyIdempotentInspect
Lists Brazilian municipalities from IBGE.
Features:
List municipalities by state (using state abbreviation)
List all municipalities in Brazil (5,570 municipalities)
Search by municipality name
Returns 7-digit IBGE code
Examples:
São Paulo municipalities: uf="SP"
Search by name: busca="Campinas"
MG municipalities containing "Belo": uf="MG", busca="Belo"
Use a different tool when:
Resolve/decode a code at any level (region, state, district), not just municipalities → ibge_geocodigo
Full details/hierarchy of one locality by code → ibge_localidade
Neighboring municipalities → ibge_vizinhos
Behavior: read-only and idempotent — a live GET against the public IBGE Localidades API. Returns a Markdown table.
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | Estado por sigla (SP), nome (São Paulo) ou código IBGE (35). Se não informado, retorna todos os municípios do Brasil. | |
| busca | No | Termo para buscar no nome do município | |
| limite | No | Número máximo de resultados (padrão: 100, máximo: 5570) |
Output Schema
| Name | Required | Description |
|---|---|---|
| uf | No | UF informada no filtro (como recebida na entrada) |
| busca | No | Termo de busca aplicado ao nome do município |
| total | Yes | Total de municípios encontrados antes do limite |
| municipios | Yes | Lista de municípios retornados (após filtro e limite) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description restates 'read-only and idempotent' and adds the live GET source and Markdown table output, which is useful context but largely redundant with annotations. Output schema exists, so no need to explain returns.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded purpose, then features, examples, and exclusions in labeled sections. Every line earns its place with no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for a read-only filtered-list tool: purpose, modes, examples, boundaries, behavior, and output shape all covered. An agent has everything needed to select and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value beyond the schema: concreteness of the 7-digit code result, the 5,570 total, and worked examples showing uf setup with busca combined. Marginal lift above schema alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Lists Brazilian municipalities from IBGE') and specifies the scope precisely (5,570 municipalities, 7-digit codes). It distinguishes itself from siblings ibge_geocodigo, ibge_localidade, and ibge_vizinhos with explicit routing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit 'Use a different tool when' section names three alternatives (geocodigo, localidade, vizinhos) and the exact conditions selecting each. Examples show the three main invocation modes. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_nomesFrequência e ranking de nomesARead-onlyIdempotentInspect
Queries name frequency and rankings in Brazil (IBGE).
Features:
Name frequency (tipo='frequencia'):
Birth frequency by decade
Multiple names separated by comma
Filter by sex and locality
Name ranking (tipo='ranking'):
Most popular names
Filter by decade, sex, and locality
Available decades: 1930-2010
Examples:
Frequency of "Maria": tipo="frequencia", nomes="Maria"
Compare names: tipo="frequencia", nomes="João,José,Pedro"
2000s ranking: tipo="ranking", decada=2000
Female names: tipo="ranking", sexo="F"
Behavior: read-only and idempotent — a live GET against the public IBGE Nomes (Censo) API. Returns a Markdown table.
| Name | Required | Description | Default |
|---|---|---|---|
| sexo | No | Filtrar por sexo: M (masculino) ou F (feminino) | |
| tipo | Yes | Tipo de consulta: 'frequencia' para buscar nomes específicos ou 'ranking' para ver os mais populares | |
| nomes | No | Para tipo='frequencia': Nome ou nomes separados por vírgula | |
| decada | No | Para tipo='ranking': Década do ranking (ex: 1990, 2000, 2010) | |
| limite | No | Para tipo='ranking': Número de nomes (padrão: 20) | |
| localidade | No | Código IBGE da localidade (UF: 2 dígitos, Município: 7 dígitos) |
Output Schema
| Name | Required | Description |
|---|---|---|
| tipo | Yes | Tipo da consulta realizada |
| ranking | No | Resultado do ranking (presente quando tipo='ranking') |
| frequencia | No | Resultados de frequência (presente quando tipo='frequencia') |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive, open-world, so the redundant 'read-only and idempotent' line earns nothing. However, the description adds genuinely new context: the live GET against the public IBGE Nomes (Censo) API, the Markdown-table return shape, and the 1930–2010 decade constraint that the schema does not state.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded one-line summary followed by numbered features, examples, and a behavior note — well organized and scannable. Minor waste from the read-only/idempotent sentence duplicating annotations and some repeated param hints, but nothing egregious.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be detailed beyond the Markdown-table note. Both query modes, their required inputs, and the decade range are covered, making the definition sufficient for correct invocation; only minor edge cases (e.g., locality code validation) are left implicit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the schema already documents each parameter and even tags them by tipo ('Para tipo=frequencia', 'Para tipo=ranking'), including comma-separated names and the limit default. The description largely restates those bindings and the decade example list, adding only the 1930–2010 range, so the baseline 3 is correct.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Queries name frequency and rankings in Brazil (IBGE)') and enumerates the two distinct query modes. The resource is unique among the ibge_* siblings, so an agent can immediately tell this tool apart from geography/indicator/calendar tools without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The feature breakdown plus four worked examples make the when-to-use for each mode (tipo='frequencia' vs tipo='ranking') unambiguous. It does not name or exclude any sibling alternative, and gives no explicit when-not-to-use, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_noticiasNotícias do IBGEARead-onlyIdempotentInspect
Searches and lists already-published IBGE news articles and press releases.
Use this to find recent IBGE publications or announcements about a survey or topic — when an indicator was released, or news mentioning a term like "censo". Results are sorted newest-first; with no parameters it returns the 10 most recent items.
Parameters:
busca: free-text term to match (e.g. "PIB", "censo")
tipo: "release" (official publication of survey results) or "noticia" (general news); omit for both
de / ate: date range, format DD/MM/AAAA (e.g. de="01/01/2024", ate="31/12/2024")
destaque: true to return only featured items
quantidade: how many to return (default 10, max 100); pagina: page number to page through more
Each item returns: title, type (release/news), publication date, editoria (section), related products/surveys, a featured flag, a plain-text summary, and a link to the full article. The header reports the total count and current page.
Examples:
Latest 10 news: (no parameters)
Search census: busca="censo"
2024 news: de="01/01/2024", ate="31/12/2024"
Releases only: tipo="release"
Use a different tool when:
Scheduled/upcoming release dates (not yet published) → ibge_calendario
Behavior: read-only and idempotent — a live GET against the public IBGE Notícias API. Returns a Markdown list.
| Name | Required | Description | Default |
|---|---|---|---|
| de | No | Data inicial no formato DD/MM/AAAA (ex: 01/01/2024) | |
| ate | No | Data final no formato DD/MM/AAAA (ex: 31/12/2024) | |
| tipo | No | Tipo de publicação: 'release' ou 'noticia' | |
| busca | No | Termo para buscar nas notícias | |
| pagina | No | Número da página para paginação | |
| destaque | No | Filtrar apenas notícias em destaque | |
| quantidade | No | Quantidade de notícias a retornar (padrão: 10, máximo: 100) |
Output Schema
| Name | Required | Description |
|---|---|---|
| busca | No | Termo de busca aplicado, se houver |
| total | Yes | Total de notícias encontradas na consulta |
| pagina | Yes | Página atual |
| noticias | Yes | Lista de notícias retornadas |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| totalPaginas | Yes | Número total de páginas |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover the safety profile (readOnly, idempotent, non-destructive, openWorld), but the description adds real behavior: newest-first sorting, default 10 with no params, max 100, pagination via pagina, and a live GET returning Markdown. It slightly restates 'read-only and idempotent' already in annotations, but the added operational detail is substantive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose, then parameters, examples, and routing in clearly delimited sections. Slightly long with some redundancy (return-field list overlaps the output schema), but every section is scannable and earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for a zero-required-param search tool: coverage of all 7 params, default/pagination behavior, enum meaning, invocation examples, and sibling routing. The output schema exists, yet the description still conveniently summarizes returned fields without it being necessary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3, but the description genuinely extends meaning: it clarifies that tipo='release' is an official survey publication vs 'noticia' general news and that omitting returns both, and adds the DD/MM/AAAA format with examples beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource: 'Searches and lists already-published IBGE news articles and press releases.' It also distinguishes itself from the sibling ibge_calendario by scoping to already-published content, so an agent can tell them apart without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use it ('find recent IBGE publications or announcements... when an indicator was released') and names the alternative with the disambiguating condition: scheduled/upcoming releases route to ibge_calendario. Includes concrete invocation examples.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_paisesDados de paísesARead-onlyIdempotentInspect
Queries international country data via IBGE.
Features:
List all countries (following UN M49 methodology)
Country details (area, languages, currency, location)
Search countries by name
Filter by region/continent
Available regions: americas, europa, africa, asia, oceania
Country codes: Use ISO-ALPHA-2 (e.g., BR, US, AR, PT, JP)
Examples:
List all: tipo="listar"
Brazil details: tipo="detalhes", pais="BR"
Search: tipo="buscar", busca="Argentina"
Americas countries: tipo="listar", regiao="americas"
Available indicators: tipo="indicadores"
Behavior: read-only and idempotent — a live GET against the public IBGE Países API. Returns Markdown.
| Name | Required | Description | Default |
|---|---|---|---|
| pais | No | Código ISO-ALPHA-2 do país (ex: BR, US, AR) ou código M49 | |
| tipo | No | Tipo de consulta: listar (todos), detalhes (de um país), indicadores, buscar | listar |
| busca | No | Termo de busca para filtrar países pelo nome | |
| regiao | No | Filtrar por região/continente: americas, europa, africa, asia, oceania | |
| indicadores | No | IDs dos indicadores separados por | (ex: 77819|77820) |
Output Schema
| Name | Required | Description |
|---|---|---|
| pais | No | Detalhes de um país específico (modo detalhes) |
| tipo | Yes | Modo de consulta que originou este resultado |
| busca | No | Termo de busca aplicado, se houver |
| total | No | Total de países encontrados (modos listar/buscar) |
| paises | No | Lista de países (modos listar/buscar). Limitada aos 50 primeiros na exibição |
| regiao | No | Filtro de região/continente aplicado, se houver |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| indicadores | No | Indicadores disponíveis para consulta de países (modo indicadores) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the description's 'read-only and idempotent' is largely redundant; however it adds genuinely new context — a live GET against the public IBGE Países API and Markdown output format. That is useful beyond the structured fields, though it omits any auth/rate-limit notes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with a one-line purpose, then feature bullets, region/code conventions, examples, and behavior — highly scannable. Slightly verbose, and the 'Available indicators: tipo="indicadores"' example is a bit misleading since indicator IDs go in a separate parameter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, return values need not be explained, and the description still covers all five parameters, valid enum values, code formats, and invocation examples. The only small gap is the ambiguity between the indicators enumeration and the indicadores parameter.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so parameter docs are already complete; the description still adds value by listing the valid region values, prescribing ISO-ALPHA-2 codes with examples (BR, US, AR, PT, JP), and demonstrating how parameters combine per operation. It only marginally clarifies how the 'indicadores' parameter relates to tipo='indicadores'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (queries international country data via IBGE) and enumerates the concrete operations: list, details, search, filter by region. The word 'international' implicitly separates it from the Brazilian-scoped siblings (ibge_estados, ibge_cidades, ibge_municipios, ibge_localidade), so an agent can route correctly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The Examples block gives a use pattern for each mode (listar, detalhes, buscar, listar+regiao, indicadores), which effectively says when to combine which parameters. It does not name a sibling alternative or an explicit 'do not use this for X' exclusion, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_pesquisasPesquisas do IBGEARead-onlyIdempotentInspect
Lists available IBGE surveys and their tables.
Features:
List all IBGE surveys (Census, PNAD, GDP, etc.)
Search by name or code
Show details and tables of a specific survey
Categorize surveys by theme
Main surveys:
Census: Demographic, Agricultural, MUNIC
PNAD Contínua: Employment, income, education
National Accounts: GDP, investments
Economic Surveys: Industry, Commerce, Services
Price Indices: IPCA, INPC
Examples:
List all: (no parameters)
Search population: busca="população"
PNAD details: detalhes="pnad"
This lists surveys, not data. To find table codes use ibge_sidra_tabelas; to query data use ibge_sidra (or a wrapper: ibge_censo, ibge_indicadores, ibge_comparar, ibge_cidades).
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA/Pesquisas API. Returns a Markdown list.
| Name | Required | Description | Default |
|---|---|---|---|
| busca | No | Termo para buscar no nome ou ID da pesquisa | |
| detalhes | No | Código da pesquisa para ver detalhes e tabelas disponíveis |
Output Schema
| Name | Required | Description |
|---|---|---|
| modo | Yes | Modo de consulta que originou este resultado: lista de pesquisas ou detalhes de uma |
| busca | No | Termo de busca aplicado, se houver (modo lista) |
| total | No | Total de pesquisas encontradas (modo lista) |
| pesquisa | No | Detalhes de uma pesquisa específica (modo detalhes) |
| pesquisas | No | Lista de pesquisas (modo lista) |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the description's restatement of 'read-only and idempotent' earns no credit. It does add that this is a live GET against the public IBGE SIDRA/Pesquisas API, which clarifies the network dependency, but says nothing about rate limits, failures, or empty-result behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose and the sibling routing sentence, then structured into Features/Main surveys/Examples/Behavior. The 'Main surveys' catalog is domain-flavored filler that lengthens the definition without changing how the tool is called, keeping this short of a 5.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-value detail is unnecessary. Between purpose, explicit sibling alternatives, parameter examples, and the domain framing of survey families, an agent has everything needed to select and invoke this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description goes beyond that by showing the intended shape of each argument in context (busca="população" for name search, detalhes="pnad" for a survey's tables), which clarifies that detalhes takes a survey code rather than an arbitrary string.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Lists available IBGE surveys and their tables') and immediately disambiguates from siblings with 'This lists surveys, not data.' The agent knows exactly what this tool returns versus ibge_sidra and ibge_sidra_tabelas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly routes to alternatives: ibge_sidra_tabelas for table codes, ibge_sidra or the named wrappers for data. The Examples block maps each parameter mode (none, busca, detalhes) to a concrete intent, so when-to-use is fully specified.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_sidraConsulta de tabelas SIDRAARead-onlyIdempotentInspect
Queries SIDRA tables (IBGE's Automatic Recovery System).
SIDRA contains data from IBGE surveys like Census, PNAD, GDP, etc.
Common tables:
6579: Population estimates (annual)
9514: Census 2022 population
200: Census population (1970-2010)
4714: Population, territorial area and density (Census 2022)
4099: Unemployment rate (PNAD Contínua, quarterly)
5436: Average real income (PNAD Contínua, quarterly)
6706: GDP at current prices
5938: GDP per capita
Territorial levels:
1: Brazil
2: Region (North, Northeast, etc.)
3: State (UF)
6: Municipality
7: Metropolitan Region
Examples:
Brazil population 2023: tabela="6579", periodos="2023"
Population by state: tabela="6579", nivel_territorial="3"
Census 2022 by municipality: tabela="9514", nivel_territorial="6", localidades="3550308"
Statistics mode: for largest/smallest/mean/median/distribution/ranking questions ("which municipality has the largest population?", "median GDP by state") use estatisticas=true — it computes min/max/mean/median/std-dev/labeled percentiles over ALL data rows BEFORE pagination and returns top/bottom rankings (default 10, cap 100 via topN), so one call answers what would otherwise require paging thousands of records. With agruparPor="" (e.g. "Unidade da Federação", "Ano") it ranks groups by descending sum, each with its own mini-distribution. Queries mixing several variables auto-group by "Variável" (units differ). SIDRA absence markers ("-", "..", "...", "X") are excluded from n. In this mode pagina/campos/formato are ignored and registros comes empty. Very large queries are refused by the source (since 2026-09-16 SIDRA tables are read through the Aggregates API, whose ceiling is lower than SIDRA's old 100,000-value cap: all municipalities × 12 yearly periods fails, × 8 works) — narrow periodos (e.g. "last 4") or raise nivel_territorial.
ibge_sidra is the low-level engine. Prefer a friendlier wrapper when it fits:
Census themes (1970–2022) → ibge_censo
Economic/social time series → ibge_indicadores
Rank/compare 2–10 localities → ibge_comparar
One municipality's panel → ibge_cidades Use ibge_sidra_tabelas and ibge_sidra_metadados to find a table code and its structure before querying.
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns Markdown plus a typed structuredContent payload.
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100) | |
| campos | No | Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta. Omitir traz todas. | |
| pagina | No | Página de resultados (100 registros por página) | |
| tabela | Yes | Código da tabela SIDRA (ex: 6579 para estimativas de população, 9514 para censo 2022) | |
| formato | No | Formato de saída: 'json' para dados brutos ou 'tabela' para formato legível | tabela |
| periodos | No | Períodos: 'last' para último, 'all' para todos, ou anos específicos (ex: 2020,2021,2022) | last |
| variaveis | No | IDs das variáveis separados por vírgula, ou 'allxp' para todas | allxp |
| agruparPor | No | Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido | |
| localidades | No | Códigos das localidades separados por vírgula, ou 'all' para todas | all |
| estatisticas | No | Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato | |
| classificacoes | No | Classificações no formato 'id[categorias]' (ex: '2[6794]' para sexo masculino) | |
| nivel_territorial | No | Nível territorial (código N): 1=Brasil, 2=Região, 3=UF, 6=Município, 7=Região Metropolitana, 8=Mesorregião, 9=Microrregião, 10=Distrito, 11=Subdistrito, 13=RM/RIDE, 14=RIDE, 15=Aglomeração Urbana, 17=Região Geográfica Imediata, 18=Região Geográfica Intermediária, 105=Macrorregião de Saúde, 106=Região de Saúde, 114=Aglomerado Subnormal, 127=Amazônia Legal, 128=Semiárido | 1 |
Output Schema
| Name | Required | Description |
|---|---|---|
| nome | Yes | Nome da tabela (quando conhecido) |
| tabela | Yes | Código da tabela SIDRA consultada |
| colunas | Yes | Rótulos das colunas, na ordem |
| paginacao | Yes | Metadados de paginação para continuação |
| registros | Yes | Registros da página atual: cada um mapeia rótulo da coluna -> valor |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| estatisticas | No | Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo) |
| totalRegistros | Yes | Total de registros de dados disponíveis (todas as páginas) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds substantial behavioral context beyond those: it specifies it is a 'live GET against the public IBGE SIDRA API', mentions the return format ('Markdown plus a typed structuredContent payload'), explains that statistics mode ignores pagina/campos/formato, and discloses that SIDRA absence markers are excluded and that very large queries are refused due to the Aggregates API ceiling. This is rich behavioral disclosure with no contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but well-structured: it front-loads the core purpose, then uses labeled sections for common tables, territorial levels, examples, statistics mode, and sibling guidance. Every sentence earns its place—even the long statistics section is necessary for a complex feature. It is slightly verbose (e.g., repeating the Aggregates API ceiling note) but remains organized and scannable, so a 4 is appropriate rather than a 5.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 12 parameters, 1 required, and an output schema present, this description is nearly exhaustive. It covers common usage patterns, edge cases (statistics mode ignoring some params, large query limits), how to discover table codes and metadata, and how to disambiguate from sibling tools. The output schema handles return-value details, so nothing essential is missing for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description goes far beyond: it provides a curated list of common table codes with meanings, explains territorial level codes, gives concrete examples for each parameter, details the statistics mode and agruparPor resolution behavior (including refusal for ambiguous labels), and explains that topN caps at 100. This adds practical semantics that the schema alone does not convey.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear verb+resource statement: 'Queries SIDRA tables (IBGE's Automatic Recovery System).' It further distinguishes itself from siblings by explicitly naming ibge_censo, ibge_indicadores, ibge_comparar, and ibge_cidades as friendlier wrappers for specific use cases, and references ibge_sidra_tabelas and ibge_sidra_metadados as lookup tools. This leaves no ambiguity about what the tool does and how it differs from the others.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives explicit guidance on when to use this low-level engine vs. alternative tools ('Prefer a friendlier wrapper when it fits: Census themes → ibge_censo, Economic/social time series → ibge_indicadores, Rank/compare 2–10 localities → ibge_comparar, One municipality's panel → ibge_cidades'). It also explains the statistics mode for ranking/distribution questions and warns about the Aggregates API ceiling, telling the user to narrow periods or raise territorial level. This is explicit when/when-not guidance with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_sidra_metadadosMetadados de tabela SIDRAARead-onlyIdempotentInspect
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.
| 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 |
|---|---|---|
| url | No | URL da tabela no SIDRA |
| nome | Yes | Nome da tabela |
| codigo | Yes | Código da tabela/agregado SIDRA |
| assunto | No | Assunto/tema da tabela |
| periodos | No | Períodos disponíveis para a tabela (quando incluir_periodos) |
| pesquisa | No | Nome da pesquisa de origem |
| variaveis | No | Variáveis da tabela, com unidades e classificações/categorias |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
| periodicidade | No | Periodicidade da pesquisa |
| niveisTerritoriais | No | Níveis territoriais disponíveis para a tabela |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false, but the description goes further by explaining the mechanism: 'a live GET against the public IBGE SIDRA API' and specifying the return format is Markdown. This adds context beyond the structured hints about how and where the call executes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the purpose, followed by a scannable bullet list of returned fields, usage guidance, and concrete examples. The examples with real table codes are useful, though the list of features is somewhat verbose since the output schema likely covers some of it.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists, the description doesn't need to explain return values in detail, yet it still provides helpful categories and example table codes. Combined with explicit routing to sibling tools and API behavior, an agent has everything needed to invoke and interpret this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all three parameters including defaults. The description lists metadata categories that map to the optional flags (periods, territorial levels) but does not add syntax or format details beyond the schema's own descriptions. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States the specific verb and resource ('Returns metadata for a specific SIDRA table') and enumerates the metadata fields returned. It clearly distinguishes itself from the sibling data-query tool ibge_sidra and the table-search tool ibge_sidra_tabelas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit routing: 'Use this after finding a table code (ibge_sidra_tabelas) and before querying with ibge_sidra.' Both prerequisite and follow-up tools are named, and the 'BEFORE querying data' condition is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_sidra_tabelasBusca de tabelas SIDRAARead-onlyIdempotentInspect
Lists and searches available SIDRA tables.
Features:
List all SIDRA tables (aggregates)
Search by table name
Filter by survey (Census, PNAD, GDP, etc.)
Shows code and name of each table
SIDRA contains data from various surveys:
Demographic Census
PNAD Contínua (employment, income)
National Accounts (GDP)
Industrial Survey
Agricultural Survey
Examples:
List tables: (no parameters)
Search population tables: busca="população"
Census tables: pesquisa="censo"
This is step 1 of the SIDRA workflow: find a table code → ibge_sidra_metadados (structure) → ibge_sidra (query). For common data, a wrapper is usually easier: ibge_censo, ibge_indicadores, ibge_comparar, ibge_cidades.
Behavior: read-only and idempotent — a live GET against the public IBGE SIDRA API. Returns a Markdown table.
| Name | Required | Description | Default |
|---|---|---|---|
| busca | No | Termo para buscar no nome das tabelas/agregados | |
| limite | No | Número máximo de resultados (padrão: 20) | |
| pesquisa | No | Filtrar por código ou nome da pesquisa (ex: 'censo', 'pnad', 'pib') |
Output Schema
| Name | Required | Description |
|---|---|---|
| busca | No | Termo de busca aplicado, se houver |
| total | Yes | Total de tabelas que correspondem aos critérios |
| tabelas | Yes | Lista de tabelas SIDRA retornadas |
| pesquisa | No | Filtro de pesquisa aplicado, se houver |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds useful context beyond them: it is a live GET against the public IBGE SIDRA API and returns a Markdown table, which tells the agent what kind of call and response to expect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose, then features, examples, workflow routing and behavior — each block is scannable. There is mild redundancy between the 'Filter by survey (Census, PNAD, GDP, etc.)' bullet and the later survey list, but no sentence is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema present, the description needn't explain return values, and it doesn't. Given 3 fully documented optional params, rich annotations, and numerous sibling tools, it supplies everything needed: purpose, filtering options, workflow placement, alternatives, and call behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description goes modestly beyond by enumerating the surveys behind 'pesquisa' (Demographic Census, PNAD Contínua, National Accounts/GDP, Industrial, Agricultural), which helps the agent pick valid filter terms, plus example calls pairing busca and pesquisa.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('Lists and searches available SIDRA tables') and immediately scopes what a SIDRA table is. It explicitly positions itself against siblings, naming ibge_sidra_metadados and ibge_sidra as the next workflow steps and the ibge_censo/ibge_indicadores wrappers as alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use context ('step 1 of the SIDRA workflow: find a table code → ibge_sidra_metadados → ibge_sidra') and names the alternative path for common data ('a wrapper is usually easier: ibge_censo, ibge_indicadores...'). Concrete invocation examples (no params, busca='população', pesquisa='censo') remove remaining ambiguity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ibge_vizinhosMunicípios vizinhosARead-onlyIdempotentInspect
Finds nearby/neighboring municipalities.
Features:
Search by IBGE code (7 digits) or municipality name
Returns municipalities in the same mesoregion (proximity approximation)
Optionally includes population data
Note: Uses mesoregion as geographic proximity proxy. For exact spatial neighborhood, mesh processing would be required.
Examples:
By code: municipio="3550308"
By name: municipio="Campinas", uf="SP"
With population: municipio="3550308", incluir_dados=true
Note: proximity is approximated by shared mesoregion (not exact spatial adjacency). For listing/searching municipalities, use ibge_municipios.
Behavior: read-only and idempotent — a live GET against the public IBGE Localidades API. Returns a Markdown list.
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | Estado por sigla (SP), nome (São Paulo) ou código IBGE (35) — obrigatório se usar nome do município | |
| raio | No | Raio em km para buscar municípios próximos (usa centróides) | |
| municipio | Yes | Código IBGE do município (7 dígitos) ou nome do município | |
| incluir_dados | No | Incluir dados populacionais dos vizinhos |
Output Schema
| Name | Required | Description |
|---|---|---|
| total | Yes | Quantidade de municípios próximos encontrados |
| vizinhos | Yes | Lista de municípios próximos (mesma mesorregião) |
| municipio | Yes | Município de referência da consulta |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is free. The description adds real value beyond that: it discloses the mesoregion-based proximity approximation, the exact-adjacency limitation, and that it returns a Markdown list.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the purpose well, but the mesoregion-proximity caveat is repeated three separate times ('same mesoregion (proximity approximation)', 'Uses mesoregion as geographic proximity proxy', 'proximity is approximated by shared mesoregion'), which is redundant padding in an otherwise structured block.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only lookup tool with a rich schema and an output schema, the definition is nearly complete: it explains inputs, the approximation model, and the return format. The only meaningful gap is the unaddressed 'raio' parameter, whose centroid-radius semantics sit awkwardly beside the mesoregion-proxy claim.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all four parameters; baseline is 3. The description adds code format (7 digits) and name/uf pairing, but never mentions the 'raio' (radius in km) parameter, which is the one parameter whose semantics most conflict with the mesoregion-proximity framing.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Finds nearby/neighboring municipalities') and explicitly distinguishes itself from the sibling ibge_municipios ('For listing/searching municipalities, use ibge_municipios'). An agent can identify the tool's role without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides concrete usage examples (by code, by name+uf, with population) and routes a different task to ibge_municipios. It lacks an explicit statement of when NOT to use it beyond the approximation caveat, but the context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
searchBusca para Deep ResearchARead-onlyIdempotentInspect
Searches the IBGE (Brazilian official statistics: SIDRA tables, municipalities, known indicators) catalog and returns up to 10 matching documents as { id, title, url }, ordered by relevance (an empty list means nothing matched).
This tool exists for the OpenAI Deep Research contract: ChatGPT deep research, company knowledge and research workflows over the Responses API require exactly the tools search and fetch. Pass one of the returned ids to fetch to read the document.
For direct questions and for data (values, series, rankings) prefer the ibge_* tools (ibge_sidra, ibge_cidades, ibge_indicadores, ibge_comparar…), which return the actual data with provenance — this is a catalog index, not a data query.
Query: natural language or keywords, Portuguese or English; accents and case are ignored.
Behavior: read-only and idempotent — the catalog comes from the public source and is cached in memory.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Termos de busca em linguagem natural ou palavras-chave (acentos e caixa são ignorados) |
Output Schema
| Name | Required | Description |
|---|---|---|
| results | Yes | Documentos encontrados, em ordem de relevância |
| provenance | Yes | Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença |
| attribution | Yes | URLs canônicas das fontes desta resposta (lista de atribuição) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description adds valuable behavior beyond these: returns at most 10 results, empty list means no match, relevance ordering, language handling, caching, and the linkage to fetch. This contextual information helps the agent anticipate outcomes and error cases.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average but every paragraph earns its place: core purpose, tool contract context, alternative routing, query semantics, and behavior. The primary search behavior is front-loaded in the first sentence. Slight redundancy exists between the schema and the Query line, but overall it is well organized and scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is complete for a search/catalog tool of this complexity. It covers what is searched, output shape and limits, relevance ordering, empty results semantics, query language details, read-only/idempotent behavior, and how to follow up with fetch. An output schema exists, so return values need no further explanation, and all necessary agent guidance is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema already describes the query parameter as natural language/keywords with accents and case ignored. The description adds the meaningful extra detail that the query may be in Portuguese or English, which goes beyond the schema. This justifies a score above the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Searches the IBGE catalog' and explicitly defines the output as 'up to 10 matching documents as { id, title, url }, ordered by relevance'. It also distinguishes itself from siblings by labeling itself a 'catalog index, not a data query', which disambiguates it from the data-returning ibge_* tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit routing guidance: 'For direct questions and for data (values, series, rankings) prefer the ibge_* tools...' and 'Pass one of the returned ids to fetch to read the document.' It clearly states when to use this tool versus alternatives and names the relevant sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
21 tool updates
v5.0.0- Changed
ibge_calendario1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_censo2 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / agruparPor / descriptionPrevious value: -"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição"New value: +"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido"
- Changed
ibge_cidades1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_cnae1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_comparar1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_datasaude2 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / agruparPor / descriptionPrevious value: -"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição"New value: +"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido"
- Changed
ibge_estados1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_geocodigo1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_indicadores2 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / agruparPor / descriptionPrevious value: -"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição"New value: +"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido"
- Changed
ibge_localidade1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_malhas8 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / intrarregiao / descriptionPrevious value: -"Código de região para filtrar (apenas quando localidade=BR)"New value: +"Divisão interna pelo nome, alternativa a resolucao: 'regiao', 'UF', 'regiao-intermediaria', 'regiao-imediata', 'mesorregiao', 'microrregiao' ou 'municipio'. Quando informado, prevalece sobre resolucao." - changed
Input schema / properties / qualidade / defaultPrevious value: -"4"New value: +"maxima" - changed
Input schema / properties / qualidade / descriptionPrevious value: -"Qualidade do traçado: 1=mínima, 2=baixa, 3=intermediária, 4=máxima"New value: +"Qualidade do traçado: 'minima', 'intermediaria' ou 'maxima' (padrão). Os números 1–4 do IBGE antigo continuam aceitos e são traduzidos." - changed
Input schema / properties / qualidade / enumPrevious value: -[ - "1", - "2", - "3", - "4" -]New value: +[ + "1", + "2", + "3", + "4", + "minima", + "intermediaria", + "maxima" +] - changed
Input schema / properties / resolucao / descriptionPrevious value: -"Resolução/divisões internas:\n0 = Sem divisões internas\n1 = Macrorregiões (apenas para BR)\n2 = Unidades da Federação\n3 = Mesorregiões\n4 = Microrregiões\n5 = Municípios"New value: +"Divisões internas a desenhar dentro da malha pedida:\n0 = Sem divisões internas (só o contorno)\n1 = Macrorregiões (apenas quando localidade=BR)\n2 = Unidades da Federação (BR ou uma região)\n3 = Mesorregiões\n4 = Microrregiões\n5 = Municípios\nCada nível aceita só as divisões menores que ele: município aceita nenhuma, UF aceita 3, 4 e 5." - changed
Input schema / properties / tipo / enumPrevious value: -[ - "paises", - "regioes", - "estados", - "mesorregioes", - "microrregioes", - "municipios", - "distritos", - "regioes-imediatas", - "regioes-intermediarias" -]New value: +[ + "paises", + "regioes", + "estados", + "mesorregioes", + "microrregioes", + "municipios", + "regioes-imediatas", + "regioes-intermediarias" +] - changed
Output schema / properties / intrarregiao / descriptionPrevious value: -"Código de região usado para filtrar (apenas quando localidade=BR)"New value: +"Divisão interna desenhada dentro da malha (vocabulário da API v3)"
- Changed
ibge_malhas_tema20 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / codigo / descriptionPrevious value: -"Código específico do tema (ex: código do bioma, da região metropolitana)"New value: +"Filtra uma feição do recorte. Só os recortes que têm código próprio aceitam: biomas (cd_bioma, ex. \"1\") e os dois de municípios, costeiro e fronteira (código IBGE de 7 dígitos). Nos demais a chamada é recusada com a lista do que aceita." - removed
Input schema / properties / formatoRemoved value: -{ - "default": "geojson", - "description": "Formato de saída", - "enum": [ - "geojson", - "topojson", - "svg" - ], - "type": "string" -} - added
Input schema / properties / limiteAdded value: +{ + "default": 50, + "description": "Quantas feições trazer (padrão 50, máx. 600). O total do recorte vem sempre, mesmo quando o limite corta a lista.", + "maximum": 600, + "minimum": 1, + "type": "integer" +} - removed
Input schema / properties / qualidadeRemoved value: -{ - "default": "4", - "description": "Qualidade do traçado: 1=mínima, 4=máxima", - "enum": [ - "1", - "2", - "3", - "4" - ], - "type": "string" -} - removed
Input schema / properties / resolucaoRemoved value: -{ - "default": "0", - "description": "0 = Apenas contorno, 5 = Com municípios", - "enum": [ - "0", - "5" - ], - "type": "string" -} - changed
Input schema / properties / tema / descriptionPrevious value: -"Tema da malha:\n- biomas: Biomas brasileiros (Amazônia, Cerrado, etc.)\n- amazonia_legal: Área da Amazônia Legal\n- semiarido: Região do semiárido\n- costeiro: Zona costeira\n- fronteira: Faixa de fronteira\n- metropolitana: Regiões metropolitanas\n- ride: Regiões Integradas de Desenvolvimento\n- listar: Lista temas disponíveis"New value: +"Recorte temático do território:\n- biomas: os seis biomas continentais\n- amazonia_legal: limite da Amazônia Legal\n- semiarido: área do semiárido\n- costeiro: municípios da zona costeira\n- fronteira: municípios da faixa de fronteira\n- metropolitana: regiões metropolitanas\n- ride: Regiões Integradas de Desenvolvimento\n- listar: lista os recortes disponíveis, sem consultar a fonte" - added
Output schema / properties / camadaAdded value: +{ + "description": "Camada WFS do IBGE Geosserviços consultada", + "type": "string" +} - changed
Output schema / properties / codigo / descriptionPrevious value: -"Código específico do tema, quando informado"New value: +"Código usado como filtro, quando informado" - added
Output schema / properties / feicoesAdded value: +{ + "description": "Total de feições do recorte na fonte", + "type": "number" +} - added
Output schema / properties / feicoes_retornadasAdded value: +{ + "description": "Quantas vieram nesta resposta", + "type": "number" +} - removed
Output schema / properties / formatoRemoved value: -{ - "description": "Formato de saída (geojson, topojson, svg)", - "type": "string" -} - added
Output schema / properties / registrosAdded value: +{ + "description": "Atributos de cada feição (sem geometria)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" +} - removed
Output schema / properties / resolucaoRemoved value: -{ - "description": "Resolução da malha (0 = contorno, 5 = com municípios)", - "type": "string" -} - changed
Output schema / properties / tema / descriptionPrevious value: -"Tema da malha solicitada (ou 'listar')"New value: +"Recorte solicitado (ou 'listar')" - changed
Output schema / properties / temas / descriptionPrevious value: -"Lista de temas disponíveis (somente no modo 'listar')"New value: +"Lista de recortes disponíveis (somente no modo 'listar')" - changed
Output schema / properties / temas / items / properties / descricao / descriptionPrevious value: -"Descrição do tema"New value: +"Descrição do recorte" - changed
Output schema / properties / temas / items / properties / nome / descriptionPrevious value: -"Nome do tema"New value: +"Nome do recorte" - changed
Output schema / properties / temas / items / properties / tema / descriptionPrevious value: -"Identificador do tema"New value: +"Identificador do recorte" - added
Output schema / properties / url_geometriaAdded value: +{ + "description": "URL canônica do WFS que devolve a malha COM geometria, em GeoJSON", + "type": "string" +}
- Changed
ibge_municipios1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_nomes1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_noticias1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_paises1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_pesquisas1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_sidra2 fields changed- added
Input schema / additionalPropertiesAdded value: +false - changed
Input schema / properties / agruparPor / descriptionPrevious value: -"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição"New value: +"Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição. Nome curto ('UF', 'estado', 'cidade', 'região') e rótulo parcial ('Federação') são resolvidos, e a resposta diz em `aviso` por qual coluna agrupou; rótulo que casa com duas colunas é recusado em vez de escolhido"
- Changed
ibge_sidra_metadados1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_sidra_tabelas1 field changed- added
Input schema / additionalPropertiesAdded value: +false
- Changed
ibge_vizinhos1 field changed- added
Input schema / additionalPropertiesAdded value: +false
2 tool updates
v4.3.0- Added
fetch - Added
search
22 tool updates
v4.0.0- Changed
ibge_calendario4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_censo4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_cidades4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_cnae4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_comparar6 fields changed- changed
Input schema / properties / indicador / descriptionPrevious value: -"Indicador para comparação:\n- populacao: Estimativa populacional atual\n- populacao_censo: População do Censo 2022\n- pib: PIB per capita\n- area: Área territorial (km²)\n- densidade: Densidade demográfica (hab/km²)\n- alfabetizacao: Taxa de alfabetização\n- domicilios: Número de domicílios\n- listar: Lista indicadores disponíveis"New value: +"Indicador para comparação:\n- populacao: Estimativa populacional atual\n- populacao_censo: População do Censo 2022\n- pib: PIB a preços correntes (Mil Reais)\n- area: Área territorial (km²)\n- densidade: Densidade demográfica (hab/km²)\n- alfabetizacao: Taxa de alfabetização\n- domicilios: Número de domicílios\n- listar: Lista indicadores disponíveis" - changed
Output schema / properties / localidades / items / properties / valor / typePrevious value: -"number"New value: +[ + "number", + "null" +] - removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_datasaude5 fields changed- changed
Input schema / properties / indicador / descriptionPrevious value: -"Indicador de saúde. Disponíveis:\n- mortalidade_infantil: Taxa de mortalidade infantil\n- esperanca_vida: Esperança de vida ao nascer\n- nascidos_vivos: Nascidos vivos\n- obitos: Óbitos por local de residência\n- obitos_causas: Óbitos por causas (CID-10)\n- fecundidade: Taxa de fecundidade\n- saneamento_agua: Abastecimento de água\n- saneamento_esgoto: Esgotamento sanitário\n- plano_saude: Cobertura de plano de saúde\n- listar: Lista indicadores disponíveis"New value: +"Indicador de saúde. Disponíveis:\n- mortalidade_infantil: Taxa de mortalidade infantil\n- esperanca_vida: Esperança de vida ao nascer\n- nascidos_vivos: Nascidos vivos\n- obitos: Óbitos por local de residência\n- fecundidade: Taxa de fecundidade\n- saneamento_agua: Abastecimento de água\n- saneamento_esgoto: Esgotamento sanitário\n- plano_saude: Cobertura de plano de saúde\n- listar: Lista indicadores disponíveis" - removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_estados4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_geocodigo4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_indicadores4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_localidade4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_malhas4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_malhas_tema4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_municipios4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_nomes8 fields changed- removed
Output schema / properties / frequencia / items / properties / sexo / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / frequencia / items / properties / sexo / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / ranking / properties / sexo / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / ranking / properties / sexo / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_noticias4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_paises4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_pesquisas4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Removed
ibge_populacao - Changed
ibge_sidra4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_sidra_metadados4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_sidra_tabelas4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
- Changed
ibge_vizinhos4 fields changed- removed
Output schema / properties / provenance / properties / data_vintage / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / data_vintage / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / provenance / properties / license / anyOfRemoved value: -[ - { - "type": "string" - }, - { - "type": "null" - } -] - added
Output schema / properties / provenance / properties / license / typeAdded value: +[ + "string", + "null" +]
22 tool updates
v3.3.0- Changed
ibge_calendario6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "eventos", - "total" -]New value: +[ + "eventos", + "total", + "provenance", + "attribution" +]
- Changed
ibge_censo11 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / agruparPorAdded value: +{ + "description": "Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição", + "type": "string" +} - added
Input schema / properties / estatisticasAdded value: +{ + "default": false, + "description": "Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato", + "type": "boolean" +} - added
Input schema / properties / topNAdded value: +{ + "default": 10, + "description": "Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100)", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / estatisticasAdded value: +{ + "additionalProperties": false, + "description": "Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo)", + "properties": { + "agrupadoPor": { + "description": "Rótulo da coluna de agrupamento (com agruparPor)", + "type": "string" + }, + "aviso": { + "description": "Avisos sobre agrupamento automático, mistura de unidades ou truncamento", + "type": "string" + }, + "bottom": { + "description": "Menores valores (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "colunaValor": { + "description": "Rótulo da coluna numérica analisada (sempre 'Valor' no SIDRA)", + "type": "string" + }, + "distribuicao": { + "additionalProperties": false, + "description": "Distribuição do conjunto inteiro (sem agruparPor)", + "properties": { + "desvioPadrao": { + "type": "number" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis" + ], + "type": "object" + }, + "grupos": { + "description": "Grupos ordenados por soma decrescente, cada um com sua mini-distribuição (com agruparPor)", + "items": { + "additionalProperties": false, + "properties": { + "desvioPadrao": { + "type": "number" + }, + "grupo": { + "type": "string" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis", + "grupo" + ], + "type": "object" + }, + "type": "array" + }, + "registrosConsiderados": { + "description": "Registros com valor numérico (contam no n)", + "type": "number" + }, + "registrosSemValor": { + "description": "Registros excluídos por marcador de ausência SIDRA ('-', '..', '...', 'X') ou valor não numérico", + "type": "number" + }, + "top": { + "description": "Maiores valores, com as colunas de identificação do registro (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "totalGrupos": { + "description": "Total de grupos existentes antes do teto (com agruparPor)", + "type": "number" + } + }, + "required": [ + "colunaValor", + "registrosConsiderados", + "registrosSemValor" + ], + "type": "object" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - added
Output schema / properties / registros / items / propertyNamesAdded value: +{ + "type": "string" +} - changed
Output schema / requiredPrevious value: -[ - "totalRegistros", - "colunas", - "registros" -]New value: +[ + "totalRegistros", + "colunas", + "registros", + "provenance", + "attribution" +]
- Changed
ibge_cidades6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tipo", - "indicadores" -]New value: +[ + "tipo", + "indicadores", + "provenance", + "attribution" +]
- Changed
ibge_cnae6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "modo" -]New value: +[ + "modo", + "provenance", + "attribution" +]
- Changed
ibge_comparar6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "localidades" -]New value: +[ + "localidades", + "provenance", + "attribution" +]
- Changed
ibge_datasaude11 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / agruparPorAdded value: +{ + "description": "Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição", + "type": "string" +} - added
Input schema / properties / estatisticasAdded value: +{ + "default": false, + "description": "Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato", + "type": "boolean" +} - added
Input schema / properties / topNAdded value: +{ + "default": 10, + "description": "Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100)", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / estatisticasAdded value: +{ + "additionalProperties": false, + "description": "Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo)", + "properties": { + "agrupadoPor": { + "description": "Rótulo da coluna de agrupamento (com agruparPor)", + "type": "string" + }, + "aviso": { + "description": "Avisos sobre agrupamento automático, mistura de unidades ou truncamento", + "type": "string" + }, + "bottom": { + "description": "Menores valores (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "colunaValor": { + "description": "Rótulo da coluna numérica analisada (sempre 'Valor' no SIDRA)", + "type": "string" + }, + "distribuicao": { + "additionalProperties": false, + "description": "Distribuição do conjunto inteiro (sem agruparPor)", + "properties": { + "desvioPadrao": { + "type": "number" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis" + ], + "type": "object" + }, + "grupos": { + "description": "Grupos ordenados por soma decrescente, cada um com sua mini-distribuição (com agruparPor)", + "items": { + "additionalProperties": false, + "properties": { + "desvioPadrao": { + "type": "number" + }, + "grupo": { + "type": "string" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis", + "grupo" + ], + "type": "object" + }, + "type": "array" + }, + "registrosConsiderados": { + "description": "Registros com valor numérico (contam no n)", + "type": "number" + }, + "registrosSemValor": { + "description": "Registros excluídos por marcador de ausência SIDRA ('-', '..', '...', 'X') ou valor não numérico", + "type": "number" + }, + "top": { + "description": "Maiores valores, com as colunas de identificação do registro (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "totalGrupos": { + "description": "Total de grupos existentes antes do teto (com agruparPor)", + "type": "number" + } + }, + "required": [ + "colunaValor", + "registrosConsiderados", + "registrosSemValor" + ], + "type": "object" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - added
Output schema / properties / registros / items / propertyNamesAdded value: +{ + "type": "string" +} - changed
Output schema / requiredPrevious value: -[ - "totalRegistros", - "colunas", - "registros" -]New value: +[ + "totalRegistros", + "colunas", + "registros", + "provenance", + "attribution" +]
- Changed
ibge_estados6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "estados", - "total" -]New value: +[ + "estados", + "total", + "provenance", + "attribution" +]
- Changed
ibge_geocodigo6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tipo" -]New value: +[ + "tipo", + "provenance", + "attribution" +]
- Changed
ibge_indicadores11 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / agruparPorAdded value: +{ + "description": "Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição", + "type": "string" +} - added
Input schema / properties / estatisticasAdded value: +{ + "default": false, + "description": "Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato", + "type": "boolean" +} - added
Input schema / properties / topNAdded value: +{ + "default": 10, + "description": "Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100)", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / estatisticasAdded value: +{ + "additionalProperties": false, + "description": "Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo)", + "properties": { + "agrupadoPor": { + "description": "Rótulo da coluna de agrupamento (com agruparPor)", + "type": "string" + }, + "aviso": { + "description": "Avisos sobre agrupamento automático, mistura de unidades ou truncamento", + "type": "string" + }, + "bottom": { + "description": "Menores valores (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "colunaValor": { + "description": "Rótulo da coluna numérica analisada (sempre 'Valor' no SIDRA)", + "type": "string" + }, + "distribuicao": { + "additionalProperties": false, + "description": "Distribuição do conjunto inteiro (sem agruparPor)", + "properties": { + "desvioPadrao": { + "type": "number" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis" + ], + "type": "object" + }, + "grupos": { + "description": "Grupos ordenados por soma decrescente, cada um com sua mini-distribuição (com agruparPor)", + "items": { + "additionalProperties": false, + "properties": { + "desvioPadrao": { + "type": "number" + }, + "grupo": { + "type": "string" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis", + "grupo" + ], + "type": "object" + }, + "type": "array" + }, + "registrosConsiderados": { + "description": "Registros com valor numérico (contam no n)", + "type": "number" + }, + "registrosSemValor": { + "description": "Registros excluídos por marcador de ausência SIDRA ('-', '..', '...', 'X') ou valor não numérico", + "type": "number" + }, + "top": { + "description": "Maiores valores, com as colunas de identificação do registro (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "totalGrupos": { + "description": "Total de grupos existentes antes do teto (com agruparPor)", + "type": "number" + } + }, + "required": [ + "colunaValor", + "registrosConsiderados", + "registrosSemValor" + ], + "type": "object" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - added
Output schema / properties / registros / items / propertyNamesAdded value: +{ + "type": "string" +} - changed
Output schema / requiredPrevious value: -[ - "totalRegistros", - "colunas", - "registros" -]New value: +[ + "totalRegistros", + "colunas", + "registros", + "provenance", + "attribution" +]
- Changed
ibge_localidade6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tipo", - "id", - "nome" -]New value: +[ + "tipo", + "id", + "nome", + "provenance", + "attribution" +]
- Changed
ibge_malhas6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "localidade", - "formato" -]New value: +[ + "localidade", + "formato", + "provenance", + "attribution" +]
- Changed
ibge_malhas_tema6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tema" -]New value: +[ + "tema", + "provenance", + "attribution" +]
- Changed
ibge_municipios6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "municipios", - "total" -]New value: +[ + "municipios", + "total", + "provenance", + "attribution" +]
- Changed
ibge_nomes10 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / frequencia / items / properties / sexo / anyOfAdded value: +[ + { + "type": "string" + }, + { + "type": "null" + } +] - removed
Output schema / properties / frequencia / items / properties / sexo / typeRemoved value: -[ - "string", - "null" -] - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - added
Output schema / properties / ranking / properties / sexo / anyOfAdded value: +[ + { + "type": "string" + }, + { + "type": "null" + } +] - removed
Output schema / properties / ranking / properties / sexo / typeRemoved value: -[ - "string", - "null" -] - changed
Output schema / requiredPrevious value: -[ - "tipo" -]New value: +[ + "tipo", + "provenance", + "attribution" +]
- Changed
ibge_noticias6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "noticias", - "total", - "pagina", - "totalPaginas" -]New value: +[ + "noticias", + "total", + "pagina", + "totalPaginas", + "provenance", + "attribution" +]
- Changed
ibge_paises6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tipo" -]New value: +[ + "tipo", + "provenance", + "attribution" +]
- Changed
ibge_pesquisas6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "modo" -]New value: +[ + "modo", + "provenance", + "attribution" +]
- Changed
ibge_populacao6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "localidade", - "horario", - "populacao", - "periodoMedio" -]New value: +[ + "localidade", + "horario", + "populacao", + "periodoMedio", + "provenance", + "attribution" +]
- Changed
ibge_sidra12 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / agruparPorAdded value: +{ + "description": "Com estatisticas=true, agrupa pela coluna informada (rótulo, ex: 'Unidade da Federação', 'Ano') e ranqueia os grupos por soma decrescente (grupos[0] = maior total), cada grupo com sua mini-distribuição", + "type": "string" +} - added
Input schema / properties / estatisticasAdded value: +{ + "default": false, + "description": "Computa estatísticas (mínimo/máximo/média/mediana/desvio-padrão/percentis) sobre TODOS os registros da consulta, antes da paginação, + ranking top/bottom. Use para 'qual o maior/menor', 'média', 'mediana', 'distribuição', 'ranking'. Quando true, ignora pagina, campos e formato", + "type": "boolean" +} - added
Input schema / properties / pagina / maximumAdded value: +9007199254740991 - added
Input schema / properties / topNAdded value: +{ + "default": 10, + "description": "Tamanho das listas top/bottom quando estatisticas=true sem agruparPor (padrão: 10, máx: 100)", + "maximum": 100, + "minimum": 1, + "type": "integer" +} - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / estatisticasAdded value: +{ + "additionalProperties": false, + "description": "Bloco estatístico presente quando estatisticas=true (registros vem vazio nesse modo)", + "properties": { + "agrupadoPor": { + "description": "Rótulo da coluna de agrupamento (com agruparPor)", + "type": "string" + }, + "aviso": { + "description": "Avisos sobre agrupamento automático, mistura de unidades ou truncamento", + "type": "string" + }, + "bottom": { + "description": "Menores valores (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "colunaValor": { + "description": "Rótulo da coluna numérica analisada (sempre 'Valor' no SIDRA)", + "type": "string" + }, + "distribuicao": { + "additionalProperties": false, + "description": "Distribuição do conjunto inteiro (sem agruparPor)", + "properties": { + "desvioPadrao": { + "type": "number" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis" + ], + "type": "object" + }, + "grupos": { + "description": "Grupos ordenados por soma decrescente, cada um com sua mini-distribuição (com agruparPor)", + "items": { + "additionalProperties": false, + "properties": { + "desvioPadrao": { + "type": "number" + }, + "grupo": { + "type": "string" + }, + "maximo": { + "type": "number" + }, + "media": { + "type": "number" + }, + "mediana": { + "type": "number" + }, + "minimo": { + "type": "number" + }, + "n": { + "description": "Registros com valor numérico considerados", + "type": "number" + }, + "percentis": { + "items": { + "additionalProperties": false, + "properties": { + "percentil": { + "description": "Percentil (50 = mediana)", + "type": "number" + }, + "rotulo": { + "description": "Enunciado por extenso, pronto para citar ao leitor", + "type": "string" + }, + "valor": { + "type": "number" + } + }, + "required": [ + "percentil", + "valor", + "rotulo" + ], + "type": "object" + }, + "type": "array" + }, + "soma": { + "type": "number" + } + }, + "required": [ + "n", + "soma", + "minimo", + "maximo", + "media", + "mediana", + "desvioPadrao", + "percentis", + "grupo" + ], + "type": "object" + }, + "type": "array" + }, + "registrosConsiderados": { + "description": "Registros com valor numérico (contam no n)", + "type": "number" + }, + "registrosSemValor": { + "description": "Registros excluídos por marcador de ausência SIDRA ('-', '..', '...', 'X') ou valor não numérico", + "type": "number" + }, + "top": { + "description": "Maiores valores, com as colunas de identificação do registro (sem agruparPor)", + "items": { + "additionalProperties": {}, + "propertyNames": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "totalGrupos": { + "description": "Total de grupos existentes antes do teto (com agruparPor)", + "type": "number" + } + }, + "required": [ + "colunaValor", + "registrosConsiderados", + "registrosSemValor" + ], + "type": "object" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - added
Output schema / properties / registros / items / propertyNamesAdded value: +{ + "type": "string" +} - changed
Output schema / requiredPrevious value: -[ - "tabela", - "nome", - "totalRegistros", - "colunas", - "registros", - "paginacao" -]New value: +[ + "tabela", + "nome", + "totalRegistros", + "colunas", + "registros", + "paginacao", + "provenance", + "attribution" +]
- Changed
ibge_sidra_metadados6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "codigo", - "nome" -]New value: +[ + "codigo", + "nome", + "provenance", + "attribution" +]
- Changed
ibge_sidra_tabelas6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "tabelas", - "total" -]New value: +[ + "tabelas", + "total", + "provenance", + "attribution" +]
- Changed
ibge_vizinhos6 fields changed- changed
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - removed
Input schema / additionalPropertiesRemoved value: -false - changed
Output schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema" - added
Output schema / properties / attributionAdded value: +{ + "description": "URLs canônicas das fontes desta resposta (lista de atribuição)", + "items": { + "type": "string" + }, + "type": "array" +} - added
Output schema / properties / provenanceAdded value: +{ + "additionalProperties": false, + "description": "Bloco de proveniência (contrato v1.0): fonte, URL, período, extração e licença", + "properties": { + "citation": { + "description": "Citação pronta para uso", + "type": "string" + }, + "data_vintage": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Período de referência do dado segundo a fonte; null se a fonte não expõe" + }, + "license": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Regime legal do dado" + }, + "retrieved_at": { + "description": "Instante real da extração no upstream (ISO-8601, horário de Brasília)", + "type": "string" + }, + "source": { + "description": "Fonte oficial do dado (API do IBGE consultada)", + "type": "string" + }, + "source_url": { + "description": "URL canônica que reproduz a consulta", + "type": "string" + } + }, + "required": [ + "source", + "source_url", + "data_vintage", + "retrieved_at", + "citation", + "license" + ], + "type": "object" +} - changed
Output schema / requiredPrevious value: -[ - "municipio", - "vizinhos", - "total" -]New value: +[ + "municipio", + "vizinhos", + "total", + "provenance", + "attribution" +]
24 tool updates
v3.0.0- Removed
bcb - Removed
datasaude - Changed
ibge_calendario3 fields changed- changed
Input schema / properties / ate / descriptionPrevious value: -"Data final no formato MM-DD-AAAA (ex: '12-31-2024')"New value: +"Data final no formato DD/MM/AAAA (ex: '31/12/2024')" - changed
Input schema / properties / de / descriptionPrevious value: -"Data inicial no formato MM-DD-AAAA (ex: '01-01-2024')"New value: +"Data inicial no formato DD/MM/AAAA (ex: '01/01/2024')" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "eventos": { + "description": "Lista de eventos do calendário (divulgações/coletas)", + "items": { + "additionalProperties": false, + "properties": { + "dataDivulgacao": { + "description": "Data/hora de divulgação no formato 'DD/MM/AAAA HH:MM:SS'", + "type": "string" + }, + "id": { + "description": "Identificador do evento no calendário", + "type": "number" + }, + "link": { + "description": "Link para mais informações, quando disponível", + "type": "string" + }, + "produto": { + "description": "Nome do produto/pesquisa associado", + "type": "string" + }, + "tipo": { + "description": "Descrição do tipo do evento", + "type": "string" + }, + "tipoId": { + "description": "ID do tipo (1 = divulgação, 2 = coleta)", + "type": "number" + }, + "titulo": { + "description": "Título do evento", + "type": "string" + } + }, + "required": [ + "id", + "titulo", + "produto", + "dataDivulgacao", + "tipoId", + "tipo" + ], + "type": "object" + }, + "type": "array" + }, + "pagina": { + "description": "Página atual retornada", + "type": "number" + }, + "produto": { + "description": "Filtro de produto aplicado, quando informado", + "type": "string" + }, + "total": { + "description": "Total de eventos disponíveis para os critérios", + "type": "number" + }, + "totalPaginas": { + "description": "Total de páginas disponíveis", + "type": "number" + } + }, + "required": [ + "eventos", + "total" + ], + "type": "object" +}
- Changed
ibge_censo3 fields changed- added
Input schema / properties / camposAdded value: +{ + "description": "Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta.", + "type": "string" +} - changed
Input schema / properties / nivel_territorial / descriptionPrevious value: -"Nível territorial: 1=Brasil, 2=Região, 3=UF, 6=Município"New value: +"Nível territorial (código N): 1=Brasil, 2=Região, 3=UF, 6=Município" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "ano": { + "description": "Ano(s) de referência", + "type": "string" + }, + "colunas": { + "description": "Rótulos das colunas, na ordem", + "items": { + "type": "string" + }, + "type": "array" + }, + "descricao": { + "description": "Descrição da tabela", + "type": "string" + }, + "registros": { + "description": "Registros: cada um mapeia rótulo da coluna -> valor", + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "tabela": { + "description": "Tabela SIDRA de origem", + "type": "string" + }, + "tema": { + "description": "Tema do censo consultado", + "type": "string" + }, + "totalRegistros": { + "description": "Total de registros de dados", + "type": "number" + } + }, + "required": [ + "totalRegistros", + "colunas", + "registros" + ], + "type": "object" +}
- Changed
ibge_cidades1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "indicadores": { + "description": "Indicadores retornados (vazio para respostas de catálogo)", + "items": { + "additionalProperties": false, + "properties": { + "ano": { + "type": "string" + }, + "nome": { + "type": "string" + }, + "valor": { + "type": "string" + } + }, + "required": [ + "nome", + "valor" + ], + "type": "object" + }, + "type": "array" + }, + "municipio": { + "description": "Código IBGE do município", + "type": "string" + }, + "nome": { + "description": "Nome do município/indicador", + "type": "string" + }, + "tipo": { + "description": "Tipo de consulta (panorama, indicador, pesquisas, historico)", + "type": "string" + } + }, + "required": [ + "tipo", + "indicadores" + ], + "type": "object" +}
- Changed
ibge_cnae1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "additionalProperties": false, + "description": "Presente no modo de busca por termo", + "properties": { + "nivel": { + "description": "Nível hierárquico pesquisado (ex: subclasses, classes)", + "type": "string" + }, + "resultados": { + "description": "Atividades encontradas para o termo", + "items": { + "additionalProperties": false, + "properties": { + "descricao": { + "description": "Descrição da atividade", + "type": "string" + }, + "id": { + "description": "Código CNAE da atividade", + "type": "string" + } + }, + "required": [ + "id", + "descricao" + ], + "type": "object" + }, + "type": "array" + }, + "termo": { + "description": "Termo pesquisado", + "type": "string" + }, + "total": { + "description": "Quantidade de resultados retornados", + "type": "number" + } + }, + "required": [ + "termo", + "nivel", + "total", + "resultados" + ], + "type": "object" + }, + "codigo": { + "additionalProperties": false, + "description": "Presente no modo de consulta por código", + "properties": { + "descricao": { + "description": "Descrição do código", + "type": "string" + }, + "hierarquia": { + "description": "Cadeia hierárquica do código (do mais geral ao mais específico)", + "items": { + "additionalProperties": false, + "properties": { + "descricao": { + "description": "Descrição do nível", + "type": "string" + }, + "id": { + "description": "Código do nível", + "type": "string" + }, + "nivel": { + "description": "Nível hierárquico (Seção, Divisão, Grupo, Classe, Subclasse)", + "type": "string" + } + }, + "required": [ + "nivel", + "id", + "descricao" + ], + "type": "object" + }, + "type": "array" + }, + "id": { + "description": "Código CNAE consultado", + "type": "string" + }, + "nivel": { + "description": "Nível do código (secao, divisao, grupo, classe ou subclasse)", + "type": "string" + }, + "observacoes": { + "description": "Observações/notas explicativas do código", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "id", + "descricao", + "nivel" + ], + "type": "object" + }, + "lista": { + "additionalProperties": false, + "description": "Presente no modo de listagem por nível", + "properties": { + "exibidos": { + "description": "Quantidade de registros exibidos (limitada por 'limite')", + "type": "number" + }, + "nivel": { + "description": "Nível hierárquico listado", + "type": "string" + }, + "registros": { + "description": "Registros do nível listado", + "items": { + "additionalProperties": false, + "properties": { + "descricao": { + "description": "Descrição do registro", + "type": "string" + }, + "id": { + "description": "Código CNAE do registro", + "type": "string" + } + }, + "required": [ + "id", + "descricao" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "description": "Total de registros existentes no nível", + "type": "number" + } + }, + "required": [ + "nivel", + "total", + "exibidos", + "registros" + ], + "type": "object" + }, + "modo": { + "description": "Modo de resposta que gerou os dados", + "enum": [ + "busca", + "codigo", + "lista", + "estrutura" + ], + "type": "string" + } + }, + "required": [ + "modo" + ], + "type": "object" +}
- Changed
ibge_comparar1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "estatisticas": { + "additionalProperties": false, + "description": "Estatísticas agregadas (quando há ao menos 2 valores positivos)", + "properties": { + "maior": { + "type": "number" + }, + "media": { + "type": "number" + }, + "menor": { + "type": "number" + }, + "variacaoPct": { + "type": "number" + } + }, + "required": [ + "maior", + "menor", + "media", + "variacaoPct" + ], + "type": "object" + }, + "formato": { + "description": "Formato solicitado", + "type": "string" + }, + "indicador": { + "description": "Indicador comparado", + "type": "string" + }, + "localidades": { + "description": "Localidades comparadas, com o valor do indicador", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "type": "string" + }, + "nome": { + "type": "string" + }, + "valor": { + "type": "number" + }, + "valorTexto": { + "type": "string" + } + }, + "required": [ + "codigo", + "nome", + "valor", + "valorTexto" + ], + "type": "object" + }, + "type": "array" + }, + "nome": { + "description": "Nome do indicador", + "type": "string" + }, + "tabela": { + "description": "Tabela SIDRA de origem", + "type": "string" + } + }, + "required": [ + "localidades" + ], + "type": "object" +}
- Added
ibge_datasaude - Changed
ibge_estados1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "estados": { + "description": "Lista de estados", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código IBGE do estado", + "type": "number" + }, + "nome": { + "description": "Nome do estado", + "type": "string" + }, + "regiao": { + "description": "Nome da região", + "type": "string" + }, + "sigla": { + "description": "Sigla da UF", + "type": "string" + } + }, + "required": [ + "id", + "sigla", + "nome", + "regiao" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "description": "Total de estados retornados", + "type": "number" + } + }, + "required": [ + "estados", + "total" + ], + "type": "object" +}
- Changed
ibge_geocodigo2 fields changed- changed
Input schema / properties / uf / descriptionPrevious value: -"Sigla da UF para restringir a busca por nome de município"New value: +"Estado por sigla (SP), nome (São Paulo) ou código IBGE (35) para restringir a busca por nome de município" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código IBGE da localidade resolvida (ausente em resultados do tipo lista)", + "type": "number" + }, + "codigoSidra": { + "description": "Código SIDRA de 6 dígitos do município (apenas tipo municipio)", + "type": "string" + }, + "estados": { + "description": "Estados pertencentes à região (apenas tipo regiao)", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código IBGE da UF", + "type": "number" + }, + "nome": { + "description": "Nome da UF", + "type": "string" + }, + "sigla": { + "description": "Sigla da UF", + "type": "string" + } + }, + "required": [ + "codigo", + "sigla", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "hierarquia": { + "description": "Hierarquia geográfica completa, da região ao município/distrito (tipo municipio/distrito)", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código IBGE do nível", + "type": "number" + }, + "nivel": { + "description": "Nome do nível territorial (Região, UF, Município, etc.)", + "type": "string" + }, + "nome": { + "description": "Nome da localidade neste nível", + "type": "string" + } + }, + "required": [ + "nivel", + "codigo", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "matches": { + "description": "Municípios encontrados na busca por nome (apenas tipo lista)", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código IBGE (7 dígitos) do município", + "type": "number" + }, + "nome": { + "description": "Nome do município", + "type": "string" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "nome": { + "description": "Nome da localidade resolvida", + "type": "string" + }, + "regiao": { + "description": "Nome da região à qual a UF pertence (apenas tipo uf)", + "type": "string" + }, + "regiaoCodigo": { + "description": "Código IBGE da região à qual a UF pertence (apenas tipo uf)", + "type": "number" + }, + "sigla": { + "description": "Sigla da região ou UF, quando aplicável", + "type": "string" + }, + "tipo": { + "description": "Tipo do resultado: localidade decodificada (regiao/uf/municipio/distrito) ou lista de municípios encontrados (lista)", + "enum": [ + "regiao", + "uf", + "municipio", + "distrito", + "lista" + ], + "type": "string" + }, + "total": { + "description": "Quantidade de municípios encontrados na busca por nome (apenas tipo lista)", + "type": "number" + } + }, + "required": [ + "tipo" + ], + "type": "object" +}
- Changed
ibge_indicadores3 fields changed- added
Input schema / properties / camposAdded value: +{ + "description": "Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta.", + "type": "string" +} - changed
Input schema / properties / nivel_territorial / descriptionPrevious value: -"Nível territorial: 1=Brasil, 2=Região, 3=UF"New value: +"Nível territorial (código N): 1=Brasil, 2=Região, 3=UF" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "colunas": { + "description": "Rótulos das colunas, na ordem", + "items": { + "type": "string" + }, + "type": "array" + }, + "indicador": { + "description": "Chave do indicador consultado", + "type": "string" + }, + "nome": { + "description": "Nome do indicador", + "type": "string" + }, + "registros": { + "description": "Registros: cada um mapeia rótulo da coluna -> valor", + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "tabela": { + "description": "Tabela SIDRA de origem", + "type": "string" + }, + "totalRegistros": { + "description": "Total de registros de dados", + "type": "number" + } + }, + "required": [ + "totalRegistros", + "colunas", + "registros" + ], + "type": "object" +}
- Changed
ibge_localidade1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "estado": { + "additionalProperties": false, + "description": "Estado da localidade (município ou distrito)", + "properties": { + "id": { + "description": "Código IBGE do estado", + "type": "number" + }, + "nome": { + "description": "Nome do estado", + "type": "string" + }, + "sigla": { + "description": "Sigla da UF", + "type": "string" + } + }, + "required": [ + "id", + "sigla", + "nome" + ], + "type": "object" + }, + "id": { + "description": "Código IBGE da localidade", + "type": "number" + }, + "mesorregiao": { + "additionalProperties": false, + "description": "Mesorregião do município", + "properties": { + "id": { + "description": "Código IBGE da mesorregião", + "type": "number" + }, + "nome": { + "description": "Nome da mesorregião", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "microrregiao": { + "additionalProperties": false, + "description": "Microrregião do município", + "properties": { + "id": { + "description": "Código IBGE da microrregião", + "type": "number" + }, + "nome": { + "description": "Nome da microrregião", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "municipio": { + "additionalProperties": false, + "description": "Município ao qual o distrito pertence (apenas para distritos)", + "properties": { + "id": { + "description": "Código IBGE do município", + "type": "number" + }, + "nome": { + "description": "Nome do município", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "nome": { + "description": "Nome da localidade", + "type": "string" + }, + "regiao": { + "additionalProperties": false, + "description": "Região do estado (apenas para estados)", + "properties": { + "id": { + "description": "Código IBGE da região", + "type": "number" + }, + "nome": { + "description": "Nome da região", + "type": "string" + }, + "sigla": { + "description": "Sigla da região", + "type": "string" + } + }, + "required": [ + "id", + "sigla", + "nome" + ], + "type": "object" + }, + "regiaoImediata": { + "additionalProperties": false, + "description": "Região imediata do município", + "properties": { + "id": { + "description": "Código IBGE da região imediata", + "type": "number" + }, + "nome": { + "description": "Nome da região imediata", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "regiaoIntermediaria": { + "additionalProperties": false, + "description": "Região intermediária do município", + "properties": { + "id": { + "description": "Código IBGE da região intermediária", + "type": "number" + }, + "nome": { + "description": "Nome da região intermediária", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "sigla": { + "description": "Sigla da UF (apenas para estados)", + "type": "string" + }, + "tipo": { + "description": "Tipo da localidade retornada", + "enum": [ + "estado", + "municipio", + "distrito" + ], + "type": "string" + } + }, + "required": [ + "tipo", + "id", + "nome" + ], + "type": "object" +}
- Changed
ibge_malhas1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "formato": { + "description": "Formato de saída solicitado (geojson, topojson ou svg)", + "type": "string" + }, + "intrarregiao": { + "description": "Código de região usado para filtrar (apenas quando localidade=BR)", + "type": "string" + }, + "localidade": { + "description": "Código IBGE ou sigla da localidade consultada", + "type": "string" + }, + "qualidade": { + "description": "Qualidade do traçado solicitada", + "type": "string" + }, + "resolucao": { + "description": "Resolução/divisões internas solicitada", + "type": "string" + }, + "tipo": { + "description": "Tipo de divisão territorial, quando informado", + "type": "string" + }, + "url": { + "description": "URL para download da malha completa", + "type": "string" + } + }, + "required": [ + "localidade", + "formato" + ], + "type": "object" +}
- Changed
ibge_malhas_tema1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código específico do tema, quando informado", + "type": "string" + }, + "formato": { + "description": "Formato de saída (geojson, topojson, svg)", + "type": "string" + }, + "resolucao": { + "description": "Resolução da malha (0 = contorno, 5 = com municípios)", + "type": "string" + }, + "tema": { + "description": "Tema da malha solicitada (ou 'listar')", + "type": "string" + }, + "temas": { + "description": "Lista de temas disponíveis (somente no modo 'listar')", + "items": { + "additionalProperties": false, + "properties": { + "descricao": { + "description": "Descrição do tema", + "type": "string" + }, + "nome": { + "description": "Nome do tema", + "type": "string" + }, + "tema": { + "description": "Identificador do tema", + "type": "string" + } + }, + "required": [ + "tema", + "nome", + "descricao" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "tema" + ], + "type": "object" +}
- Changed
ibge_municipios4 fields changed- changed
Input schema / properties / uf / descriptionPrevious value: -"Sigla do estado (ex: SP, RJ, MG). Se não informado, retorna todos os municípios do Brasil."New value: +"Estado por sigla (SP), nome (São Paulo) ou código IBGE (35). Se não informado, retorna todos os municípios do Brasil." - removed
Input schema / properties / uf / maxLengthRemoved value: -2 - removed
Input schema / properties / uf / minLengthRemoved value: -2 - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "description": "Termo de busca aplicado ao nome do município", + "type": "string" + }, + "municipios": { + "description": "Lista de municípios retornados (após filtro e limite)", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código IBGE do município", + "type": "number" + }, + "nome": { + "description": "Nome do município", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "description": "Total de municípios encontrados antes do limite", + "type": "number" + }, + "uf": { + "description": "UF informada no filtro (como recebida na entrada)", + "type": "string" + } + }, + "required": [ + "municipios", + "total" + ], + "type": "object" +}
- Changed
ibge_nomes1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "frequencia": { + "description": "Resultados de frequência (presente quando tipo='frequencia')", + "items": { + "additionalProperties": false, + "properties": { + "localidade": { + "description": "Código IBGE da localidade (ou BR para Brasil)", + "type": "string" + }, + "nome": { + "description": "Nome consultado", + "type": "string" + }, + "periodos": { + "description": "Frequência do nome por período", + "items": { + "additionalProperties": false, + "properties": { + "frequencia": { + "description": "Frequência de registros do nome no período", + "type": "number" + }, + "periodo": { + "description": "Período/década (ex: '1930[', '1990,2000[')", + "type": "string" + } + }, + "required": [ + "periodo", + "frequencia" + ], + "type": "object" + }, + "type": "array" + }, + "sexo": { + "description": "Sexo do nome: M, F ou nulo", + "type": [ + "string", + "null" + ] + }, + "total": { + "description": "Soma das frequências de todos os períodos", + "type": "number" + } + }, + "required": [ + "nome", + "localidade", + "periodos", + "total" + ], + "type": "object" + }, + "type": "array" + }, + "ranking": { + "additionalProperties": false, + "description": "Resultado do ranking (presente quando tipo='ranking')", + "properties": { + "decada": { + "description": "Década do ranking, quando informada", + "type": "number" + }, + "itens": { + "description": "Itens do ranking, limitados pelo parâmetro 'limite'", + "items": { + "additionalProperties": false, + "properties": { + "frequencia": { + "description": "Frequência de registros do nome", + "type": "number" + }, + "nome": { + "description": "Nome", + "type": "string" + }, + "ranking": { + "description": "Posição no ranking", + "type": "number" + } + }, + "required": [ + "ranking", + "nome", + "frequencia" + ], + "type": "object" + }, + "type": "array" + }, + "localidade": { + "description": "Código IBGE da localidade (ou BR para Brasil)", + "type": "string" + }, + "sexo": { + "description": "Sexo do ranking: M, F ou nulo", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "localidade", + "itens" + ], + "type": "object" + }, + "tipo": { + "description": "Tipo da consulta realizada", + "enum": [ + "frequencia", + "ranking" + ], + "type": "string" + } + }, + "required": [ + "tipo" + ], + "type": "object" +}
- Changed
ibge_noticias3 fields changed- changed
Input schema / properties / ate / descriptionPrevious value: -"Data final no formato MM-DD-AAAA (ex: 12-31-2024)"New value: +"Data final no formato DD/MM/AAAA (ex: 31/12/2024)" - changed
Input schema / properties / de / descriptionPrevious value: -"Data inicial no formato MM-DD-AAAA (ex: 01-01-2024)"New value: +"Data inicial no formato DD/MM/AAAA (ex: 01/01/2024)" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "description": "Termo de busca aplicado, se houver", + "type": "string" + }, + "noticias": { + "description": "Lista de notícias retornadas", + "items": { + "additionalProperties": false, + "properties": { + "dataPublicacao": { + "description": "Data de publicação (formato original da API)", + "type": "string" + }, + "destaque": { + "description": "Indica se a publicação está em destaque", + "type": "boolean" + }, + "editorias": { + "description": "Editoria(s) associada(s) à publicação", + "type": "string" + }, + "introducao": { + "description": "Introdução/resumo da publicação (texto limpo)", + "type": "string" + }, + "link": { + "description": "URL para a publicação completa", + "type": "string" + }, + "produtos": { + "description": "Produtos do IBGE relacionados à publicação", + "type": "string" + }, + "tipo": { + "description": "Tipo de publicação (ex: 'Release' ou 'Notícia')", + "type": "string" + }, + "titulo": { + "description": "Título da notícia ou release", + "type": "string" + } + }, + "required": [ + "titulo", + "tipo", + "dataPublicacao", + "link" + ], + "type": "object" + }, + "type": "array" + }, + "pagina": { + "description": "Página atual", + "type": "number" + }, + "total": { + "description": "Total de notícias encontradas na consulta", + "type": "number" + }, + "totalPaginas": { + "description": "Número total de páginas", + "type": "number" + } + }, + "required": [ + "noticias", + "total", + "pagina", + "totalPaginas" + ], + "type": "object" +}
- Changed
ibge_paises1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "description": "Termo de busca aplicado, se houver", + "type": "string" + }, + "indicadores": { + "description": "Indicadores disponíveis para consulta de países (modo indicadores)", + "items": { + "additionalProperties": false, + "properties": { + "alias": { + "description": "Apelido amigável do indicador", + "type": "string" + }, + "id": { + "description": "ID do indicador na API do IBGE", + "type": "number" + }, + "nome": { + "description": "Nome do indicador", + "type": "string" + } + }, + "required": [ + "id", + "nome", + "alias" + ], + "type": "object" + }, + "type": "array" + }, + "pais": { + "additionalProperties": false, + "description": "Detalhes de um país específico (modo detalhes)", + "properties": { + "areaTotalKm2": { + "description": "Área territorial total em km²", + "type": "number" + }, + "historico": { + "description": "Texto histórico sobre o país", + "type": "string" + }, + "indicadores": { + "description": "Indicadores principais com o valor mais recente disponível", + "items": { + "additionalProperties": false, + "properties": { + "ano": { + "description": "Ano de referência do valor", + "type": "string" + }, + "indicador": { + "description": "Nome do indicador", + "type": "string" + }, + "valor": { + "description": "Valor mais recente do indicador", + "type": "string" + } + }, + "required": [ + "indicador", + "valor", + "ano" + ], + "type": "object" + }, + "type": "array" + }, + "isoAlpha2": { + "description": "Código ISO-ALPHA-2", + "type": "string" + }, + "isoAlpha3": { + "description": "Código ISO-ALPHA-3", + "type": "string" + }, + "linguas": { + "description": "Línguas faladas no país", + "items": { + "type": "string" + }, + "type": "array" + }, + "m49": { + "description": "Código M49 do país", + "type": "number" + }, + "moedas": { + "description": "Unidades monetárias do país", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código da unidade monetária", + "type": "string" + }, + "nome": { + "description": "Nome da unidade monetária", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "nome": { + "description": "Nome do país", + "type": "string" + }, + "regiao": { + "description": "Nome da região/continente", + "type": "string" + }, + "regiaoIntermediaria": { + "description": "Nome da região intermediária", + "type": "string" + }, + "subRegiao": { + "description": "Nome da sub-região", + "type": "string" + } + }, + "required": [ + "nome", + "m49", + "isoAlpha2", + "isoAlpha3" + ], + "type": "object" + }, + "paises": { + "description": "Lista de países (modos listar/buscar). Limitada aos 50 primeiros na exibição", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código ISO-ALPHA-2 do país (ou '-' se ausente)", + "type": "string" + }, + "nome": { + "description": "Nome do país", + "type": "string" + }, + "regiao": { + "description": "Nome da região/continente (ou '-' se ausente)", + "type": "string" + }, + "subRegiao": { + "description": "Nome da sub-região (ou '-' se ausente)", + "type": "string" + } + }, + "required": [ + "codigo", + "nome", + "regiao", + "subRegiao" + ], + "type": "object" + }, + "type": "array" + }, + "regiao": { + "description": "Filtro de região/continente aplicado, se houver", + "type": "string" + }, + "tipo": { + "description": "Modo de consulta que originou este resultado", + "enum": [ + "listar", + "buscar", + "detalhes", + "indicadores" + ], + "type": "string" + }, + "total": { + "description": "Total de países encontrados (modos listar/buscar)", + "type": "number" + } + }, + "required": [ + "tipo" + ], + "type": "object" +}
- Changed
ibge_pesquisas1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "description": "Termo de busca aplicado, se houver (modo lista)", + "type": "string" + }, + "modo": { + "description": "Modo de consulta que originou este resultado: lista de pesquisas ou detalhes de uma", + "enum": [ + "lista", + "detalhes" + ], + "type": "string" + }, + "pesquisa": { + "additionalProperties": false, + "description": "Detalhes de uma pesquisa específica (modo detalhes)", + "properties": { + "id": { + "description": "Código da pesquisa", + "type": "string" + }, + "nome": { + "description": "Nome da pesquisa", + "type": "string" + }, + "tabelas": { + "description": "Tabelas disponíveis na pesquisa", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código da tabela (agregado)", + "type": "string" + }, + "nome": { + "description": "Nome da tabela", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "totalTabelas": { + "description": "Quantidade de tabelas da pesquisa", + "type": "number" + } + }, + "required": [ + "id", + "nome", + "totalTabelas", + "tabelas" + ], + "type": "object" + }, + "pesquisas": { + "description": "Lista de pesquisas (modo lista)", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código da pesquisa", + "type": "string" + }, + "nome": { + "description": "Nome da pesquisa", + "type": "string" + }, + "totalTabelas": { + "description": "Quantidade de tabelas (agregados) da pesquisa", + "type": "number" + } + }, + "required": [ + "id", + "nome", + "totalTabelas" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "description": "Total de pesquisas encontradas (modo lista)", + "type": "number" + } + }, + "required": [ + "modo" + ], + "type": "object" +}
- Changed
ibge_populacao1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "horario": { + "description": "Data/hora da consulta", + "type": "string" + }, + "localidade": { + "description": "Localidade da projeção", + "type": "string" + }, + "periodoMedio": { + "additionalProperties": false, + "description": "Indicadores do período médio", + "properties": { + "incrementoPopulacional": { + "description": "Incremento populacional por dia", + "type": "number" + }, + "nascimento": { + "description": "Segundos entre nascimentos", + "type": "number" + }, + "obito": { + "description": "Segundos entre óbitos", + "type": "number" + } + }, + "required": [ + "incrementoPopulacional", + "nascimento", + "obito" + ], + "type": "object" + }, + "populacao": { + "description": "População projetada (habitantes)", + "type": "number" + } + }, + "required": [ + "localidade", + "horario", + "populacao", + "periodoMedio" + ], + "type": "object" +}
- Changed
ibge_sidra4 fields changed- added
Input schema / properties / camposAdded value: +{ + "description": "Selecionar apenas algumas colunas por rótulo, separadas por vírgula (ex: 'Valor,Ano'). Reduz o volume da resposta. Omitir traz todas.", + "type": "string" +} - changed
Input schema / properties / nivel_territorial / descriptionPrevious value: -"Nível territorial (código N sem o prefixo):\n1=Brasil, 2=Grande Região, 3=UF, 6=Município, 7=Região Metropolitana,\n8=Mesorregião, 9=Microrregião, 10=Distrito, 11=Subdistrito,\n13=RM e RIDE, 14=Região Integrada de Desenvolvimento, 15=Aglomeração Urbana,\n17=Região Geográfica Imediata, 18=Região Geográfica Intermediária,\n105=Macrorregião de Saúde, 106=Região de Saúde,\n114=Aglomerado Subnormal, 127=Amazônia Legal, 128=Semiárido"New value: +"Nível territorial (código N): 1=Brasil, 2=Região, 3=UF, 6=Município, 7=Região Metropolitana, 8=Mesorregião, 9=Microrregião, 10=Distrito, 11=Subdistrito, 13=RM/RIDE, 14=RIDE, 15=Aglomeração Urbana, 17=Região Geográfica Imediata, 18=Região Geográfica Intermediária, 105=Macrorregião de Saúde, 106=Região de Saúde, 114=Aglomerado Subnormal, 127=Amazônia Legal, 128=Semiárido" - added
Input schema / properties / paginaAdded value: +{ + "default": 1, + "description": "Página de resultados (100 registros por página)", + "minimum": 1, + "type": "integer" +} - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "colunas": { + "description": "Rótulos das colunas, na ordem", + "items": { + "type": "string" + }, + "type": "array" + }, + "nome": { + "description": "Nome da tabela (quando conhecido)", + "type": "string" + }, + "paginacao": { + "additionalProperties": false, + "description": "Metadados de paginação para continuação", + "properties": { + "pagina": { + "type": "number" + }, + "porPagina": { + "type": "number" + }, + "temMais": { + "type": "boolean" + }, + "totalPaginas": { + "type": "number" + } + }, + "required": [ + "pagina", + "porPagina", + "totalPaginas", + "temMais" + ], + "type": "object" + }, + "registros": { + "description": "Registros da página atual: cada um mapeia rótulo da coluna -> valor", + "items": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "type": "array" + }, + "tabela": { + "description": "Código da tabela SIDRA consultada", + "type": "string" + }, + "totalRegistros": { + "description": "Total de registros de dados disponíveis (todas as páginas)", + "type": "number" + } + }, + "required": [ + "tabela", + "nome", + "totalRegistros", + "colunas", + "registros", + "paginacao" + ], + "type": "object" +}
- Changed
ibge_sidra_metadados1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "assunto": { + "description": "Assunto/tema da tabela", + "type": "string" + }, + "codigo": { + "description": "Código da tabela/agregado SIDRA", + "type": "string" + }, + "niveisTerritoriais": { + "description": "Níveis territoriais disponíveis para a tabela", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código do nível territorial (ex: N1, N3, N6)", + "type": "string" + }, + "nome": { + "description": "Nome do nível territorial (ex: Brasil, UF, Município)", + "type": "string" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "nome": { + "description": "Nome da tabela", + "type": "string" + }, + "periodicidade": { + "additionalProperties": false, + "description": "Periodicidade da pesquisa", + "properties": { + "fim": { + "description": "Ano/período final da série", + "type": "number" + }, + "frequencia": { + "description": "Frequência de coleta (ex: anual, mensal)", + "type": "string" + }, + "inicio": { + "description": "Ano/período inicial da série", + "type": "number" + } + }, + "type": "object" + }, + "periodos": { + "description": "Períodos disponíveis para a tabela (quando incluir_periodos)", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "Código do período", + "type": "string" + }, + "literais": { + "description": "Descrições textuais do período", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "id", + "literais" + ], + "type": "object" + }, + "type": "array" + }, + "pesquisa": { + "description": "Nome da pesquisa de origem", + "type": "string" + }, + "url": { + "description": "URL da tabela no SIDRA", + "type": "string" + }, + "variaveis": { + "description": "Variáveis da tabela, com unidades e classificações/categorias", + "items": { + "additionalProperties": false, + "properties": { + "classificacoes": { + "description": "Classificações aplicáveis à variável", + "items": { + "additionalProperties": false, + "properties": { + "categorias": { + "description": "Categorias da classificação", + "items": { + "additionalProperties": false, + "properties": { + "id": { + "description": "ID da categoria", + "type": "number" + }, + "nivel": { + "description": "Nível hierárquico da categoria", + "type": "number" + }, + "nome": { + "description": "Nome da categoria", + "type": "string" + }, + "unidade": { + "description": "Unidade da categoria", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "id": { + "description": "ID da classificação", + "type": "number" + }, + "nome": { + "description": "Nome da classificação", + "type": "string" + } + }, + "required": [ + "id", + "nome", + "categorias" + ], + "type": "object" + }, + "type": "array" + }, + "id": { + "description": "ID da variável", + "type": "number" + }, + "nome": { + "description": "Nome da variável", + "type": "string" + }, + "unidade": { + "description": "Unidade de medida da variável", + "type": "string" + } + }, + "required": [ + "id", + "nome" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" +}
- Changed
ibge_sidra_tabelas1 field changed- changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "busca": { + "description": "Termo de busca aplicado, se houver", + "type": "string" + }, + "pesquisa": { + "description": "Filtro de pesquisa aplicado, se houver", + "type": "string" + }, + "tabelas": { + "description": "Lista de tabelas SIDRA retornadas", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código da tabela/agregado SIDRA", + "type": "string" + }, + "nome": { + "description": "Nome da tabela/agregado", + "type": "string" + }, + "pesquisa": { + "description": "Pesquisa de origem (código - nome)", + "type": "string" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "description": "Total de tabelas que correspondem aos critérios", + "type": "number" + } + }, + "required": [ + "tabelas", + "total" + ], + "type": "object" +}
- Changed
ibge_vizinhos2 fields changed- changed
Input schema / properties / uf / descriptionPrevious value: -"Sigla da UF (obrigatório se usar nome do município)"New value: +"Estado por sigla (SP), nome (São Paulo) ou código IBGE (35) — obrigatório se usar nome do município" - changed
Output schema / (root)Previous value: -nullNew value: +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "properties": { + "municipio": { + "additionalProperties": false, + "description": "Município de referência da consulta", + "properties": { + "codigo": { + "description": "Código IBGE do município consultado", + "type": "string" + }, + "nome": { + "description": "Nome do município consultado", + "type": "string" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" + }, + "total": { + "description": "Quantidade de municípios próximos encontrados", + "type": "number" + }, + "vizinhos": { + "description": "Lista de municípios próximos (mesma mesorregião)", + "items": { + "additionalProperties": false, + "properties": { + "codigo": { + "description": "Código IBGE do município vizinho", + "type": "string" + }, + "nome": { + "description": "Nome do município vizinho", + "type": "string" + }, + "populacao": { + "description": "População do município vizinho (apenas quando incluir_dados=true)", + "type": "number" + }, + "uf": { + "description": "Sigla da UF do município vizinho", + "type": "string" + } + }, + "required": [ + "codigo", + "nome" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "municipio", + "vizinhos", + "total" + ], + "type": "object" +}
23 tool updates
v1.0.0- First observed
bcb - First observed
datasaude - First observed
ibge_calendario - First observed
ibge_censo - First observed
ibge_cidades - First observed
ibge_cnae - First observed
ibge_comparar - First observed
ibge_estados - First observed
ibge_geocodigo - First observed
ibge_indicadores - First observed
ibge_localidade - First observed
ibge_malhas - First observed
ibge_malhas_tema - First observed
ibge_municipios - First observed
ibge_nomes - First observed
ibge_noticias - First observed
ibge_paises - First observed
ibge_pesquisas - First observed
ibge_populacao - First observed
ibge_sidra - First observed
ibge_sidra_metadados - First observed
ibge_sidra_tabelas - First observed
ibge_vizinhos
TDQS
Scored across 23 tools
Tools are organized around distinct IBGE subsystems (SIDRA, Localidades, news, CNAE, health, maps) and almost every tool includes explicit 'use a different tool when' cross-references. A few discovery and data-query tools overlap in purpose (e.g. ibge_sidra_tabelas vs ibge_pesquisas, ibge_sidra vs its wrappers), but the descriptions make the intended boundaries clear.
The ibge_ prefix and snake_case are used consistently across 21 of 23 tools, and the two exceptions (search, fetch) are explicitly framed as a separate Deep Research contract. Within the prefix, names mix nouns (ibge_censo, ibge_indicadores) with a few verbs (ibge_comparar), so the pattern is domain-prefix rather than strict verb_noun.
23 tools is above the typical 3-15 range, but the IBGE domain is genuinely broad, spanning data queries, geography, metadata, classifications, news, calendar, and maps. Each tool corresponds to a distinct IBGE API or workflow, so the count feels slightly heavy rather than bloated.
The server covers the full SIDRA workflow (discover tables, inspect metadata, query) plus friendly wrappers for census, economic indicators, health, municipal panels, and comparisons. For a read-only statistics server, there are no obvious dead ends; even specialized areas like names, CNAE, countries, and thematic maps are present.
Maintenance
Related MCP Connectors
IBGE: Área territorial brasileira, official-source lookup. Platform-hosted, pay per query with prepa
IBGE: Código de Município, official-source lookup. Platform-hosted, pay per query with prepaid credi
Brazilian public data API for AI agents. BCB, IBGE, CVM, B3, compliance. x402 payments on Base.
Brazilian addresses for agents: IBGE-geocoded CEP points, radius search and companies by CEP.
Related MCP Servers
- FlicenseCqualityFmaintenanceProvides access to the Australian Bureau of Statistics (ABS) Data API. This server allows AI assistants to query and analyze ABS statistical data.19-
- AlicenseAqualityDmaintenanceAn MCP server that enables querying detailed address information from Brazilian postal codes (CEPs) via the ViaCEP API, returning data such as street names, neighborhoods, cities, states, regions, and IBGE codes.12MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that connects AI assistants to Brazilian public data services, providing access to postal codes, company registrations, bank information, area codes, IBGE data, currency exchange rates, and domain registration status.1112 npm4MIT
- FlicenseNot gradedqualityDmaintenanceEnables lookup of Brazilian addresses by CEP (postal code) using the ViaCEP API, returning formatted address information including street, neighborhood, city, and state.1-