Skip to main content
Glama
apple-mail-mcp

apple-mail-mcp

by sweetrb

use-template

Compose a new Mail.app draft from a saved template by ID, optionally overriding recipients, subject, or body; creates the draft for review before sending.

Instructions

Use when: composing a new draft from a saved template (by id), optionally overriding the recipients, subject, or body. Creates a draft in Mail.app for the user to review and send. Returns: a confirmation that a draft was created from the template. Do not use when: you want to inspect the template without composing (use get-template) or send immediately without a draft (use send-email).

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": {
      "id": "<id>"
    },
    "name": "use-template"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoOverride CC recipients
idYes
toNoOverride recipients
bodyNoOverride body
subjectNoOverride subject

Output Schema

NameRequiredDescriptionDefault
idNo
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.10.24
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv2.10.8
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
  3. Addedv2.9.0
  4. Removedv2.8.10
  5. First observedv2.6.1

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the result is a draft in Mail.app that the user must review and send, so the operation is consequential but not irreversible, which sharpens the destructiveHint=false declaration. It also states the return is a confirmation. It stops short of saying which account/mailbox receives the draft or what happens if the template id is unknown.

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?

Labeled, front-loaded structure ('Use when', 'Returns', 'Do not use when') with no filler sentences. Every line carries actionable information.

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?

With annotations, an output schema, and near-complete parameter docs already supplied, the description covers the remaining agent-facing question of what the call produces. It does not mention the closely related create-draft sibling, which an agent may also be choosing between.

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 80% and the descriptions already cover to/cc/subject/body overrides, so the description only restates 'optionally overriding the recipients, subject, or body' plus 'by id'. It adds no validation, defaults, or format detail (e.g. whether omitted fields inherit template values). Baseline 3 applies.

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?

States a specific verb and resource ('composing a new draft from a saved template (by id)') plus the optional overrides, and explicitly names the operations it is not (get-template, send-email). An agent can select it 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit 'Use when' and 'Do not use when' clauses with named alternatives (get-template for inspection, send-email for immediate sending). This is the full when/when-not/alternative triad.

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