Skip to main content
Glama

send_test_letter

Destructive

Try a letter out. Defaults to a PREVIEW: the letter is built exactly as it would be posted and you get a PDF link back — no eBrief.de job, no postage. Pass really_send: true to actually post it (use your own address; it costs postage and is the only way to check the envelope window and folding). Address it either with lead_id or with an explicit to. Content is either body (plain text, drawn server-side) or document_id (a stored PDF, posted as it is). Test letters are marked as such in the letter history.

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_test_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoAn explicit address, so no throwaway lead has to be created for a test.
bodyNoBody text
lead_idNoUse this lead's postal address. Omit if you pass `to`.
subjectNoSubject line
document_idNoA stored PDF to post as the letter, instead of body.
really_sendNoActually post it. Default false = preview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Body text"
    • addedInput schema / properties / subject / description
      Added value: +"Subject line"
    • addedInput schema / properties / to / properties / address / description
      Added value: +"Postal address"
    • addedInput schema / properties / to / properties / city / description
      Added value: +"City"
    • addedInput schema / properties / to / properties / country / description
      Added value: +"Country (ISO code or name)"
    • addedInput schema / properties / to / properties / name / description
      Added value: +"Recipient name on the address"
    • addedInput schema / properties / to / properties / postal_code / description
      Added value: +"Postal code"
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the default path builds the letter exactly as it would be posted and returns a PDF link with no eBrief.de job and no postage, whereas really_send incurs postage and is irreversible posting. It explains the envelope-window/folding verification rationale and the side effect that test letters are flagged in letter history, matching destructiveHint=true and openWorldHint=true.

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?

Information-dense and front-loaded: the preview default and the really_send switch come before addressing and content details. The em-dash aside about eBrief.de and postage is efficient; a slightly tighter phrasing could fold the address and content option lists together, but nothing is truly wasted.

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 six-parameter tool with a nested address object and no output schema, the description covers the essentials: what defaults to preview, what really_send does and costs, how to address the letter, how to supply content, and that a PDF link is returned. An agent has enough to call it correctly without opening anything else.

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 100% schema description coverage the baseline is 3, and most of the description's parameter talk (lead_id vs. to, really_send default false, document_id instead of body) restates the schema. It adds only marginal new meaning, such as body being rendered server-side and document_id being posted as-is, plus the recommendation to use your own address with really_send.

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?

The description opens with a concrete action ("Try a letter out") and immediately defines the two modes — preview vs. real posting — plus which artifacts are produced (PDF link, letter history entry). It differentiates itself from the production send path only indirectly via "Test letters are marked as such in the letter history," without naming the sibling send_letter, so it is clear but not fully sibling-routed.

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?

Strong internal decision guidance: default is preview, really_send: true posts for real, use your own address because it costs postage and is the only way to verify the envelope window and folding. It also states the two mutually exclusive addressing options (lead_id vs. to) and the two content options (body vs. document_id). It stops short of contrasting with the real-send tool, so an agent must infer when to graduate from test to production.

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.