Skip to main content
Glama

get_batch_mail_proof

Read-onlyIdempotent

A proof for the person checking the batch: a one-hour link to a PDF of the template as recipient N's piece prints (their fields filled in, the QR code where it goes, a sample code until the pieces exist, and the insert), then the address label the facility applies at its real size, next to the return address. Also returns the label's lines as text. proof_url opens in any browser or IDE for an hour, with no key, so the person checking the batch can see it before the batch is confirmed. (links.proof on the batch is the API route itself and needs the API key.)

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": {
      "batch_id": "<batch_id>"
    },
    "name": "get_batch_mail_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesThe batch's id (UUID).
recipientNoWhich valid recipient to proof, 1-based. Default 1.

Output Schema

NameRequiredDescriptionDefault
resultYesproof_url (signed, one hour), expires_in, recipient, of, label (lines), page_count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / batch_id / description
      Previous value: -"The batch's id (UUID) from create_batch_mail or list_batch_mail."New value: +"The batch's id (UUID)."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the link's one-hour expiry, that it needs no API key and opens in any browser or IDE, exactly what the PDF contains (filled fields, QR code placement, a sample code placeholder until pieces exist, the insert), and that label lines are also returned as text. This is unusually rich behavioral context that an agent could not infer from the annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main idea is front-loaded, but the body is a single sprawling sentence with nested parentheses covering PDF contents, label sizing, link expiry, and key requirements. Every fact is useful, yet the packaging makes it harder to scan than a short bulleted structure would.

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?

An output schema exists, so return values needn't be explained, yet the description still describes the PDF and label output in detail, which is helpful but partly redundant. It covers expiry, authentication, and content thoroughly; the only mild gap is not stating error behavior for an out-of-range recipient index.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining that the proof reflects 'recipient N's piece' with that recipient's fields filled in, clarifying what the recipient parameter selects. It does not restate the 1-based/default-1 detail, which the schema already covers, but the added semantic link between parameter and rendered output justifies a 4.

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 clearly conveys that this tool produces a proof artifact for a batch recipient: a one-hour PDF link plus the address label rendered at real size and its lines as text. It is distinguishable from the nearby get_batch_mail because it explicitly frames the output as a per-recipient proof rather than batch data. The core verb ('get'/'returns') is buried in a long parenthetical sentence, which slightly blunts the clarity.

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 a clear usage context: the proof is for the person checking the batch, to be viewed before the batch is confirmed. It also disambiguates proof_url from links.proof on the batch, noting the latter is the API route and needs a key. It stops short of naming sibling tools like get_batch_mail or confirm_batch_mail as alternatives/exclusions, so the routing guidance is implicit rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.