Skip to main content
Glama

Check a CEP

consulta_cep
Read-onlyIdempotent

Addresses at a CEP (Brazilian postal code) with coordinates (CNEFE/IBGE) and the companies registered there. Returns up to 20 addresses and up to 20 companies; the total number of addresses is in pontos_total. Free: it uses no daily allowance or balance.

Input Schema

NameRequiredDescriptionDefault
cepYesCEP with 8 digits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / cep / description
      Previous value: -"CEP com 8 dígitos"New value: +"CEP with 8 digits."
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile needs no restating. The description does add genuinely useful behavior: hard caps of 20 addresses and 20 companies, and that `pontos_total` carries the true total. It stops short of saying what happens on an invalid CEP or whether the truncated result means a follow-up call is needed.

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?

Three short clauses, each carrying distinct information (what it returns, the result caps, the cost profile), with the payload statement front-loaded. Slightly compressed to the point of dropping the verb in the opening clause.

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?

No output schema exists, so the description correctly takes on return-value disclosure: it names addresses, companies, limits, and the `pontos_total` counter, and states the tool is free. A one-clause note on invalid-format CEPs or empty results is the only real gap.

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?

Only one parameter and schema coverage is 100%, with the '8 digits' format documented in the schema itself. The description adds nothing about the CEP parameter, so the baseline 3 applies.

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?

States a specific resource and verb: returns addresses at a CEP plus the companies registered there, with coordinates from CNEFE/IBGE. It is clearly distinguishable from consulta_cnpj-style lookups, though it never names the closest sibling (consulta_endereco) to draw the line explicitly.

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?

Usage is implied rather than stated: an agent can infer 'use this to look up a CEP', and the cost note ('free: uses no daily allowance or balance') gives a real reason to prefer it over paid siblings. But there is no explicit when-not and no comparison against consulta_endereco or consulta_cnpj.

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.