Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

UFs e faixas de CEP

correios_ufs
Read-onlyIdempotent

Retrieves Brazilian state abbreviations with names and CEP ranges, optionally filtered by UF, to validate whether a postal code belongs to the stated state.

Instructions

UFs com o nome e as faixas de CEP de cada uma (GET /cep/v1/ufs[/{uf}]). Útil para validar se um CEP pertence à UF informada.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "correios_ufs"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNoSigla da UF (vazio = todas).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the endpoint route and shows the uf segment is optional, but says nothing about pagination, response size, or rate limits. That is useful context beyond annotations, but not rich.

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, front-loaded with what the tool returns, then the practical use case. No redundant restatement of the title or annotations; every sentence earns its place.

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 trivial one-parameter GET with no output schema, the description tells the agent what is returned (UF name plus CEP ranges) and what the tool is for. Return-shape detail is not strictly needed absent an output schema, but the lack of any response format hint leaves a small 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?

Schema coverage is 100% and the uf parameter is already documented as 'Sigla da UF (vazio = todas)'. The description's '(GET /cep/v1/ufs[/{uf}])' reinforces that the segment is optional, but adds no format or value details beyond the schema. Baseline 3 applies when the schema carries the parameter semantics.

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 description names the resource precisely ('UFs com o nome e as faixas de CEP de cada uma') and backs it with the endpoint (GET /cep/v1/ufs[/{uf}]), so an agent can tell it returns state/CEP-range data rather than address or freight data like its siblings. It stops short of explicitly contrasting with siblings, which keeps it at 4 rather than 5.

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?

It supplies one concrete use case – validating whether a CEP belongs to a given UF – which is the main implied trigger. There is no statement of when to prefer a sibling (e.g. correios_cep) or any exclusion, so usage is only partially guided.

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