Skip to main content
Glama

IBGE MCP by Kyrodata

Read a municipality's IBGE Cidades indicators

ibge_get_city_profile
Read-onlyIdempotent

Reads a municipality's indicators from IBGE Cidades, the portal that gathers each city's census, economy, health, education, environment and public-management figures. Give a survey id to get its indicators (up to 30), or specific indicators; each comes with its unit, latest year and value, and the recent years. With only the municipality it lists the survey ids available. Municipality codes come from ibge_find_places. Read-only; reads IBGE's public API live through Kyrodata (cached up to an hour). An identical call within 10 minutes is served from memo at 0 credits. Result status is ok, denied or error, with the reason in text. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).

Tool call template

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

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

Input Schema

NameRequiredDescriptionDefault
surveyNoCities survey id whose indicators to return. Omitted together with indicators: the list of survey ids.
indicatorsNoSpecific indicator ids (as listed under a survey). Overrides survey.
municipalityYesMunicipality code, 7 digits (3550308) or 6 without the check digit. ibge_find_places returns it.
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.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses live upstream reads via Kyrodata, one-hour caching, 10-minute memoization at zero credits, the comex credit class and its per-session cap, and the ok/denied/error status envelope. These are exactly the cost and failure behaviors an agent needs and none of them are derivable from 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.

Conciseness4/5

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

The core capability and the two modes are front-loaded in the first two sentences, with pricing and status details pushed to the end where an agent can skim them. The opening appositive describing the portal is slightly padded but contextually useful; nothing else is filler.

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?

For a four-parameter read tool with a full output schema and complete annotations, the description covers invocation modes, upstream resolution of municipality codes, caching and credit cost, and error statuses. An agent can call it correctly without consulting anything else.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

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 the consequence of omitting both survey and indicators (returns the survey id list) and clarifies that detailed rows in response_format count against the export quota. The remaining parameter facts (7- or 6-digit municipality pattern, 30-item indicator cap, indicators overriding survey) restate the schema.

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

Purpose4/5

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 ('Reads a municipality's indicators from IBGE Cidades') and scopes the content to census, economy, health, education, environment and public-management figures, which separates it from table/geodesy/news siblings. It also points at ibge_find_places for municipality codes, though it does not explicitly contrast itself with ibge_get_table_data or ibge_get_country_indicators.

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?

It spells out the two invocation modes clearly: pass a survey to get its indicators (or specific indicator ids), or pass only the municipality to discover available survey ids, and it names ibge_find_places as the prerequisite for codes. What is missing is explicit guidance on when to prefer this over other IBGE data tools for similar indicator data.

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