Skip to main content
Glama

liferelo__viacep_postal_lookup

Look up a Brazilian address by 8-digit CEP postal code, e.g. query "01310100": street, district, city and state. Source: ViaCEP. License: Free API, commercial use permitted with attribution (ViaCEP).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the upstream source (ViaCEP) and licensing/attribution terms, which is genuinely useful operational context, but says nothing about failure behavior for malformed or unknown CEPs, rate limits, or whether results are cached.

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?

Two compact sentences, front-loaded with the input format and example before the return fields and provenance. The licensing sentence is marginal but brief enough to justify for a third-party API dependency.

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 correctly compensates by listing the returned address components, and it supplies the input format the schema punts on. Only pagination/limit semantics and error cases are unaddressed, and the former is covered by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds real meaning: the schema only says 'Search term for this source (see the tool description for what it expects)', and the description is what actually specifies the required 8-digit CEP format with an example. The 'limit' parameter is left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('look up a Brazilian address by 8-digit CEP'), names the exact input format with a concrete example ('01310100'), and enumerates the returned fields (street, district, city, state). The 'Brazilian'/'CEP' scoping cleanly separates it from the other national postal lookups in the sibling list.

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: the country and 8-digit format constraints effectively route the agent to this tool for Brazilian CEPs, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. versus the generic postal_code_lookup).

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.