Skip to main content
Glama

IBGE MCP by Kyrodata

Query IBGE geodetic services

ibge_query_geodesy
Read-onlyIdempotent

Queries IBGE's geodetic services. stations lists control stations of a municipality or state from the Geodetic Database (code, type, status, coordinates, orthometric height). tide_gauges lists the permanent tide-gauge network. convert_datum converts a point between Brazilian datums (SAD69, Córrego Alegre, SIRGAS 2000) with IBGE's ProGriD grids. height_conversion returns the hgeoHNOR factor that turns a GNSS (ellipsoidal) height into a normal height at a point. 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": {
      "operation": "<operation>"
    },
    "name": "ibge_query_geodesy"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoconvert_datum, height_conversion: latitude in decimal degrees.
lonNoconvert_datum, height_conversion: longitude in decimal degrees.
limitNoHow many items to return (1–50, default 20).
stateNostations: two-letter state abbreviation (used when municipality is absent).
toDatumNoconvert_datum: datum to convert to (default sirgas2000).
altitudeNoconvert_datum, height_conversion: height in metres (default 0).
fromDatumNoconvert_datum: datum of the input point (default sad69).
operationYes`stations`: geodetic control stations of a municipality or state. `tide_gauges`: the national tide-gauge network. `convert_datum`: a point from one datum to another (ProGriD). `height_conversion`: the hgeoHNOR factor between a GNSS (ellipsoidal) height and a normal height at a point.
municipalityNostations: 7-digit municipality code.
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?

Annotations already cover read-only, open-world and idempotency, yet the description goes well beyond them: it discloses live public-API reads through Kyrodata, a one-hour cache, a 10-minute memo window worth 0 credits, the comex credit class and its session cap, and the ok/denied/error status taxonomy with a text reason. That is exactly the operational context an agent cannot get from 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 definition is a single dense paragraph but front-loads the overall purpose and then walks the operations in order, with the billing and caching caveats at the end. Every clause carries information, though the operation list duplicates the enum descriptions and could be tightened.

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?

With ten parameters, four operations, a live external API and credit implications, this is a complex tool — and the description covers operation scope, data source, caching, billing and response status, while an output schema handles return values and annotations handle safety. Nothing material is left for the agent to guess.

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 description coverage is 100%, so every parameter, including the operation enum and each enum value, is already documented in structured form. The description largely restates the operation-to-parameter mapping rather than adding new semantics, so the baseline of 3 is appropriate.

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?

States a specific verb and resource (queries IBGE's geodetic services) and then enumerates all four operations with the concrete output of each — station attributes, tide-gauge network, datum conversion, hgeoHNOR factor. The domain (geodesy) is distinct enough from every listed sibling (tables, places, boundaries, CNAE, news) that an agent can route here 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.

Usage Guidelines4/5

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

Each operation is given a clear condition for use: `stations` for a municipality or state, `tide_gauges` for the national network, `convert_datum` for a point between datums, `height_conversion` for turning a GNSS height into a normal height. It stops short of naming when not to use this tool or which sibling to prefer for overlapping geo needs (e.g. ibge_get_boundary).

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