Skip to main content
Glama

AgentMail

Send Email

send_email

Send an email from the agent mailbox (outbound mail is scanned in real time for spam/phishing).

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>",
      "text": "<text>"
    },
    "name": "send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoOptional carbon-copy (CC) recipient email addresses.
toYesPrimary recipient email addresses.
bccNoOptional blind carbon-copy (BCC) recipient email addresses.
htmlNoOptional HTML message body.
textYesPlain text message body.
subjectYesEmail subject line.
inReplyToNoOptional Message-ID header for threading replies.
referencesNoOptional References header for threading replies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / bcc / description
      Added value: +"Optional blind carbon-copy (BCC) recipient email addresses."
    • addedInput schema / properties / cc / description
      Added value: +"Optional carbon-copy (CC) recipient email addresses."
    • changedInput schema / properties / html / description
      Previous value: -"Optional HTML body."New value: +"Optional HTML message body."
    • changedInput schema / properties / text / description
      Previous value: -"Plain text body."New value: +"Plain text message body."
    • changedInput schema / properties / to / description
      Previous value: -"Recipient email addresses."New value: +"Primary recipient email addresses."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, openWorld=true, idempotent=false, destructive=false, so the safety profile is covered. The description adds one genuinely non-obvious behavior - real-time spam/phishing scanning of outbound mail - which implies messages can be blocked or rejected, but it never says what happens in that case (error vs. silent drop) or whether sends are retried or duplicated given non-idempotency.

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?

A single sentence, front-loaded with the action and resource, with the scanning caveat tucked into a parenthetical rather than buried. No redundant restatement of the title, though it is on the terse side for a tool with eight parameters.

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

Completeness3/5

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

For a non-idempotent outbound-write tool with eight parameters and no output schema, the definition covers the essential purpose and the moderation gate. It leaves relevant gaps: failure/rejection semantics, whether the call returns a message ID for later threading, and how the threading parameters should be used.

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% across all 8 parameters, so the schema carries the parameter burden and baseline 3 applies. The description does add one useful fact not expressible in the schema: the sender is fixed to the agent mailbox, so there is no from parameter to supply, but it says nothing about the threading fields (inReplyTo, references) or html/text interaction.

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 concrete verb+resource ("Send an email") and adds scope the name doesn't carry: mail originates from the agent mailbox, not an arbitrary sender. It is clearly distinct from read-oriented siblings like get_message or list_messages, though it does not explicitly name a sibling alternative.

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 by the verb - use this to send outbound mail - and the parenthetical hints that messages may be filtered. There is no explicit when-to-use/when-not guidance, no note on when to prefer a reply/threading flow, and no stated prerequisites or limits (e.g., attachment handling, rate limits).

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.