Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Piloxa. If you published it, claim ownership there.

Check a letter before it is mailed

check_certified_letter
Read-onlyIdempotent

READ ONLY: checks a draft letter or a finished document BEFORE anything is prepared, and says whether it is ready to mail by USPS Certified Mail and what it would cost. Use it when the person asks "is this ready to send?", "check this before I mail it", "did I forget anything?", "is this ready for Certified Mail?", "should I send this with a return receipt?" or "what would it cost to send this certified?", or offer it once the person has said a letter, demand, dispute or notice will go by mail: "I can check whether this is ready for Certified Mail." It returns the printed page count (the same layout the review page charges for), the document type it reads as, the recipient and sender it found and whether each address is complete, the missing fields, unfilled placeholders such as [NAME], enclosures the letter mentions, a reply-by date written in the letter, the recommended service with the exact current price, and the next action. It checks mailing readiness, never legal sufficiency. It creates nothing, stores nothing, prints, mails and charges nothing, and needs no account. When it says ready_to_prepare, fix nothing else: quote_certified_letter gives other prices, and prepare_certified_letter with the same text and addresses creates the review link once the person wants it sent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_certified_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
stateNoTwo-letter U.S. state code.
subjectNoThe "Re:" line, if any.
letter_textNoThe letter body as it would print: salutation, paragraphs and closing, without the addresses or date (those come from the other fields). Up to 60,000 characters. Pass this OR document_text.
postal_codeNoFive-digit ZIP code.
sender_cityNo
sender_nameNo
sender_stateNo
address_line1NoRecipient street address.
address_line2No
document_textNoThe full text of a document that is already finished and prints exactly as written, addresses and signature included. Up to 60,000 characters. Pass this OR letter_text.
recipient_nameNo
signature_nameNoName printed under the closing.
desired_serviceNoThe service the person has in mind, if any; its price is returned as current_estimated_price. Left out, the recommended service is priced.
recipient_companyNo
sender_postal_codeNo
enclosures_suppliedNoNames of enclosures the person says they have, so an enclosure the letter mentions is not reported missing.
sender_address_blockNoThe sender (return address) as written, one part per line.
sender_address_line1No
recipient_address_blockNoThe recipient as addressed, one part per line. Named recipient fields win over it. Left out, the recipient is read from the inside address in the text, if it has one.

Output Schema

NameRequiredDescriptionDefault
scopeNo
mailedYesAlways false.
storedYesAlways false: nothing from this call is kept.
chargedYesAlways false.
warningsNo
max_pagesNo
promotionNoPresent when the first-letter promotion could lower this total; it is applied by the same rule at every checkout once the payer is known.
next_actionYes
document_typeNo
missing_fieldsYes
detected_senderNo
optional_upgradeNoPresent when the letter reads as a dispute or demand that could reach a court or an agency: the Evidence Pack, its reasons and the extra cost. Never selected; mention it as an option only.
ready_to_prepareYesTrue when nothing blocks mailing: the recipient address is complete, nothing is left to fix and the length fits the printer.
prices_by_serviceNo
deadline_in_letterNo
detected_recipientNo
document_type_labelNo
recommended_becauseNo
recommended_serviceYes
estimated_page_countYes
current_estimated_priceNoThe exact current total for desired_service, or for the recommended service.
requires_human_approvalNo
sender_address_completeNoThe sender can also be filled in on the review page, so an incomplete sender does not block preparing.
recipient_read_from_textNo
recipient_address_completeNo
potential_deadline_detectedNoTrue when the letter itself asks for an answer, payment or action by a date or within a number of days. Read from the text; it is not a legal deadline determination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / optional_upgrade
      Added value: +{
      +  "description": "Present when the letter reads as a dispute or demand that could reach a court or an agency: the Evidence Pack, its reasons and the extra cost. Never selected; mention it as an option only.",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / promotion / description
      Previous value: -"Present when the first-letter promotion could lower this total; the review page applies it once the account is known."New value: +"Present when the first-letter promotion could lower this total; it is applied by the same rule at every checkout once the payer is known."
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is largely covered; the description's 'creates nothing, stores nothing, prints, mails and charges nothing, and needs no account' mostly restates that. It does add genuinely new behavioral context, notably the readiness-only scope ('never legal sufficiency') and the note that the page count matches the layout the review page charges for. The long enumeration of return fields overlaps with the output schema rather than adding to it.

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?

Front-loads 'READ ONLY' and the core purpose before any detail, which is the right ordering. It is dense but earns most of its length; the catalogue of six trigger phrases and the field-by-field return list are the parts that could be trimmed.

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?

For a 20-parameter, zero-required tool with an output schema, the definition supplies everything an agent needs to decide to call it and what to do next: purpose, trigger conditions, side-effect guarantees, scope limits, and explicit sibling routing. Return values are covered by the output schema, so the description need not detail them further.

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?

With 20 parameters at 55% schema coverage, the description contributes almost nothing parameter-specific — it never explains the letter_text vs document_text split, the address-block vs named-field precedence, or enclosures_supplied. Those semantics live in the schema descriptions, so the baseline of 3 applies, but the description leaves the roughly 45% uncovered fields unaddressed.

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 ('checks a draft letter or a finished document') plus the exact judgment it returns: readiness for USPS Certified Mail and its cost. The scoping line 'It checks mailing readiness, never legal sufficiency' sharpens the boundary, and the named siblings (quote_certified_letter, prepare_certified_letter) make it distinguishable without opening any schema.

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

Usage Guidelines5/5

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

Gives concrete trigger phrasings the agent can pattern-match ('is this ready to send?', 'did I forget anything?') and a proactive offer condition once the user says a letter will go by mail. It also supplies the exclusion and hand-off: when the result is ready_to_prepare, quote_certified_letter gives other prices and prepare_certified_letter creates the review link.

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