Skip to main content
Glama

send_message

Send an email with plain text or HTML body and optional local file attachments; recipient allowlist and confirmation checks control delivery.

Instructions

Send an email. Plain text by default; set html=true to send the body as HTML. attachments is a list of local file paths to attach, e.g. a file you just fetched with drive_download. A send is refused if a recipient is not on the allowlist (see email_policy_status / email_allow). When the confirm-before-sending rule is on, the first call sends nothing and returns a confirmation request; call again with confirm=true once the person has approved.

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

Input Schema

NameRequiredDescriptionDefault
toYes
bodyYes
htmlNo
confirmNo
subjectYes
attachmentsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the plain-text default, that attachments must be local filesystem paths, that sends are refused by allowlist policy, and — most importantly — that under the confirm rule the first call has the side effect of sending nothing and returns a confirmation request. Missing are details like sender identity, size limits, or rate limits, so it is strong but not exhaustive.

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?

Five short sentences, front-loaded with the action, then the body-format switch, attachment semantics, the refusal precondition, and the two-step confirm protocol. Every sentence conveys a fact an agent needs to invoke the tool correctly; no padding or restatement of the tool name.

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 described, and the description still explains the meaningful return case (a confirmation request instead of a send). For a 6-parameter mutation tool with zero annotations it covers preconditions and side effects well, though it is silent on ambiguous cases such as the first-call behavior when confirm is already true or what happens to attachments that do not exist.

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 description coverage is 0%, so the description must compensate, and it explains three of the six parameters with meaning the schema lacks: html means "send the body as HTML" (default plain text), attachments are local file paths, and confirm re-invokes a previously staged send after human approval. The allowlist note gives 'to' policy semantics; subject and body are self-evident but never described, keeping this at a 4.

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?

Opens with a specific verb+resource ("Send an email") and immediately qualifies the behavior with the plain-text default and the html override. It also names the sibling tools that supply inputs (drive_download) and enforce policy (email_policy_status / email_allow), so an agent can distinguish it from read_message/list_messages without opening any schema.

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?

Gives concrete operating conditions: set html=true for HTML bodies, pass local file paths for attachments, expect refusal for recipients off the allowlist, and follow the two-call confirm flow when the confirm-before-sending rule is on. It routes the agent to email_policy_status / email_allow for allowlist problems, but never states when this tool should not be used (e.g. reading or replying), so a 4 rather than a 5.

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