Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Prazo internacional

correios_prazo_internacional
Read-onlyIdempotent

Get estimated delivery times for international Correios shipments, for export or import, using the service code, country or postal codes, and posting date.

Instructions

Prazo internacional (GET /prazo/v2/internacional/{exportacao|importacao}/{coProduto}).

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": {
      "sentido": "<sentido>",
      "servico": "<servico>"
    },
    "name": "correios_prazo_internacional"
  }
}

Input Schema

NameRequiredDescriptionDefault
sentidoYesexportacao (BR → exterior) ou importacao.
servicoYesCódigo do serviço internacional.
cep_origemNoImportação: CEP de entrada no Brasil.
cep_destinoNoImportação: CEP de destino.
pais_origemNoExportação: sigla do país de origem.BR
pais_destinoNoExportação: sigla do país de destino.
data_postagemNoData de postagem.hoje

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/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 only the request path; it says nothing about latency, external dependency on Correios availability, error behavior for invalid service codes, or what the returned prazo represents in units.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short line, front-loaded with the resource name, so nothing is bloated. However the brevity comes from omission rather than economy — the only added content is a raw endpoint path, which is structure without explanatory value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, two alternative direction modes, and no output schema, the description should at minimum explain what the return value is (deadline in days/workdays, per service) and how the exportacao/importacao paths use different CEP vs country fields. Neither is present, leaving an agent to infer everything from field names.

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 each of the 7 parameters (sentido, servico, cep_origem, cep_destino, pais_origem, pais_destino, data_postagem) is already documented, including the enum for sentido. The endpoint template hints that sentido is path-scoped, but the description adds no further semantics, so the baseline 3 applies.

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

Purpose2/5

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

The description restates the title ('Prazo internacional') and appends the HTTP endpoint template. It never states in plain language that the tool returns an estimated international delivery deadline, nor does it distinguish itself from siblings such as correios_prazo (domestic) or correios_preco_internacional (pricing).

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?

There is no when-to-use guidance at all: no indication of when to pick this over correios_prazo or correios_preco_internacional, no prerequisite or contract requirements, and no note that exportacao vs importacao change which fields are relevant.

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