Skip to main content
Glama

MCPMails — Digital Email & Physical USPS Mail MCP + x402 Payment Router

physical_create_letter

Compose, proof, and optionally finalize & dispatch a physical USPS letter (8.5x11, Legal, or Certified Mail with Electronic/Green-Card Return Receipt). Pass dispatch=true (requires send scope) to submit immediately to the MCPMails US Print Network, or call physical_create_checkout / physical_create_crypto_payment.

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>",
      "frontHtml": "<frontHtml>"
    },
    "name": "physical_create_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromNo
colorNo
titleNo
dispatchNo
frontHtmlYes
mailClassNo
mergeVarsNo
productIdNo
doubleSidedNo
extraServiceNo
idempotencyKeyNo
returnEnvelopeNo
addressPlacementNo
watermarkDiscountNoKeep subtle "Mailed via mcpmails.com" footer watermark for 25% off

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / watermarkDiscount
      Added value: +{
      +  "description": "Keep subtle \"Mailed via mcpmails.com\" footer watermark for 25% off",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / provider
      Removed value: -{
      -  "enum": [
      -    "lob",
      -    "postgrid"
      -  ],
      -  "type": "string"
      -}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description adds genuine context: dispatch requires the send scope and sends immediately to an external print network, which signals irreversibility and permission gating. It does not address the idempotencyKey safety mechanism, whether a dispatched piece can still be cancelled (physical_cancel_mailpiece exists), or what happens to drafts.

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 dense sentences with the action and the dispatch condition front-loaded, no filler. The nested parentheticals about paper size and return-receipt variants are slightly compressed but still readable.

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

Completeness3/5

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

For a 15-parameter mutation with no output schema and near-zero schema documentation, the description leaves significant gaps: address object requirements, idempotency behavior, and the four enum parameters are unexplained. It covers the dispatch path and format options adequately, which keeps it at minimum-viable rather than inadequate.

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

Parameters2/5

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

Schema description coverage is only 7% across 15 parameters, so the description carries the burden and largely does not. It explains `dispatch` and implies productId/extraService through the letter-format parenthetical, but says nothing about mailClass, addressPlacement, doubleSided, mergeVars, returnEnvelope, idempotencyKey, or the required `to`/`frontHtml` fields.

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 opens with a specific verb stack and resource: 'Compose, proof, and optionally finalize & dispatch a physical USPS letter,' and names concrete formats (8.5x11, Legal, Certified Mail with Return Receipt). It separates itself from the checkout/crypto-payment siblings, but does not explicitly contrast with adjacent mailpiece creators like physical_create_postcard or physical_create_self_mailer.

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 conditional: pass dispatch=true to submit immediately, otherwise route to physical_create_checkout or physical_create_crypto_payment. That is real when-to-use-vs-alternative guidance. It stops short of saying when a letter is the wrong product choice versus other mailpiece types, or what the non-dispatch draft state means for later actions.

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