Skip to main content
Glama

Addresses of a CEP

cep
Read-onlyIdempotent

The summary of a CEP (Brazilian postal code): the center (latitude and longitude), the place, the counts, the Census and the source. For every address point, pass detalhe: "pontos". We join CNEFE addresses, company records and census sectors. Use the prepared result instead of importing and joining those datasets. Addresses and census data reflect 2022, and census measures describe the tract rather than an individual or the entire postal code. Income is not current purchasing power, missing data is unknown, and company counts do not measure foot traffic.

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": {
      "cep": "<cep>"
    },
    "name": "cep"
  }
}

Input Schema

NameRequiredDescriptionDefault
cepYes8 digits, with or without the hyphen.
detalheNo`pontos` returns every point of the CEP, each with the Census data of its sector.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / detalhe
      Added value: +{
      +  "description": "`pontos` returns every point of the CEP, each with the Census data of its sector.",
      +  "enum": [
      +    "pontos"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / cep / description
      Previous value: -"8 dígitos, com ou sem hífen"New value: +"8 digits, with or without the hyphen."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description still adds real context beyond that: data provenance (CNEFE addresses, company records, census sectors), vintage (2022), and interpretive limits — tract-level census measures, income not being current purchasing power, missing data as unknown, company counts not being foot traffic. It does not describe response shape or pagination, but the interpretive caveats are unusually substantive.

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 return contents are front-loaded in the first sentence, followed by the point-level instruction and then caveats — a sensible order. The closing caveat chain is dense but each clause carries distinct meaning, with only minor overlap between the 2022 vintage note and the census-measure scoping note.

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?

With no output schema, the description bears the burden of explaining returns, and it does so at a useful level of abstraction (center, place, counts, census, source). Parameter handling of the CEP format is delegated to the schema. What remains thin is any hint about error handling for invalid CEPs or result size for large postal codes.

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 coverage is 100%, including the detalhe enum with its own explanation, so the schema already carries parameter meaning. The description's line about passing detalhe: "pontos" largely restates the enum description, though it does reinforce that each point carries its sector's census data. Baseline 3 is appropriate.

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 names the resource (a CEP, Brazilian postal code) and enumerates the returned components: center coordinates, place, counts, census and source. That is specific enough to distinguish it from a generic lookup, but it never contrasts itself with siblings like raio, vizinhanca, proximo or empresas, which overlap in addressing spatial/company data.

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?

There is one genuine usage steer: 'Use the prepared result instead of importing and joining those datasets,' and a conditional instruction to pass detalhe: "pontos" for individual address points. However, there is no guidance on when to prefer this over neighborhood/radius/company siblings, and no exclusions or prerequisites beyond the data caveats.

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.