Skip to main content
Glama

MailSnail (no account)

Get letter status

get_letter
Read-onlyIdempotent

Get the status of a letter by the draft_id it was previewed and paid under: whether it has been paid for, whether it has been handed to the printer, and its latest USPS scan once it has been mailed. For certified letters the result includes the USPS tracking number and a usps.com tracking link. Free: read-only, does not charge.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "get_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesThe draft_id from preview_letter that send_letter was called with.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 bar is lower; the description adds the cost attribute ('Free... does not charge') and, more importantly, discloses what the response contains at each lifecycle stage. It does not cover behavior for an unknown or never-sent draft_id, which is the main remaining gap.

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 core action and identifier, then the return contents, then the cost/safety line. Nothing is redundant.

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, describing the returned fields (paid state, printer handoff, USPS scan, tracking number and link) is exactly the right compensation, and the single parameter is fully documented. Only error/not-found behavior is left unaddressed.

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 schema field already explains the draft_id's provenance, so the schema does the heavy lifting. The description reinforces that it is the id used for preview and payment but adds no format or edge-case detail beyond that.

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?

The description names a specific verb and resource (get the status of a letter) and enumerates exactly what status means: paid, handed to printer, latest USPS scan, plus tracking number/link for certified letters. That is clearly distinct from preview_letter, send_letter, and verify_address.

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 states the precondition clearly: use the draft_id it was previewed and paid under, which pins down when this tool applies in the workflow. It does not spell out when-not-to-use or name a sibling as an alternative, but the surrounding lifecycle is unambiguous.

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