Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Cartões de postagem

correios_cartoes
Read-onlyIdempotent

Retrieves postage cards for a Correios contract, filtering by status or validity, or returns details for a single card by its number.

Instructions

Cartões de postagem do contrato, com status e vigência (GET …/contratos/{nuContrato}/cartoes[/{nuCartaoPostagem}]).

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_cartoes"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoCNPJ (padrão: o da credencial).
statusNoFiltra por status.
vigenteNoSó vigentes.
contratoNoContrato (padrão: o da sessão).
cartao_postagemNoDetalha UM cartão; vazio lista todos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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, so the safety profile is covered. The description adds the GET path and says results include status and vigência, plus optional single-card detail, but it omits pagination, error behavior, and auth context.

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?

The description is a single front-loaded sentence with no filler. The endpoint template is compact and supports the stated purpose without redundant wording.

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 read-only lookup with full schema coverage and safety annotations, the description sufficiently covers purpose, scope, and the list-versus-single-card mode. It remains thin on usage guidance and return-shape detail, but no output schema exists and the core call context is present.

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%, so all five parameters are already documented. The description maps the contract and optional card path segments and mentions status/vigência, but it does not add filter or default semantics beyond what the schema provides.

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 specific resource (cartões de postagem do contrato), indicates the operation through GET, and notes the single-card detail variant in the endpoint path. It does not explicitly contrast with sibling contract tools, so it is clear but not fully differentiated.

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 description implies the resource context but gives no explicit when-to-use or when-not-to-use guidance, and it does not mention alternatives such as contract-level tools. An agent must infer usage from the endpoint path alone.

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