Skip to main content
Glama

quote_outbound_mail

Read-onlyIdempotent

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 (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.
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 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.

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 changed
    • 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."
  2. Changed1 schema field changed
    • 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."
  3. Changed1 schema field changed
    • 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"
      +}
  4. Changed3 schema fields changed
    • 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. UPS: ups_ground, ups_2day (2nd Day Air), ups_next_day (Next Day Air)."New 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."
    • changedInput schema / properties / mail_class / enum
      Previous value: -[
      -  "first_class",
      -  "priority",
      -  "certified",
      -  "certified_return_receipt",
      -  "fedex_ground",
      -  "fedex_express",
      -  "fedex_2day",
      -  "fedex_overnight",
      -  "ups_ground",
      -  "ups_2day",
      -  "ups_next_day"
      -]New value: +[
      +  "first_class",
      +  "priority",
      +  "certified",
      +  "certified_return_receipt",
      +  "fedex_ground",
      +  "fedex_express",
      +  "fedex_2day",
      +  "fedex_overnight"
      +]
    • changedInput schema / properties / recipient_zip / description
      Previous value: -"5-digit US ZIP of the recipient. FedEx and UPS 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 don't."
  5. Changed3 schema fields changed
    • 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 (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. UPS: ups_ground, ups_2day (2nd Day Air), ups_next_day (Next Day Air)."
    • 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",
      +  "fedex_ground",
      +  "fedex_express",
      +  "fedex_2day",
      +  "fedex_overnight",
      +  "ups_ground",
      +  "ups_2day",
      +  "ups_next_day"
      +]
    • 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 and UPS prices depend on it; USPS letter prices don't."
  6. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety bar is low, but the description still adds real behavior: it returns the published price for a new account with a breakdown in USD, and needs no account. It reinforces but does not contradict the annotations; the only gap is quote validity or staleness, which is unaddressed.

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?

Four short sentences, front-loaded with the core purpose and with the no-account/no-side-effect reassurance early. The final sentence about the dry run being "the exact price" is compressed to the point of ambiguity and could be clearer or cut.

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?

With an output schema present and full schema description coverage, the description only needs to supply purpose, side-effect profile, and the ZIP dependency, and it does all three. Nothing an agent needs in order to call this correctly is missing.

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 baseline is 3; the description earns more by flagging the conditional dependency that recipient ZIP only prices FedEx Express Saver/2Day/Overnight, which is the one cross-parameter relationship an agent could miss. It does not cover delivery_signature at all, leaving that to 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?

States a specific verb and resource ("Price a letter") plus the key timing qualifier ("before you have the document"), which is exactly what separates it from create/send siblings. An agent can tell this is a read-only quote for a single letter without opening the schema.

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?

Gives clear usage context: use it before the document exists, and it needs no account and creates nothing. It does not explicitly name alternatives (e.g. the batch estimate or test-advance tools), and the closing line about "the dry run of the real document" is slightly opaque, so routing is inferred rather than spelled out.

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.