Skip to main content
Glama

3LT Letter Mail

Draft Letter

draft_letter

Create a letter DRAFT: verifies the recipient address with PostGrid, screens content, and returns a price quote. This NEVER mails anything.

Pass EITHER html (letter body as an HTML string) OR pdf_path (path to a PDF file on the server). PDF text is extracted for screening; if extraction fails the draft is kept but flagged needs_review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesrecipient address dict with name, address_line1, address_city, address_state, address_zip (US).
htmlNoletter body as an HTML string (use this OR pdf_path).
colorNoTrue for color printing, False for black & white.
api_keyYesyour 3L-Group Technology API key (lms_...).
pdf_pathNoserver-local path to a PDF to mail instead of html.
quantityNonumber of identical letters (10+ gets the bulk rate).
certifiedNoOPT-IN ONLY — True for USPS Certified Mail with Electronic Receipt (tracked, signature on delivery). Defaults to False, which sends standard First Class mail. Only set True when the customer explicitly asked for certified mail: it costs significantly more (PostGrid's certified rate + the flat $1.00 service fee, roughly $11 per letter). Never default this to True.
descriptionNooptional label for your own records.
from_addressYessender address dict, same shape as `to`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses PostGrid address verification, content screening, price-quote return, the never-mails guarantee, and the needs_review fallback when PDF text extraction fails. It omits auth/permission requirements and any rate or cost caveats beyond what the schema's certified description covers.

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?

Two short paragraphs, front-loaded with the core behavior and the critical never-mails constraint. No filler, though the PDF extraction sentence is a slight tangent from the main draft-purpose statement.

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?

An output schema exists so return values need not be explained, and the description covers the draft workflow, screening, and failure flagging well. It could be fuller on what the draft object/quote contains or the lifecycle toward request_send, but it is largely complete for a 9-parameter tool.

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 all nine parameters are already documented in the schema, including the html-OR-pdf_path exclusivity. The description restates that mutual exclusivity and adds the PDF-extraction screening consequence, but mostly reinforces schema content rather than adding new parameter meaning.

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+resource ('Create a letter DRAFT') and immediately names the side effects it performs (address verification, content screening, price quote). The emphatic 'This NEVER mails anything' distinguishes it from the send-oriented siblings request_send and send_status without needing to name them.

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?

Clearly explains the html-vs-pdf_path choice and the never-mails scope, which implies this is the pre-send step. It stops short of explicitly naming request_send as the follow-up action, so the routing to alternatives is implied rather than stated.

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.