Skip to main content
Glama

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

physical_create_self_mailer

Compose, proof, and optionally dispatch an envelope-free bi-fold or tri-fold USPS self-mailer.

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_self_mailer"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromNo
titleNo
backHtmlNo
dispatchNo
frontHtmlYes
mailClassNo
mergeVarsNo
productIdNo
idempotencyKeyNo
watermarkDiscountNoKeep subtle "Mailed via mcpmails.com" watermark to save 25%

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\" watermark to save 25%",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / provider
      Removed value: -{
      -  "enum": [
      -    "lob",
      -    "postgrid"
      -  ],
      -  "type": "string"
      -}
  3. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare a non-read-only, open-world, non-idempotent, non-destructive operation, so the description owes context beyond that. It does not explain what 'proof' produces, whether dispatch charges postage immediately, how idempotencyKey affects retries, or that the watermarkDiscount toggle reduces cost 25% — all material behaviors for an agent deciding to call this.

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?

A single front-loaded sentence with no filler, which is good structure, but it is under-specified rather than concise — the brevity comes at the cost of nearly all operational detail for a complex create tool.

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

Completeness2/5

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

For a paid, physically printed mailpiece creation with no output schema and almost no schema descriptions, the definition omits pricing/estimation behavior, return values (mailpiece ID?), and the proof step. An agent could not confidently invoke this correctly from the description alone.

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?

With 11 parameters, nested address objects, and only 9% schema description coverage, the description carries the burden of explaining parameters and largely fails. It conveys only that bifold/trifold formats exist (mapping loosely to productId) and that dispatch is optional; mailClass, mergeVars, watermarkDiscount, idempotencyKey, and the from/to distinction are unaddressed.

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?

States specific verbs (compose, proof, dispatch) and a precise resource: an envelope-free bi-fold or tri-fold USPS self-mailer. The 'envelope-free fold' framing cleanly differentiates it from the letter and postcard siblings without naming them.

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

Usage Guidelines2/5

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

'Optionally dispatch' hints that the tool can stop at proofing, but there is no explicit when-to-use vs alternatives guidance, no mention of physical_dispatch_mailpiece for later sending, and no stated prerequisites such as verified addresses or available postage.

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