Skip to main content
Glama

Send an email

mail_send

Send a plain-text email from a connected mailbox (a copy is saved in its Sent folder; up to 20 recipients, 100,000 characters). Up to 5 attachments (15 MB in total: PDF, images, documents, zip): either a file from customer storage (service_id, region, bucket, key; any size up to 10 MB) or a small file as content_base64 (up to 700 KB). To reply, pass the message-id of the email in reply_to_message_id. Needs confirm: true after the customer approves the exact recipients, subject and text.

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

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bodyYes
emailYesMailbox address on one of the customer's own domains, e.g. info@example.com.
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
subjectYes
from_nameNo
attachmentsNoFiles to attach.
reply_to_message_idNo

Output Schema

NameRequiredDescriptionDefault
sentNo
acceptedNo
message_idNo
saved_to_sentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / saved_to_sent
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the write/external-reach profile is known. The description adds genuinely new behavior: a copy is saved to the mailbox's Sent folder, hard caps on recipients/body/attachments, accepted attachment MIME types, and the two distinct attachment-sourcing modes. It stops short of error/failure or rate-limit behavior, which keeps it off a 5.

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?

It is front-loaded with purpose and limits, and parenthetical constraints keep it compact for the amount of detail conveyed. The single long sentence chain is dense to parse but almost every clause carries distinct information; only the confirm sentence partially restates the schema's own 'confirm' description.

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 9-parameter, open-world mutation with a confirmation gate, the description supplies the limits, the attachment model and the reply path an agent needs, and an output schema exists so return values need no explanation. Remaining gaps are minor edge details (from_name behavior, failure modes) rather than anything that would cause a wrong call.

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?

With only 33% schema description coverage across 9 parameters, the description carries real weight and does: it ties 'to'/'cc' to the 20-recipient cap, 'body' to 100,000 characters, explains the attachments union (storage file via service_id/region/bucket/key up to 10 MB vs content_base64 up to 700 KB, 5 files / 15 MB total), and clarifies reply_to_message_id. It leaves from_name, the 200-character subject cap and cc specifics unexplained, so not a 5.

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 a plain-text email from a connected mailbox' — and immediately bounds it with format ('plain-text'), recipient cap (20) and body size (100,000 characters). No sibling tool in the catalog sends mail, and the reply sub-case is called out explicitly, so an agent cannot mistake this for mail_list_messages or mail_read_message.

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 a concrete precondition for invocation ('Needs confirm: true after the customer approves the exact recipients, subject and text') and states the condition for replying ('pass the message-id ... in reply_to_message_id'). What it lacks is any explicit when-NOT guidance — e.g. that HTML mail or bulk sends are out of scope — but the context for correct use is clear.

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.