Skip to main content
Glama

consultar_endereco

Read-onlyIdempotent

Find Brazilian postal codes (CEPs) by state, city, and street, returning up to 50 matching addresses for address lookup and validation.

Instructions

Busca CEPs por UF, cidade e logradouro. Retorna até 50 endereços.

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": {
      "uf": "<uf>",
      "cidade": "<cidade>",
      "logradouro": "<logradouro>"
    },
    "name": "consultar_endereco"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesSigla de um estado brasileiro, ex.: SP
cidadeYesNome da cidade, ex.: São Paulo
logradouroYesNome da rua, avenida ou praça

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description contributes one genuinely new behavioral fact — a cap of 50 returned addresses — but does not say whether results are truncated, paginated, or how to retrieve more, which matters for a tool with a hard limit.

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?

Two short sentences, zero filler, with the lookup keys front-loaded and the result limit immediately after. Every clause carries information.

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 three-parameter read-only lookup with full schema documentation and rich annotations, the description supplies what is needed to call it and hints at the return shape with the 50-address cap. It is slightly incomplete on what happens when more than 50 matches exist.

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%: each of the three parameters has type constraints, patterns, length limits and examples in the schema itself. The description only restates the same three field names and adds no format hints (e.g., accent handling, partial street matching) beyond structured data, 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 verb ('Busca') and resource ('CEPs') and names the three lookup keys (UF, cidade, logradouro), which implicitly separates it from the sibling consultar_cep (single-CEP lookup). It stops short of naming that sibling explicitly, so the contrast must be inferred from the parameter scope.

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 no explicit when-to-use/when-not-to-use statement and no mention of the alternatives consultar_cep or verificar_status. Usage is only implied by the required search keys, which suggest structure-based lookup rather than single-CEP lookup; an agent must infer that distinction.

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

Deploy Server

Other Tools