Skip to main content
Glama
mailbox-mcp

mailbox-mcp

send_text_letter

Destructive

Mail a plain-text letter written in chat as printed US Letter pages through mailbox.bot, including recipient address and mail class; use dry_run to check exact cost before sending.

Instructions

Mail a letter written as plain text, for letters composed in chat. mailbox.bot sets the text exactly as given on US Letter pages (Times 12 pt, 1-inch margins; no letterhead, logo or signature image) and submits it through the same outbound mail service, so the same scopes, approval, cost caps and proof apply and staff print and mail it. dry_run: true returns the exact cost without sending; with a live key this spends the account owner's prepaid credits, and a key that requires approval holds the letter until the owner approves it in the dashboard. Requires the current mailbox_md_version. Up to 15,000 characters of Latin text; plain text only, with no PDF, letterhead or images.

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": {
      "letter_text": "<letter_text>",
      "mailbox_md_version": "<mailbox_md_version>",
      "mail_class": "<mail_class>",
      "recipient_line1": "<recipient_line1>",
      "recipient_city": "<recipient_city>",
      "recipient_state": "<recipient_state>",
      "recipient_zip": "<recipient_zip>"
    },
    "name": "send_text_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue returns the exact cost and checks without creating, charging or mailing anything.
metadataNoYour own reference fields, echoed back in status and webhooks.
mail_classYesUSPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (on First-Class Mail, certified plus electronic return receipt), certified_priority (the same Certified Mail proof on Priority Mail, 1-3 business days). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight.
return_zipNoReturn ZIP code.
agent_notesNoNotes for the owner and the facility.
letter_textYesThe full letter as plain text: date, greeting, body and sign-off as they will print. Line breaks are kept.
return_cityNoReturn city.
return_nameNoReturn name. Defaults to the account's saved return address.
return_line1NoReturn street address. Defaults to the account's saved return address.
return_line2NoReturn suite or unit.
return_stateNoReturn state, 2 letters.
recipient_zipYesRecipient ZIP code.
max_cost_centsNoRefuse the letter if it would cost more than this, in cents.
recipient_cityYesRecipient city.
recipient_nameNoRecipient name.
return_companyNoReturn company line.
recipient_line1YesRecipient street address.
recipient_line2NoSuite, unit or floor.
recipient_stateYesRecipient state, 2 letters.
recipient_companyNoRecipient company or organization line.
requires_approvalNotrue holds the letter until the owner approves it in the dashboard.
delivery_signatureNoOptional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (FedEx Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). priority: direct (USPS Signature Confirmation, $5.00: someone at the address); adult (USPS Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). certified, certified_return_receipt and certified_priority: restricted (USPS Restricted Delivery, $10.00: only the addressee, or an agent they authorized in writing). first_class has no signature service. Omit it or send none for no signature. The fee is added to the price and itemized as cost_breakdown.delivery_signature_cents.
mailbox_md_versionYesCurrent MAILBOX.md version number. Required.

Output Schema

