Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Baixar rótulo pelo recibo

correios_rotulo_baixar
Idempotent

Download a previously requested Correios shipping label as a PDF using the receipt ID returned when the label was generated.

Instructions

Baixa um rótulo já solicitado e salva o PDF (GET …/rotulo/download/assincrono/{idRecibo}).

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": {
      "recibo": "<recibo>"
    },
    "name": "correios_rotulo_baixar"
  }
}

Input Schema

NameRequiredDescriptionDefault
reciboYesRecibo devolvido por correios_rotulo_gerar.

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 cover safety (idempotent, non-destructive, open-world, not read-only), so the description's added value is the note that it saves a PDF file. It does not address the asynchronous nature: whether the label may be unavailable, whether retries/polling are needed, or where the file is written.

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 efficient sentence with the action front-loaded and the endpoint as supporting detail; nothing is wasted or buried.

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, return values need no explanation, and the action plus prerequisite are stated. The remaining gap is the async/not-ready behavior for a download endpoint, which is modest but real.

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% and the single parameter already documents that the value comes from correios_rotulo_gerar. The description adds only the mapping of 'recibo' to the {idRecibo} path segment, which is marginal beyond the schema 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?

States a specific verb and resource: downloads an already-requested label and saves the PDF, even naming the endpoint route. It is clearly distinguishable from correios_rotulo_gerar, though the sibling linkage only appears indirectly via the URL placeholder and the schema, not in the description prose.

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?

The phrase 'já solicitado' implies the prerequisite that a label must exist before downloading, which is useful implied guidance. However, there is no explicit when-to-use/when-not, and no mention of what to do if the label is not yet generated (the endpoint is asynchronous).

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