Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Data prevista de entrega

correios_data_prevista
Read-onlyIdempotent

Calculates the expected delivery date from the posting date and service deadline using the Correios calendar, including local holidays.

Instructions

Calcula a data prevista de entrega a partir da data de postagem e do prazo, usando o calendário dos Correios (feriados locais inclusos) (GET /prazo/v1/data-prevista).

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": {
      "cep_destino": "<cep_destino>",
      "prazo_dias": "<prazo_dias>"
    },
    "name": "correios_data_prevista"
  }
}

Input Schema

NameRequiredDescriptionDefault
servicoNoCódigo do serviço (opcional).
cep_origemNoCEP de origem. Padrão: CORREIOS_CEP_ORIGEM.
prazo_diasYesPrazo do serviço em dias úteis (ex.: vindo de correios_prazo).
cep_destinoYesCEP de destino.
data_postagemNoData da postagem.hoje
sabado_dia_utilNoConsiderar sábado como dia útil.
domingo_dia_utilNoConsiderar domingo como dia útil.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 genuine behavioral context beyond that — the result is computed against the Correios calendar with local holidays included — but says nothing about the returned date format or how weekend flags affect the count.

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?

A single well-formed sentence with the calculation front-loaded and the endpoint appended as a compact identifier. The parenthetical holiday note is useful; the endpoint path is the only mildly dispensable element.

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 calculation tool whose parameters are fully described in the schema, the description covers what is computed and the calendar rules behind it. The notable gap is the absence of any statement about the return value's shape or format, which matters since there is no output schema.

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 every parameter including prazo_dias, data_postagem and the sabado/domingo flags is already documented in the schema. The description's mention of posting date, prazo and the calendar adds only marginal meaning on top of that, which is the expected baseline.

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 a specific verb and result ('Calcula a data prevista de entrega') and states the two inputs it derives that from (posting date and prazo), plus the underlying endpoint GET /prazo/v1/data-prevista. It is clearly a date-calculation tool rather than a lookup, distinguishing it from siblings like correios_prazo, though it never explicitly names that sibling as the source of prazo_dias.

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: it is the step that turns a prazo in days into an actual calendar date. There is no explicit when-to-use/when-not statement and no pointer to correios_prazo or correios_cotar_frete as the upstream source of the prazo value, so the agent must infer the call sequence.

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