Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Tabelas de referência

correios_referencia
Read-onlyIdempotent

Look up Correios reference codes and explanations for service codes, additional services, object formats, pre-postage statuses, SRO events, and known errors to resolve API and shipment questions.

Instructions

Tabelas de referência: códigos de serviço comuns (os do SEU contrato vêm de correios_contrato_servicos), serviços adicionais (AR, MP, VD…), formatos de objeto, situações de pré-postagem, eventos SRO frequentes e erros conhecidos com a explicação.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.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 is fully covered. The description adds one meaningful behavioral fact beyond them: that these are static reference tables and that contract-specific codes are authoritative elsewhere, preventing an agent from treating this catalog as complete. No further behavior (lookup mechanics, size, update cadence) is disclosed, so a 3 fits.

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?

A single sentence, front-loaded with the resource name, whose every clause names a concrete category of reference data the agent will get. The parenthetical caveat is placed inline where it matters and nothing is redundant.

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 an output schema present and zero parameters, the description need not explain return values, and the enumerated categories give a good inventory of what the call yields. What remains unsaid is how the tables are keyed/structured for lookup (e.g., by code vs. by name), a minor gap given the output schema covers the shape.

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?

The tool takes zero parameters, so the baseline is 4 and there is no parameter semantics to compensate for. The description does not need to explain inputs at all.

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 resource (reference tables) via an enumerated list of contents: common service codes, additional services, object formats, pre-posting statuses, SRO events, known errors. It also explicitly distinguishes the sibling correios_contrato_servicos as the source for contract-specific codes, so an agent can tell them apart without opening either schema.

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

Usage Guidelines4/5

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

The parenthetical '(os do SEU contrato vêm de correios_contrato_servicos)' gives a clear routing rule away from this tool for contract-specific codes, which is genuine when-to-use guidance. It stops short of an explicit trigger such as when to consult it during a flow (e.g., before interpreting an SRO event or an error code), so the usage context is clear but not fully spelled out.

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