Skip to main content
Glama

ibge_localidade

Retrieve detailed geographic hierarchy data for Brazilian locations using IBGE codes to access state, municipality, and district information with complete regional context.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codigoYesCódigo IBGE da localidade (estado: 2 dígitos, município: 7 dígitos, distrito: 9 dígitos)
tipoNoTipo da localidade. Se não informado, será inferido pelo tamanho do código.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the tool returns details and lists features like state/municipality/district information, but doesn't disclose behavioral traits such as error handling, rate limits, authentication needs, or what happens with invalid codes. This is a significant gap for a tool with no annotation coverage.

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 description is well-structured with a clear opening sentence, bullet points for features, and examples. It's appropriately sized and front-loaded, with every sentence adding value (e.g., explaining hierarchy levels and providing concrete examples). Minor room for improvement in brevity.

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

Completeness3/5

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

Given no annotations and no output schema, the description provides basic purpose and examples but lacks completeness. It doesn't cover return values, error cases, or advanced usage scenarios. For a tool with 2 parameters and no structured output info, this is adequate but has clear gaps in behavioral context.

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 the schema already documents both parameters ('codigo' and 'tipo') thoroughly. The description adds minimal value beyond the schema by listing examples of codes, but doesn't explain parameter interactions or provide additional semantics. Baseline 3 is appropriate as the schema does the heavy lifting.

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 clearly states the tool 'returns details of a specific locality by IBGE code', specifying the action (returns details) and resource (locality). It distinguishes from siblings like 'ibge_estados' or 'ibge_municipios' by focusing on individual localities via codes, but doesn't explicitly contrast with all siblings.

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

Usage Guidelines3/5

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

The description implies usage through examples (e.g., São Paulo state code=35), suggesting it's for fetching details when you have an IBGE code. However, it lacks explicit guidance on when to use this versus alternatives like 'ibge_idades' or 'ibge_estados', and doesn't mention prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SidneyBissoli/ibge-br-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server