Skip to main content
Glama

Send email

send_email
Destructive

Send a transactional email (or schedule it with scheduled_at). Suppressed and topic-opted-out recipients are skipped automatically. Returns the email id.

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": {
      "from": "<from>",
      "to": "<to>",
      "subject": "<subject>"
    },
    "name": "send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCc address or list
toYes
bccNoBcc address or list
fromYes
htmlNoHTML body; at least one of html/text is required
tagsNoKey/value labels attached to the email for filtering
textNoPlain-text body; at least one of html/text is required
headersNoExtra message headers (transport headers are rejected)
subjectYesSubject line
reply_toNoReply-To address or list
templateNoNot supported yet: any value is a 422. Send html/text instead
topic_idNoTopic id: recipients opted out of the topic are skipped and an unsubscribe link is added
attachmentsNoAttachments with base64 content (no remote paths)
scheduled_atNoDeliver later: ISO 8601 with offset, or relative like "in 2 hours" (an ISO 8601 datetime with offset (e.g. "2026-09-01T12:00:00Z") or a relative time like "in 5 mins", "in 2 hours", or "in 1 day"); max 30 days ahead
idempotency_keyNoRetry key sent as the HTTP Idempotency-Key header, not an email header. Scoped to the selected team for 24 hours: reuse with the same payload to replay the original ids; a different payload or concurrent request returns 409. Use one key per send or batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint=false, destructiveHint=true, openWorldHint=true), the description adds genuine behavioral context: suppressed and topic-opted-out recipients are silently skipped, and the call returns an email id. It omits retry/409 semantics and the future-delivery window, though those are largely covered in the schema text for idempotency_key and scheduled_at.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, zero filler, with the core action front-loaded and the two highest-value side effects (suppression skipping, returned id) surfaced immediately. Nothing in it is redundant with the annotations.

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 15-parameter mutation tool with no output schema and nested objects, the description supplies the key operational facts an agent needs: what it does, that it can be scheduled, that delivery may be skipped, and what it returns. It could still mention attestation/permission requirements or limits, but nothing essential to correct invocation is missing.

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 87%, so the schema already documents cc/bcc/tags/topic_id/scheduled_at/idempotency_key behavior. The description only echoes scheduled_at and the template-is-unsupported caveat, adding little beyond the structured fields; baseline 3 applies.

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?

States a specific verb and resource ('Send a transactional email') plus a mode variant (schedule via scheduled_at), which lets an agent distinguish this from bulk/broadcast siblings by the word 'transactional'. It does not name any sibling tool explicitly, so differentiation relies on inference.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'transactional' hints at one-to-one sends versus send_email_batch, send_broadcast, or mailbox_send_draft, and the template note redirects to html/text. There is no explicit when-to-use/when-not-to-use guidance or named alternative for batching, broadcasts, or drafts.

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.