Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Resultado de recibo do SRO

correios_rastreio_recibo
Read-onlyIdempotent

Retrieves the result of an asynchronous SRO processing request using the receipt number returned when requesting shipment images.

Instructions

Busca o resultado de um processamento assíncrono do SRO (GET /srorastro/v1/recibo/{recibo}).

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

Input Schema

NameRequiredDescriptionDefault
reciboYesNúmero do recibo devolvido por correios_rastreio_solicitar_imagens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds the meaningful fact that this reads the output of an asynchronous job, which hints at polling semantics, but it does not disclose what happens when the receipt is unknown or the job is still processing.

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 operation front-loaded and the endpoint appended for disambiguation. No wasted wording, though the HTTP path is somewhat redundant for an agent that never sees raw requests.

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

Completeness3/5

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

With one simple parameter and no output schema, the definition is callable, but it leaves the return shape undefined — an agent cannot tell whether it gets tracking events, image links, or a processing status. Given the asynchronous nature, some indication of the result payload or pending state would materially improve completeness.

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 parameter description already explains that recibo comes from correios_rastreio_solicitar_imagens. The description only adds that the value is a path segment in the URL, which is marginal — baseline 3 is appropriate since the schema does the heavy lifting.

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+resource: retrieves the result of an asynchronous SRO processing job, and even names the endpoint (GET /srorastro/v1/recibo/{recibo}). It is clear what the tool returns, though the description itself does not name a sibling it is distinct from — that linkage only appears in the schema's parameter text.

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 'resultado de um processamento assíncrono' implies this is a follow-up call after submitting a request, but the description never says when to call it (e.g. after correios_rastreio_solicitar_imagens) or what to do if processing is not finished. The usage context is inferable rather than stated.

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