Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Imprimir DACE

correios_dace_imprimir
Idempotent

Generates and saves DACE auxiliary documents for Correios-issued DC-e pre-postage records, with complete, summarized PDF, or thermal text output.

Instructions

Gera o DACE (documento auxiliar da DC-e emitida pelos Correios) e salva em disco (POST …/dce/dace/impressao). Só para pré-postagens com DC-e emitida pelos Correios.

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

Input Schema

NameRequiredDescriptionDefault
tipoNoC completa, R resumida (PDF) ou T térmica (texto).C
codigos_objetoNoCódigos dos objetos com DC-e.
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

A4/5.0
Behavior4/5

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

Annotations already declare the mutation/idempotency/open-world profile, and the description adds genuinely new behavior: the call produces a file written to disk and hits a specific POST endpoint. It does not describe the resulting file location or naming, but the disk-write side effect is the key trait an agent needs.

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 sentences, front-loaded with the action and resource, then the scope constraint. No filler, no repetition of the title.

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?

Output schema exists and parameters are fully described, so the description only needs to cover scope and side effects, which it largely does. The remaining gap is that with zero required parameters an agent is not told it must supply either objeto codes or pre-postagem IDs.

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% and the enum values for 'tipo' are fully documented inline, so the schema does the heavy lifting. The description adds nothing about 'codigos_objeto' vs 'ids_prepostagem' or the fact that one of them is effectively required despite zero required parameters.

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 DACE ... e salva em disco') and even names the endpoint (POST …/dce/dace/impressao). The scope restriction ('Só para pré-postagens com DC-e emitida pelos Correios') further narrows what the tool acts on, though no sibling is named as an alternative.

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?

Gives an explicit applicability precondition: only pre-postagens whose DC-e was issued by Correios. That is a real when-to-use rule rather than implied guidance, but no exclusion or alternative tool is mentioned for the other cases.

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