NameRequiredDescriptionDefault
resultYesThe outbound send result: status, cost breakdown, human review and next step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.10
    • changedInput schema / properties / mail_class / description
      Previous value: -"USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (certified plus electronic return receipt), certified_priority (the same Certified Mail proof on Priority Mail, 1-3 business days). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight."New value: +"USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (on First-Class Mail, certified plus electronic return receipt), certified_priority (the same Certified Mail proof on Priority Mail, 1-3 business days). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight."
  2. Changed3 schema fields changedv1.0.9
    • changedInput schema / properties / delivery_signature / description
      Previous value: -"Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (FedEx Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). priority: direct (USPS Signature Confirmation, $5.00: someone at the address); adult (USPS Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). certified and certified_return_receipt: restricted (USPS Restricted Delivery, $10.00: only the addressee, or an agent they authorized in writing). first_class has no signature service. Omit it or send none for no signature. The fee is added to the price and itemized as cost_breakdown.delivery_signature_cents."New value: +"Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (FedEx Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). priority: direct (USPS Signature Confirmation, $5.00: someone at the address); adult (USPS Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). certified, certified_return_receipt and certified_priority: restricted (USPS Restricted Delivery, $10.00: only the addressee, or an agent they authorized in writing). first_class has no signature service. Omit it or send none for no signature. The fee is added to the price and itemized as cost_breakdown.delivery_signature_cents."
    • changedInput schema / properties / mail_class / description
      Previous value: -"USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (USPS tracking plus proof of mailing and delivery), certified_return_receipt (certified plus electronic return receipt). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight."New value: +"USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (certified plus electronic return receipt), certified_priority (the same Certified Mail proof on Priority Mail, 1-3 business days). FedEx: fedex_ground, fedex_express (Express Saver, about 3 business days), fedex_2day, fedex_overnight."
    • changedInput schema / properties / mail_class / enum
      Previous value: -[
      -  "first_class",
      -  "priority",
      -  "certified",
      -  "certified_return_receipt",
      -  "fedex_ground",
      -  "fedex_express",
      -  "fedex_2day",
      -  "fedex_overnight"
      -]New value: +[
      +  "first_class",
      +  "priority",
      +  "certified",
      +  "certified_return_receipt",
      +  "certified_priority",
      +  "fedex_ground",
      +  "fedex_express",
      +  "fedex_2day",
      +  "fedex_overnight"
      +]
  3. Changed4 schema fields changedv1.0.5
    • addedInput schema / properties / delivery_signature
      Added value: +{
      +  "description": "Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (FedEx Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). priority: direct (USPS Signature Confirmation, $5.00: someone at the address); adult (USPS Adult Signature Required, $11.00: an adult 21 or older at the address, with ID). certified and certified_return_receipt: restricted (USPS Restricted Delivery, $10.00: only the addressee, or an agent they authorized in writing). first_class has no signature service. Omit it or send none for no signature. The fee is added to the price and itemized as cost_breakdown.delivery_signature_cents.",
      +  "enum": [
      +    "none",
      +    "indirect",
      +    "direct",
      +    "adult",
      +    "restricted"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / letter_text / description
      Previous value: -"The full letter as plain text: date, greeting, body and sign-off as they should print. Line breaks are kept."New value: +"The full letter as plain text: date, greeting, body and sign-off as they will print. Line breaks are kept."
    • changedInput schema / properties / mailbox_md_version / description
      Previous value: -"Current MAILBOX.md version from get_mailbox_md. Required."New value: +"Current MAILBOX.md version number. Required."
    • changedOutput schema / properties / result / description
      Previous value: -"The send_outbound_mail result: status, cost breakdown, human review and next step."New value: +"The outbound send result: status, cost breakdown, human review and next step."
  4. Addedv1.0.4

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructive, non-idempotent and open-world, and the description adds context those cannot carry: a live key spends the account owner's prepaid credits, approval-gated keys hold the letter in the dashboard, the current mailbox_md_version is required, and mail is physically printed and submitted by staff. The formatting limits and the dry_run cost-check behavior are also disclosed.

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?

The core action is front-loaded and the sentences are dense with useful facts rather than filler. There is minor redundancy: letterhead/logo/images are mentioned twice ('no letterhead, logo or signature image' and 'plain text only, with no PDF, letterhead or images').

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?

For a physical-mailing tool with an output schema, the description covers cost, approval, version requirements, character limits and print formatting. The one notable gap is idempotency: it never warns that a repeated call sends a second physical letter, which matters for a destructive, non-idempotent operation.

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?

Schema coverage is 100%, so the schema already documents all 23 parameters. The description still adds meaning beyond it: the 15,000-character Latin-text ceiling, the plain-text-only constraint, and the distinction that dry_run with a live key prices without charging while a normal call spends credits.

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 a specific verb and resource ('Mail a letter written as plain text') plus the delivery model (staff print and mail US Letter pages). It implicitly distinguishes itself from PDF-based siblings by emphasizing 'no PDF, letterhead or images', but never names an alternative tool outright.

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?

'for letters composed in chat' gives a clear selection context, and the dry_run sentence tells the agent how to price a letter before committing. It stops short of explicitly naming when to use send_outbound_mail or create_batch_mail instead, leaving the agent to infer routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.