Skip to main content
Glama
Correios MCP Server

Correios MCP Server

by fabianoomura

Saldo de etiquetas

correios_rotulos_saldo
Read-onlyIdempotent

Retrieve monthly label code range balance for a Correios contract, showing maximum, requested, remaining ranges, and average postings. Use it to check availability before requesting new label ranges.

Instructions

Saldo de etiquetas (faixas de código) do contrato no mês: máximo, solicitado, saldo e média de postagens (GET …/rotulo/{numeroContrato}/saldo). Só relevante para quem pede faixas de etiquetas.

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

Input Schema

NameRequiredDescriptionDefault
contratoNoContrato (padrão: o da sessão).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real value beyond that by disclosing the monthly scope and the exact set of figures returned (max, requested, balance, average postings), which partially substitutes for the absent output schema. It says nothing about permissions or failure modes, keeping it below a 5.

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?

Two compact sentences: the first front-loads what is returned, the second states relevance. The embedded endpoint path and parenthetical are slightly dense but each carries information. No filler or repetition.

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 no output schema, the description helpfully names the returned fields, and the single optional parameter is fully covered by the schema. For a simple read-only quota lookup this is nearly complete; only the distinction from the sibling label-range tools is left implicit.

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 (contrato, defaulting to the session contract) is fully documented in the schema. The description's phrase "do contrato no mês" is consistent but adds no syntax or fallback detail beyond what the schema already states, so the baseline of 3 applies.

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 names a specific resource (label/code-range balance for a contract in the month) and enumerates the metrics returned: máximo, solicitado, saldo, média de postagens. The endpoint path reinforces the resource. It does not explicitly distinguish itself from siblings like correios_rotulos_solicitados or correios_rotulos_solicitar_faixa, so it stops short of a 5.

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?

"Só relevante para quem pede faixas de etiquetas" implies the applicable context (callers who request label ranges), which is useful scoping. However, it gives no explicit when-to-use versus the closely named siblings that deal with requested labels and requesting ranges, leaving the agent to infer the split.

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