Skip to main content
Glama
ab-orbit

ab-ibge-mcp-server

by ab-orbit

Densidade Demográfica dos Estados

ibge_densidade_demografica
Read-onlyIdempotent

Calculate demographic density (hab/km²) for Brazilian states using Census 2022 and IBGE territorial area, returning population, area, and density rankings.

Instructions

Calcula densidade demográfica (hab/km²) combinando Censo 2022 + área territorial IBGE.

Args:

  • uf_id (number, opcional): ID do estado. Omita para ranking completo.

Retorna população, área em km² e densidade por estado, ordenados por densidade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uf_idNoID do estado. Omita para todos.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds context about the data sources (Censo 2022 and territorial area), the output fields (population, area, density), and sorting order, which goes beyond the annotations and helps set expectations.

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 description is very concise, consisting of one introductory sentence, a simple Args section, and a return statement. Every sentence provides necessary information without redundancy or filler, making it easy to parse.

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

Completeness4/5

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

For a simple tool with one optional parameter and no output schema, the description adequately explains what it returns (population, area, density, sorted by density) and the calculation basis. It lacks explicit output format details, but the tool's simplicity and the described return fields are sufficient for an agent to understand the result.

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?

The schema already describes uf_id as 'ID do estado. Omita para todos.' The description repeats this in slightly different words ('Omita para ranking completo') and notes the type is number, which is already in the schema. Since schema coverage is 100%, the description adds minimal extra meaning, so a 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?

The description clearly states that the tool calculates demographic density (hab/km²) by combining Censo 2022 and territorial area from IBGE. This is a specific verb+resource that distinguishes it from sibling population tools like ibge_populacao_censo2022 and ibge_populacao_estados, which only provide population counts.

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 for density calculations and notes that omitting uf_id gives a complete ranking, but it does not explicitly state when to use this tool over alternatives like ibge_populacao_censo2022 or ibge_area_territorial. Since siblings exist but no exclusions or alternatives are mentioned, usage context is only implied.

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/ab-orbit/ab-ibge-mcp-server'

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