Skip to main content
Glama
mailbox-mcp

mailbox-mcp

quote_outbound_mail

Read-onlyIdempotent

Preview USPS and FedEx letter prices before creating a document. Enter mail class, page count, color, signature, and recipient ZIP to get an itemized USD quote with no account or mailing created.

Instructions

Price a letter before you have the document. Takes the mail class, page count, color and, for FedEx Express Saver, 2Day or Overnight, the recipient ZIP; returns mailbox.bot's published price for a new account with its breakdown, in US dollars. Needs no account and creates nothing. The dry run of the real document is the exact price for an account.

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": {
      "mail_class": "<mail_class>"
    },
    "name": "quote_outbound_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNoColor printing. Default black and white.
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.
page_countNoPrinted pages. Default 1.
recipient_zipNo5-digit US ZIP of the recipient. FedEx Express Saver, 2Day and Overnight prices depend on it; USPS letter and FedEx Ground prices are the same for every ZIP.
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.

Output Schema

NameRequiredDescriptionDefault
resultYesPublished price with breakdown, or a price range when the service is priced by destination.

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. Changed4 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"
      +]
    • changedInput schema / properties / recipient_zip / description
      Previous value: -"5-digit US ZIP of the recipient. FedEx prices depend on it; USPS letter prices are the same for every ZIP."New value: +"5-digit US ZIP of the recipient. FedEx Express Saver, 2Day and Overnight prices depend on it; USPS letter and FedEx Ground prices are the same for every ZIP."
  3. Changed2 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 / recipient_zip / description
      Previous value: -"5-digit US ZIP of the recipient. FedEx prices depend on it; USPS letter prices don't."New value: +"5-digit US ZIP of the recipient. FedEx prices depend on it; USPS letter prices are the same for every ZIP."
  4. Addedv1.0.4

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the read-only, idempotent, non-destructive annotations, the description adds that no account is required, nothing is created, and the result is a published price with a breakdown in US dollars. That is useful behavioral context for a quote operation, though it does not discuss any limitations or variability in pricing.

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 description is short and front-loaded, with the core purpose in the first sentence and operational constraints immediately after. The final sentence about the dry run being the exact price for an account is slightly awkward but still earns its place by clarifying the quote's precision.

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 simple read-only quote tool with a full input schema, an output schema, and annotations covering safety, the description supplies the important missing context: no account, no side effects, and a price breakdown. It could be more complete by explicitly routing agents away from document-creating or batch-estimate siblings, but the core information is present.

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%, so the schema already documents the parameters and enum values in detail. The description correctly notes the key inputs and the conditional need for recipient ZIP on certain FedEx classes, but it adds little beyond what the schema provides and omits the delivery_signature option.

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 gives a specific verb and resource: 'Price a letter before you have the document.' It immediately distinguishes this from document-creating siblings by stating that no account is needed and nothing is created.

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 establishes clear timing and context for use ('before you have the document') and explains that this is a pre-document pricing dry run. It does not explicitly name alternatives or exclusions, such as batch estimation or inbound forwarding quotes, so it falls short of a complete when/when-not guide.

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