Skip to main content
Glama

Get mail order

get_mail_order
Read-onlyIdempotent

Use when an existing order or postcard draft needs its button shown again, or to see whether it was paid and mailed. Reads the order fresh from its link and shows its pieces, total, status and button. Creates nothing, and never charges money or mails anything.

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": {
      "url": "<url>"
    },
    "name": "get_mail_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe link of an existing order or unpaid postcard draft.

Output Schema

NameRequiredDescriptionDefault
urlYesThe link the person opens to review every piece, fix addresses and pay. It expires after about a week.
totalNoThe order's total, postage included.
piecesNo
statusNodraft or pending_payment until the person pays; paid while printing; mailed once every piece is with USPS; failed if any piece couldn't be mailed.
continue_urlYesThe same link as url, for agents that carry checkout on in a browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description is not required to carry the full safety burden. It still adds useful behavioral detail specific to this domain: it reads fresh from the link, creates nothing, never charges money, and never mails anything.

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?

The description is three sentences, front-loads the usage condition, and each sentence contributes new information. There is no redundant or filler wording.

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?

The tool is simple, has an output schema, and is covered by rich annotations. The description supplies when-to-use guidance, side-effect exclusions, and a brief preview of returned information, leaving no significant gap for an agent to call it correctly.

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%, and the single url parameter is already documented as the link of an existing order or unpaid postcard draft. The description reinforces that the URL refers to an existing order or draft, but adds little semantic detail beyond 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?

The description uses a specific read/retrieve verb and clearly states what the tool returns: the order's pieces, total, status, and button. It distinguishes itself from the sibling create_mail_order by explicitly saying it creates nothing.

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 when-to-use condition: showing an existing order or postcard draft button again, or checking whether it was paid and mailed. It also signals when not to use it by stating it creates nothing, but it does not explicitly name create_mail_order as the alternative for creation.

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.