Skip to main content
Glama

Send email

send_email
Destructive

Send an email. Either pass template_id (a saved template) OR subject+html (free-form). Sends are queued and paced; poll email logs for delivery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNoFree-form send: HTML body
contextNoTemplate variable values
subjectNoFree-form send: subject
report_idNoColours the CTA button from this report's theme
sender_idNoSaved sender id (defaults to the account default)
recipientsYesRecipient email addresses (max 10)
template_idNoSaved email template id (templated send)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoAcknowledgement that the send was queued, and who it is addressed to. Delivery is paced and happens after the tool returns — check list_email_logs for what actually landed.
successYesTrue when the call succeeded. A failure comes back as an error result instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "Acknowledgement that the send was queued, and who it is addressed to. Delivery is paced and happens after the tool returns — check list_email_logs for what actually landed."
      +    },
      +    "success": {
      +      "description": "True when the call succeeded. A failure comes back as an error result instead.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations by disclosing that sends are queued, paced, and require polling email logs for delivery confirmation. This is consistent with readOnlyHint=false and destructiveHint=true.

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?

Two sentences with no filler; the core action is front-loaded, and each clause adds either a usage constraint or an important behavioral note.

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?

Given the output schema covers return values and the input schema covers parameter details, the description supplies the missing operational context: asynchronous queuing, pacing, and how to verify delivery. This is sufficient for an agent to invoke the tool correctly.

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 100%, so the baseline is 3, but the description adds the important mutual-exclusion relationship between template_id and subject+html that the schema alone does not make explicit. It also implies that context belongs to templated sends.

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 description opens with a specific verb and resource ('Send an email') and immediately distinguishes the two send modes: template_id versus subject+html. No sibling tool shares this purpose, so it is unambiguous.

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?

It gives clear usage direction: choose either template_id or subject+html, and explicitly notes that sends are queued and paced with delivery status available in email logs. It does not name an alternative tool, but no direct alternative exists among siblings.

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