Skip to main content
Glama

IBGE MCP by Kyrodata

Describe one SIDRA table's variables and breakdowns

ibge_describe_table
Read-onlyIdempotent

Explains one SIDRA table before reading it: survey, subject, periodicity and the first and last period, the territorial levels it publishes (N1 Brazil … N6 municipality), every variable with its unit, and each classification (breakdown) with its categories. categorySearch narrows long category lists (a crop table has dozens of products). The ids returned here are exactly what ibge_get_table_data accepts. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: free (0 credits).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table": "<table>"
    },
    "name": "ibge_describe_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesSIDRA table (aggregate) id, e.g. 1612. ibge_search_tables returns ids.
categorySearchNoFilters the categories listed under each classification by these words (e.g. 'soja'). Without it, the first categories of each classification are listed and the total count is given.
response_formatNoHow much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota.

Output Schema

NameRequiredDescriptionDefault
dataYesRaw numbers behind the text.
memoYestrue = identical call in the last 10 min, served again: 0 credits.
rowsNoTable rows; detailed only, capped per tool.
errorNoFailure message when status = error.
linksYesscreen = product page with these numbers.
deniedNoWhen status = denied: reason, feature, upgradeUrl.
statusYesok = data; denied = plan; error = failure or timeout.
windowNoLike-for-like window: from, to (YYYY-MM), label, months, crossesSeason.
caveatsYesReading caveats.
creditsYescharged, balance (null = unlimited), resetAt, session {charged, endsAt} of the 60-s billing session.
sourcesYesPer source: label, nameable, asOf.
dataVersionYesIdentity of the data that answered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: live reads of IBGE's public API via Kyrodata, one-hour caching, memoization of identical calls within 10 minutes at 0 credits, and a status contract of ok/denied/error with reasons in text. These are operational behaviors an agent cannot infer from readOnlyHint/idempotentHint alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and payoff, then the parameter hint, then transport/credit behavior. Dense but nearly every clause carries information; the caching-plus-memo-plus-credit-class tail is slightly over-packed for a single paragraph but each fact is actionable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists and annotations cover safety and openness, so the description only needed to supply the lookup-before-read workflow, cost model, and failure modes — all present. Nothing an agent needs in order 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the description's categorySearch sentence largely restates the schema's own wording ('without it, the first categories... are listed'). The 'dozens of products' example adds a mildly useful intuition but no new syntax or constraint information, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'Explains one SIDRA table before reading it', then enumerates exactly what is returned (survey, subject, periodicity, period range, territorial levels, variables with units, classifications with categories). It also distinguishes itself from siblings by stating 'The ids returned here are exactly what ibge_get_table_data accepts', making the metadata-vs-data split unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'before reading it' clearly positions this as the discovery step preceding ibge_get_table_data, and the categorySearch sentence explains when to use that parameter (long category lists like crop tables). It does not explicitly contrast with ibge_get_survey_metadata, but guidance in the definition itself is clear and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources