Skip to main content
Glama

IBGE MCP by Kyrodata

Read Census first-name statistics

ibge_get_name_frequency
Read-onlyIdempotent

Reads the 2010 Census first-name statistics. With names it returns how many people with each name were born per decade, from before 1930 to the 2000s; without it, the ranking of the most common names, optionally for one decade. sex and locality (state or municipality code) narrow both. Counts refer to people alive at the 2010 Census, not to all births. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ibge_get_name_frequency"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexNoF or M. Omitted: both.
namesNoFirst names to look up (e.g. ['Maria','João']). Returns births per decade. Omitted: the ranking instead.
decadeNoRanking only: decade of birth (1930–2010). Omitted: all decades together.
localityNoState (2 digits) or municipality (7 digits) code. Omitted: Brazil.
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.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: live IBGE public API via Kyrodata, up to one-hour caching, a 10-minute memo window served at 0 credits, result status values (ok/denied/error), and the comex credit class with its 2-tools-per-60s session limit. It also flags the crucial semantic caveat that counts are people alive at the 2010 Census, not all births — a trap an agent would otherwise fall into.

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

Conciseness5/5

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

The core behavior and mode switch come first, followed by filters, then the caveat, then operational facts (caching, credits, statuses). Every sentence carries distinct information; nothing is redundant padding.

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?

An output schema exists, yet the description still frames what each mode returns and adds the population-vs-births caveat plus credit/rate-limit context. For a 5-parameter, zero-required read tool with live caching, an agent has everything needed to call it correctly and predict the cost.

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 cross-parameter meaning the schema only hints at: `names` produces per-decade series, `decade` applies to the ranking mode only, and `sex`/`locality` filter both modes. It does not restate formats (name pattern, code lengths) because the schema already does.

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?

Names a specific verb and resource (2010 Census first-name statistics) and immediately spells out the two distinct output modes keyed on `names`: per-decade birth counts versus a ranking of most common names. No sibling covers personal-name statistics, so the agent can route here without ambiguity.

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 description gives clear conditional guidance — supply `names` for per-decade counts, omit it for the ranking, use `decade` only in ranking mode, and `sex`/`locality` narrow both modes. It does not name an alternative tool or state when not to use this one, but no sibling appears to overlap, so the missing exclusion is minor.

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