Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

send_email

Send Markdown-only emails from a connected account, with threaded replies or forwards, automatic signatures, and attachments.

Instructions

Send an email from the given account using Markdown only; raw HTML is not supported. Use a blank line between paragraphs. Applies account style preferences and appends Gmail's signature first, falling back to the local signature only when Gmail returns none, when include_signature is true. Do not also include a signature in the body. Fails if no signature exists or lookup fails. When inReplyTo is set, sends as a reply (or reply-all) which preserves thread history and conversation threading. When forwardMessageId is set, sends as a forward of the specified message, preserving the original content. inReplyTo and forwardMessageId are mutually exclusive. Returns the resulting message's shareable webUrl when available; recipients must have access to the mailbox to open it.

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

Input Schema

NameRequiredDescriptionDefault
ccNo
toYes
bccNo
bodyYesEmail content in Markdown only; raw HTML is not supported. Use a blank line between paragraphs.
accountYes
subjectYes
replyAllNoWhen true and `inReplyTo` is set, reply to all recipients instead of just the sender.
inReplyToNoMessage ID to reply to. When set, sends as a threaded reply which includes the quoted thread history automatically. Set to `false` for a new email (not a reply).
attachmentsNoFile attachments to include. The server reads the files from disk and base64-encodes them automatically.
forwardMessageIdNoMessage ID to forward. When set, sends as a forward of the specified message, preserving the original content. Mutually exclusive with `inReplyTo`.
include_signatureYesWhether to append the HTML signature: Gmail first, local fallback only when Gmail returns none; other providers use local. If true, don't include a signature in the body param to avoid double signature. Returns an error if true but no signature is configured for this account.

Output Schema

NameRequiredDescriptionDefault
idYes
sentYes
webUrlNo
webUrlUnavailableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does unusually well: it discloses signature resolution order (Gmail first, local fallback), the failure mode when no signature exists, thread-history preservation on reply/forward, and that the returned `webUrl` requires mailbox access. It does not discuss permissions needed to send from an account, rate limits, or whether sending is reversible.

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?

Front-loaded with the most important constraint (Markdown only) and organized mode-by-mode (signature, reply, forward). It is dense but nearly every sentence adds a rule; the mutual-exclusivity statement is repeated in the `forwardMessageId` schema description, a minor redundancy.

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 11-parameter mutation tool with no annotations, the description covers the tricky interactions (signature fallback, reply vs forward, thread history) that an agent could otherwise get wrong. An output schema exists, so `webUrl` disclosure is a bonus rather than a requirement; the remaining gap is the absence of any account-permission or send-quota context.

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?

At 55% schema coverage the description must add meaning, and it does for the highest-risk params: `include_signature` (what gets appended, what errors), `inReplyTo` (threading behavior), and `forwardMessageId` (content preservation, mutual exclusivity). Recipient params (`to`/`cc`/`bcc`), `subject`, `account`, and `attachments` receive no added semantics beyond their schema descriptions.

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 first clause is a specific verb+resource ('Send an email from the given account') plus a concrete constraint ('Markdown only; raw HTML is not supported'). It also distinguishes the reply and forward modes from a plain send. It never names draft_email/send_draft as the non-sending alternative, so sibling differentiation is only implied.

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?

Strong conditional guidance: when to set `inReplyTo` (threaded reply), when to set `forwardMessageId` (forward), that they are mutually exclusive, and that you must not duplicate the signature in the body. What's missing is routing guidance against siblings like draft_email/send_draft — it never says when to draft instead of send.

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