Skip to main content
Glama

send_draft_email

Destructive

Send a REVIEW COPY of an email to the rep for approval — NOT to the lead. Renders exactly as the real send (same from-address/signature/placeholders via the lead+campaign) but is delivered to the reviewer and clearly marked as a draft: the subject is prefixed '[DRAFT — review copy]' and a banner naming the real intended recipient is prepended to the body. Recipient defaults to the authenticated caller's own account email; pass to_address to send the review copy somewhere else. Required: lead_id, subject, body. Optional: to_address (review recipient), campaign_id, intended_to (the lead's real address, shown in the banner), bcc. NOTE: the campaign's bcc_emails archive does NOT apply here — a review copy never reached the lead, and filing it would make the archive unreadable; pass bcc explicitly if this copy should go somewhere else too. Returns { ok, draft_id, sent_to }. After approval, call send_email to send the real thing to the lead.

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": {
      "lead_id": "<lead_id>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "send_draft_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
bccNoBlind-copy recipients for this review copy — array or comma-separated string. The campaign's archive BCC is deliberately not applied to review copies.
bodyYesBody text
lead_idYesID of the lead
subjectYesSubject line
body_htmlNoOptional designed HTML version of the mail, sent UNCHANGED as the text/html part (multipart/alternative); body stays required and is the plain-text part. Attachment links, unsubscribe and AI notice are inserted before </body> (or appended). Max 512 KB; link images, no data: URLs.
to_addressNoWhere to send the review copy (default: caller's own email)
campaign_idNoID of the campaign
intended_toNoThe lead's real email, shown in the draft banner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / bcc / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / bcc / type
      Added value: +[
      +  "array",
      +  "string"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / body_html
      Added value: +{
      +  "description": "Optional designed HTML version of the mail, sent UNCHANGED as the text/html part (multipart/alternative); body stays required and is the plain-text part. Attachment links, unsubscribe and AI notice are inserted before </body> (or appended). Max 512 KB; link images, no data: URLs.",
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Body text"
    • addedInput schema / properties / campaign_id / description
      Added value: +"ID of the campaign"
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
    • addedInput schema / properties / subject / description
      Added value: +"Subject line"
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the exact mutation surface: a '[DRAFT — review copy]' subject prefix, a banner naming the real recipient, and that the campaign's bcc_emails archive is deliberately suppressed so the archive stays readable. It also names the return shape { ok, draft_id, sent_to }. The destructiveHint/openWorldHint flags are consistent with an outbound send, and the description usefully narrows the blast radius (delivered to the reviewer, not the lead).

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-loaded with the highest-stakes distinction (review copy, not the lead) and organized as behavior → defaults → required/optional → caveat → return → next step. It is dense rather than padded, though the required/optional recitation and the to_address/intended_to explanations partially duplicate schema text.

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 an 8-parameter outbound-send tool with no output schema, the description covers defaulting, rendering behavior, the archive-BCC exclusion, the return fields, and the follow-up action. Nothing an agent needs in order to invoke it 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 already 100%, so the baseline is 3, but the description adds real meaning: which params are required vs optional, that to_address defaults to the caller's own account, and that intended_to is display-only (banner text), not a routing address. The BCC caveat genuinely explains a semantic behavior the schema only hints at.

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 (send a review copy) and resource (email), and immediately scopes it against the obvious wrong interpretation with 'NOT to the lead.' It further distinguishes itself from send_email by describing what the review copy looks like (subject prefix, banner) rather than the real send.

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?

Explicit lifecycle guidance: this tool is for approval, then 'After approval, call send_email to send the real thing to the lead.' It also documents the default recipient, the to_address escape hatch, and a when-not rule for BCC archiving. Very little is left to inference.

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.