Skip to main content
Glama

sendMessage

Sends an email to specified recipients, supporting CC, BCC, subject, body, attachments, and thread association.

Instructions

Send an email message to specified recipients. Note the mechanics of the raw parameter.

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": "sendMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoList of CC recipient email addresses
toNoList of recipient email addresses. Each entry must be either 'addr@example.com' or 'Display Name <addr@example.com>'; non-ASCII display names are RFC 2047 encoded automatically. Other RFC 5322 forms (groups, comments, a quoted display name containing a '<') are sent through unencoded.
bccNoList of BCC recipient email addresses
rawNoThe entire email message in base64url encoded RFC 2822 format, ignores to, cc, bcc, subject, body if provided
bodyNoThe body of the email. Supports plain text or HTML (auto-detected). Use HTML tags like <p>, <br>, <b> for formatted emails.
subjectNoThe subject of the email
threadIdNoThe thread ID to associate this message with
attachmentsNoFile attachments to include
includeBodyHtmlNoWhether to include the parsed HTML in the return for each body

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not disclose that sending is an irreversible external side effect, what permissions are needed, whether the message is delivered immediately, or what the response contains. The raw-parameter sentence hints at a bypass behavior but defers entirely to the schema rather than explaining it.

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

Conciseness3/5

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

The first sentence is efficient and front-loaded. The second sentence, however, is a content-free pointer that consumes space without conveying any information the agent can act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a nine-parameter outbound-sending tool with no annotations, no output schema, and no required fields, which is exactly the case where the description must explain irreversibility and the raw-versus-structured choice. Neither is covered, leaving the agent to reconstruct behavior from the schema alone.

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%, including a thorough explanation of how raw overrides to/cc/bcc/subject/body, so the baseline is 3. The description adds no parameter meaning of its own; 'Note the mechanics of the raw parameter' points at the schema instead of supplementing it. With zero required parameters, it also fails to clarify that either raw or to plus body must effectively be supplied.

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 states a specific verb and resource: 'Send an email message to specified recipients.' That is unambiguous about what the tool does. It does not, however, distinguish this tool from siblings such as sendDraft, replyMessage, or forwardMessage, so an agent must infer the boundary itself.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus sendDraft, replyMessage, or forwardMessage, and no mention of prerequisites such as authentication or recipient validity. The only directive, 'Note the mechanics of the raw parameter,' implies a caveat without stating when the raw path should be chosen.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools