Skip to main content
Glama
MailCraft MCP Server

MailCraft MCP Server

by jhonsu01

Draft a message (never sent)

draft_message

Creates and saves new emails or replies as .eml draft files for the user to review and send from their own mail program; it never sends messages.

Instructions

Write a new message or a reply as a draft and save it as an .eml file the person can open, check and send from their own mail program. Nothing is ever sent: sending needs the mailbox owner, in the MailCraft app. A reply (reply_to_id with the mailbox in input_paths) keeps the original subject, recipients and quoted text. Attachments are read from absolute paths.

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

Input Schema

NameRequiredDescriptionDefault
ccNo
toNoAddresses separated by ";" (a reply defaults to the sender).
bccNo
bodyYesMessage text.
nameNoFile name without extension.draft
subjectNo
overwriteNo
reply_allNo
output_dirNo
attachmentsNo
input_pathsNoFor a reply: the mail files holding the original message.
output_pathNo
reply_to_idNoMessage id to answer (list_messages).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds substantive context beyond that — the write is file-scoped (.eml on disk), never a network send, and a reply preserves subject, recipients and quoted text. It does not explain what happens when the target file already exists, which matters given the overwrite parameter.

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?

Four sentences, front-loaded with the core action and the "never sent" guarantee before the reply and attachment mechanics. No sentence is redundant given the parameter set it has to support.

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 13-parameter tool with no output schema, the description should say where the file lands and what is returned (a path? a confirmation?), and it does not. The distinction between output_dir and output_path, and the overwrite behavior, are also left unaddressed. The reply and attachment mechanics are well covered, but the file-output half of the operation is thin.

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 coverage is only 38% across 13 parameters, so the description must carry weight, and it does for the hardest ones: it explains that reply_to_id must be paired with input_paths holding the original message, that a reply defaults recipients to the sender, and that attachments must be absolute paths. It leaves cc/bcc/subject/name/overwrite/output_dir/output_path to the schema.

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?

Names a specific verb and resource ("Write a new message or a reply as a draft") and the concrete output form ("save it as an .eml file"). An agent can immediately distinguish this from open_in_mailcraft or run_mailcraft_commands, which act inside the app rather than producing a file.

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?

Establishes a clear boundary: "Nothing is ever sent: sending needs the mailbox owner, in the MailCraft app." This tells the agent when this tool is the wrong choice for a send request. It stops short of naming a sibling tool to use instead, but the constraint it does give is the important one.

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