Skip to main content
Glama

Endereço pelo CEP

lookup_postal_code
Read-onlyIdempotent

O endereço de um CEP: rua, bairro, cidade, estado, o código IBGE da cidade e, quando existe, a coordenada.

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": "lookup_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
cepYesO CEP: "01310-100" ou "01310100".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description does add one genuine behavioral fact beyond that: the coordinate is only present 'quando existe', warning the agent that the response shape is conditional. It says nothing about failure behavior for nonexistent CEPs or about response formatting.

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?

A single compact clause with the enumerated return fields front-loaded and no filler. It is efficient, though it is a noun phrase rather than a statement of action, which slightly weakens the framing.

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 one-parameter read-only lookup with no output schema, describing the returned fields (including the conditional coordinate) covers the main gap an agent would have. The remaining omission is error/not-found behavior, which is minor but non-trivial for a lookup keyed on a user-supplied identifier.

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?

There is a single parameter with 100% schema description coverage, and the schema already documents both accepted formats ('01310-100' and '01310100'). The description adds no further meaning about the CEP argument, so the baseline of 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?

The title plus the field list (rua, bairro, cidade, estado, código IBGE, coordenada) make it unambiguous that this tool resolves a CEP into address data, which clearly separates it from siblings such as lookup_bank or lookup_area_code. There is no explicit verb like 'retorna'/'consulta', so the action is inferred from the enumerated fields rather than stated.

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

Usage Guidelines2/5

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

The definition contains no when-to-use or when-not-to-use guidance, and no indication of what to do when the CEP is invalid or unknown. The agent must infer that this is the address-lookup tool purely from the name and the field list.

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.

Resources