Skip to main content
Glama

MailSnail (no account)

Preview letter proof

preview_letter
Read-only

Create a proof of a letter without charging or mailing it. No account is needed. Returns proof_url (a PDF of exactly what will be printed), the USPS address check on the recipient as to_deliverability, the exact price as price_cents (paid by card, for this one letter), and a draft_id. Calling send_letter with that draft_id returns the page where the user pays for exactly this proof at exactly that price, so reviewing the proof and price with the user first avoids mistakes on a paid, irreversible send. The letter is typed text (body_text); US addresses only. Priced at our cost and paid by card, one letter at a time: from $1.51 for a first-class letter, $8.83 certified, $11.83 certified with an electronic return receipt, and $14.42 certified with a green-card return receipt; extra pages and color are priced at our cost.

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": {
      "to": "<to>",
      "from": "<from>",
      "body_text": "<body_text>"
    },
    "name": "preview_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
colorNo
body_textYesPlain text of the letter, rendered to a letter-sized PDF server-side.
double_sidedNo
extra_serviceNo`certified`: USPS Certified Mail (tracking + proof of mailing). `certified_return_receipt`: adds the physical green card (PS Form 3811) signed on delivery and mailed back to the `from` address. `certified_return_receipt_electronic`: adds a PDF of the delivery signature instead of the physical card (cheaper).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

The description goes well beyond the annotations by naming the returned fields (proof_url, to_deliverability, price_cents, draft_id), the no-charge/no-mail guarantee, the card-payment model, and the irreversible-send risk. However, the annotations declare readOnlyHint=true while the tool evidently persists a draft_id that later drives a paid send — a mild tension the description does not reconcile, though it is not a direct contradiction since no charge or mail occurs here.

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?

Front-loaded with the core action and its safety constraint, then return values, then the send_letter handoff, then pricing. The final pricing sentence is the longest and least decision-relevant, but it does supply concrete cost anchors the agent can quote to a user.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description names every meaningful return field and explains what each represents, including the deliverability check and the exact price guarantee. For a nested-schema, six-parameter tool with a draft-then-pay workflow, this covers what an agent needs to call it and interpret the result.

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?

With only 33% schema description coverage, the description carries real weight: it clarifies body_text as typed text rendered to a letter-sized PDF, and unpacks the extra_service enum into concrete USPS products with per-tier prices (first-class, certified, certified + green card, certified + electronic return receipt). color and double_sided are only touched obliquely ("extra pages and color are priced at our cost"), and the to/from nested requirements are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ("Create a proof of a letter") and immediately bounds it with the negative scope "without charging or mailing it," which distinguishes it from the sibling send_letter. An agent can tell exactly what this tool produces (a PDF proof plus quote) without opening the schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: call this first, then pass the returned draft_id to send_letter to reach the payment page, and states the rationale ("reviewing the proof and price with the user first avoids mistakes on a paid, irreversible send"). It also notes no account is required and restricts eligibility to US addresses.

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.

Resources