Skip to main content
Glama

Send Email

send_email

Send a general email — an answer to an enquiry or any message the user asks for (comms scope). Sent from the account's own return address. Give a client_id (uses their email on file, and logs the email to their history) or an explicit to address. body is plain text unless html=true. dry_run=true previews without sending.

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

Input Schema

NameRequiredDescriptionDefault
toNoThe recipient — an email address or phone number, per the tool.
bodyYesThe message or email body (HTML or text, per the tool).
htmlNo
dry_runNoIf true, preview the result without sending or saving anything.
subjectYesThe email subject line.
to_nameNo
client_idNoA client's id (from search or list_clients).
booking_idNoA booking's id (from list_bookings or search).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"The message or email body (HTML or text, per the tool)."
    • addedInput schema / properties / booking_id / description
      Added value: +"A booking's id (from list_bookings or search)."
    • addedInput schema / properties / client_id / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / dry_run / description
      Added value: +"If true, preview the result without sending or saving anything."
    • addedInput schema / properties / subject / description
      Added value: +"The email subject line."
    • addedInput schema / properties / to / description
      Added value: +"The recipient — an email address or phone number, per the tool."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare the safety profile (not read-only, open-world, non-idempotent, non-destructive), and the description adds genuinely useful context beyond them: mail is sent from the account's own return address, client_id sends to the address on file and records the email in that client's history, and body is plain text unless html=true. It does not mention rate limits, deliverability failures, or what a dry_run preview actually returns, which keeps it short of 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?

Four compact sentences, front-loaded with purpose and followed by the recipient-selection rule and the send-mode flags. Nothing is redundant, though the parenthetical "(comms scope)" is unexplained jargon that costs a little clarity.

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 an eight-parameter, no-output-schema mutation tool, the description covers the required fields, both recipient paths, format handling, and the preview mode. The gaps are the undocumented to_name and booking_id parameters and the lack of any note on return value or failure behavior, which are minor but real.

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 coverage is 75%, so the baseline is 3. The description adds real meaning for client_id (uses the stored email and logs the message) and clarifies the body/html interaction and dry_run behavior, but leaves to_name and booking_id entirely unexplained and does not say how subject is used. It compensates partially rather than fully.

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 gives a specific verb and resource ("Send a general email") and scopes it as an answer to an enquiry or any user-requested message ("comms scope"), which implicitly separates it from the named invoice, broadcast, asset, and text sending siblings. An agent can identify the tool's role without opening the 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?

It states the usage context (replying to an enquiry or any message the user asks for) and gives an explicit routing rule between the two recipient paths: a client_id uses the address on file and logs to history, or supply an explicit `to`. It stops short of naming which sibling to use instead for invoices, contracts, or broadcasts, so the boundary is implied rather than spelled out.

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