Skip to main content
Glama

SendForMe

Mail a letter

send_letter
Destructive

Prints and mails a real letter. Pass letter_id from preview_letter (recommended: the user has seen the proof), or batch_id for a mail merge, or the same fields as preview_letter to preview and send in one step; letter_id plus other fields re-renders with those changes. First letter on an account: returns status "needs_setup": show message_for_user as written (the link must be visible), then call wait_for_setup(setup_code); the letter goes out once they pay. After that it returns "scheduled" with cancel_until: it waits in an undo window before going to the printer. Follow with get_letter. $2.49 a 1-page letter ($0.25/extra page), certified $10.99, with return receipt $13.99, international $4.49; previews free. Never threats, harassment, or letters in someone else's name.

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": "send_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNoRecipient's mailing address. Use check_address to find a business's address or to verify one.
pdfNoBring your own PDF instead of body: an upload id from upload_file (f_...), an https URL, or base64. Any page size is fit to US Letter.
bodyNoThe letter text in markdown (paragraphs, **bold**, lists, pipe tables). ONLY the body: no addresses, date, greeting is optional, no sign-off or signature (those are separate fields and laid out for you).
dateNoPrinted date. Default today ("November 27, 2026"); "none" to leave it off.
fontNoDefault serif. handwriting suits personal notes.
fromNoReturn address: the user's own name and US mailing address. Required on the first letter, then saved.
colorNoPrint in color (photos, logos). Default black and white.
labelNoYour own name for it, e.g. "Deposit demand to Northgate"
mergeNo{{field}} values for body/subject
styleNo
closingNoDefault "Sincerely,". "none" to leave it out.
contactNoContact lines for letterhead="full"
subjectNoThe Re: line, e.g. "Return of security deposit for 12 Elm St, Apt 4"
batch_idNoFrom preview_letter with recipients
letter_idNoFrom preview_letter (ltr_...)
mail_dateNoMail on a later date (YYYY-MM-DD, within 180 days) instead of now
signatureNoscript (default, blue ink), handwritten (casual), typed, image (the user's saved signature), none
enclosuresNoListed as "Enclosures:" after the signature
letterheadNoTop-right letterhead: none, the sender's name (default), or name + address + contact
mail_classNoDefault first_class. certified = tracking + proof of mailing; certified_return_receipt adds proof of delivery (signature). International mail is always First-Class International.
postscriptNoP.S. line
recipientsNoMail merge: several recipients (same fields as `to`, plus an optional `merge` map) get the same letter, with {{name}}, {{first_name}}, {{company}} or any {{field}} from their merge map filled in. Use instead of `to`.
referencesNoLines under the subject: account, claim, invoice or case numbers
salutationNoDefault: made from the recipient ("Dear Ms. Lee," or "To whom it may concern:"). "none" to leave it out.
account_keyNoOnly for clients without OAuth: a saved sfm_ key. Leave out when connected.
attachmentsNoExhibits printed after the letter (PDFs or photos): upload ids, https URLs or base64. List them in `enclosures` too.
signer_nameNoPrinted under the signature (default: the return address name)
double_sidedNoPrint on both sides (fewer sheets). Default single-sided.
signer_titleNoSecond line under the name, e.g. "Owner, Ridgeline Print Co"
pdf_placementNoFor pdf: auto (default) checks whether page 1 is blank where the envelope windows go and adds an address page only if not
must_arrive_byNoA deadline (YYYY-MM-DD): the preview warns if delivery likely misses it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this destructive, openWorld, and non-idempotent, but the description still adds behavior those annotations do not cover: the first-letter needs_setup state where the user must pay, the rule to show message_for_user verbatim with a visible link, the "scheduled" undo window defined by cancel_until, and per-item pricing. It also states the content policy: no threats, harassment, or letters sent in someone else's name.

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 one dense paragraph, but it is front-loaded with the send paths, then the first-letter setup flow, then pricing. It is efficient, but the long semicolon chains make it harder to scan than it needs to be.

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 32-parameter tool with no output schema, the description covers the required workflow states, follow-up tools, cost, and prohibited use. Minor gaps remain, such as the exact response fields beyond status, but get_letter is pointed to for the details.

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 94%, so the schema already documents nearly every parameter. The description adds interaction semantics the schema cannot express: how letter_id combined with other fields re-renders, and how letter_id, batch_id, and raw fields differ as input modes.

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 opening states a concrete verb and resource: "Prints and mails a real letter." It immediately separates itself from preview_letter by naming the three input modes: letter_id, batch_id, or the same fields to preview and send in one step.

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?

The description gives explicit routing: pass letter_id from preview_letter (recommended, because the user has seen the proof), batch_id for a mail merge, or raw fields to preview and send at once. It also defines the follow-up sequence, wait_for_setup after needs_setup and get_letter afterward, and says letter_id plus other fields re-renders.

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