Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

AR digital

correios_ar_digital
Read-onlyIdempotent

Retrieves the digital delivery acknowledgment (signed/image proof of delivery) for up to 10 objects posted with the AR Digital add-on.

Instructions

Consulta o Aviso de Recebimento digital (comprovante de entrega com assinatura/imagem) de até 10 objetos (GET /srorastro/v1/ar-digital). Só existe para objetos postados com o adicional AR digital.

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": {
      "codigos": "<codigos>"
    },
    "name": "correios_ar_digital"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigosYes1 a 10 códigos de objeto com AR digital contratado.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 openWorld, so the safety profile is covered. The description usefully adds the eligibility constraint and the endpoint path, but it does not say what happens when a code lacks the AR digital adicional, nor whether results are per-object successes or a single combined proof.

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?

Two short sentences: the first defines the resource and its limit, the second states the precondition. Nothing is redundant and the key scope constraint is front-loaded.

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?

For a one-parameter read with no output schema, the description covers purpose and eligibility well, but it leaves the return shape ambiguous (signature image, PDF, per-object payload?) despite having no output schema to fall back on.

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 'codigos' parameter is already documented as '1 a 10 códigos de objeto com AR digital contratado'. The description restates the 10-object ceiling but adds no format, batching, or ordering semantics beyond that, so the schema is doing the work.

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 ('Consulta o Aviso de Recebimento digital'), explains what the record contains ('comprovante de entrega com assinatura/imagem'), and gives the endpoint plus a hard scope limit of 10 objects. It implicitly separates itself from the generic 'correios_aviso_recebimento' sibling by stressing 'digital', but never names that alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a genuine eligibility precondition: it only exists for objects posted with the 'AR digital' adicional, which tells the agent when this tool will not apply. It stops short of naming a fallback tool (e.g. the physical AR lookup) for objects without that adicional.

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