Skip to main content
Glama

grid402_cep

Look up Brazilian postal addresses by 8-digit CEP to retrieve street, neighborhood, municipality, state, and IBGE code for 0.0050 USDC per query.

Instructions

Consulta a base pública de endereçamento postal brasileiro retornando logradouro, bairro, município, UF e código IBGE oficial (0.0050 USDC / 1 crédito).

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

Input Schema

NameRequiredDescriptionDefault
codeYesCódigo de CEP brasileiro com 8 dígitos numéricos (ex: "01310100" para Av. Paulista).
payment_tx_hashNoComprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum ou Solana: 0x..., polygon:0x..., arbitrum:0x..., solana:<base58>, payload x402 base64 ou token pass_g402_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / payment_tx_hash / description
      Previous value: -"Hash opcional de transação na Base Mainnet com 0.0050 USDC."New value: +"Comprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum ou Solana: 0x..., polygon:0x..., arbitrum:0x..., solana:<base58>, payload x402 base64 ou token pass_g402_...)."
  2. Changed1 schema field changedv1.7.1
    • changedInput schema / properties / payment_tx_hash / description
      Previous value: -"Hash opcional de transação na Base Mainnet com 0.0005 USDC."New value: +"Hash opcional de transação na Base Mainnet com 0.0050 USDC."
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful behavioral facts: the data comes from an official public base and each call costs 0.0050 USDC / 1 credit. However, it says nothing about whether payment is mandatory before the lookup, what happens with an invalid or unknown CEP, or any rate limits, leaving real gaps for a paid tool.

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 front-loaded sentence packs purpose, return payload, and price with no wasted wording. The price parenthetical is slightly tangential to the core definition but is legitimate cost context for a paid tool.

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?

Only two parameters, both fully described in the schema, and no output schema — so listing the return fields in the description is exactly the right compensation. The remaining gap is the payment flow (when a tx hash is required vs optional), which is only partially inferable from the schema.

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%, so both the code format and the multi-chain payment_tx_hash formats are already fully documented in the schema. The description adds only the returned fields, not any new meaning for the parameters, so 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?

"Consulta a base pública de endereçamento postal brasileiro" gives a specific verb (lookup) and resource (Brazilian postal addressing database), and it enumerates the returned fields (logradouro, bairro, município, UF, código IBGE). The postal-code domain clearly separates it from siblings like grid402_cnpj or grid402_cep-adjacent tools, though no sibling is named 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 this is for resolving an 8-digit CEP into address components, but there is no explicit when-to-use, when-not-to-use, or named alternative. No prerequisites or failure conditions are mentioned.

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