Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Aviso de recebimento (AR)

correios_aviso_recebimento
Idempotent

Generates printable Aviso de Recebimento (AR) forms as HTML for shipment objects that include the AR additional service, using object codes or pre-postage IDs.

Instructions

Gera o formulário de Aviso de Recebimento (AR) para impressão e salva em HTML (GET …/avisorecebimento/{ids}). Só para objetos com o adicional AR (001).

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

Input Schema

NameRequiredDescriptionDefault
codigos_objetoNoCódigos dos objetos com AR.
ids_prepostagemNoOu IDs das pré-postagens.

Output Schema

NameRequiredDescriptionDefault

No arguments

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=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the bar is lower. The description adds that the call both generates the form and saves it as HTML (explaining the non-read-only hint) and requires the AR extra service, but it does not say where the HTML is saved, whether it overwrites prior output, or whether repeated calls accumulate files.

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?

Two short sentences with the action front-loaded and the eligibility constraint placed last as a guard. The parenthetical endpoint is compact; nothing is wasted, though the very terse phrasing borders on under-explaining the save step.

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?

An output schema exists, so return values need no explanation, and the AR precondition covers the key prerequisite. The notable gap is the destination/format of the saved HTML file, which an agent would need to report a usable result.

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?

Schema coverage is 100%, so both parameters are already documented, and the description's AR-only constraint meaningfully narrows which object codes are valid input. It still does not clarify whether codigos_objeto and ids_prepostagem are alternatives or combinable, though the schema's 'Ou' already implies that.

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?

States a specific verb and resource ('Gera o formulário de Aviso de Recebimento (AR)') plus the endpoint pattern (GET …/avisorecebimento/{ids}). It does not differentiate itself from the sibling correios_ar_digital, so an agent must guess which AR-related tool applies.

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?

Gives a real precondition: 'Só para objetos com o adicional AR (001)', which filters when the tool is valid. However it names no alternative for objects without AR and gives no comparison against correios_ar_digital or the printing siblings, leaving usage partly inferred.

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