Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Solicitar faixa de etiquetas

correios_rotulos_solicitar_faixa
Destructive

Reserves a range of Correios object/label codes for a selected service and quantity, using the monthly label balance. Requires write access enabled and user confirmation.

Instructions

⚠️ ESCRITA — reserva uma faixa de códigos de objeto (etiquetas) para o serviço (POST …/rotulo/range). Consome o saldo mensal (correios_rotulos_saldo). Exige CORREIOS_ENABLE_WRITES=true e confirmação do usuário.

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": {
      "codigo_servico": "<codigo_servico>",
      "quantidade": "<quantidade>"
    },
    "name": "correios_rotulos_solicitar_faixa"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantidadeYesQuantidade de códigos.
codigo_servicoYesCódigo do serviço.

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?

The annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description still earns credit by adding the monthly-quota consumption consequence and the two gating requirements (env flag plus user confirmation). It does not say whether a partial failure or retry re-consumes balance, which would matter for a non-idempotent operation.

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?

Three short sentences with the write warning and destructive nature front-loaded, followed by cost, then preconditions. No sentence is redundant or padded.

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?

For a two-parameter mutation with no output schema, the description covers the write gate, cost impact, and endpoint. The one notable gap is that it never says what comes back (the reserved code range), which an agent needs to chain into label generation.

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%, so the baseline is 3; the description only adds the notion that the codes are tied to a service, without explaining the service-code format or the practical effect of the 1000 cap and exclusive minimum. The schema is doing essentially all the parameter 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?

The description states a specific verb and resource — reserving a range of object codes (labels) for a service via POST …/rotulo/range — and clarifies that it reserves a block rather than a single label. It does not explicitly distinguish itself from the sibling that lists already-requested ranges (correios_rotulos_solicitados), leaving a small differentiation gap.

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?

It gives clear preconditions for use: writes must be enabled via CORREIOS_ENABLE_WRITES=true and the user must confirm, and it points at correios_rotulos_saldo as the related balance check. It stops short of saying when not to use it or naming an alternative path for listing/consuming existing ranges.

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