Skip to main content
Glama
yu2001-s
by yu2001-s

save-template

Create or update reusable email templates with placeholders for subject and body, including optional default recipients. Returns template name and ID for later use.

Instructions

Use when: creating a reusable email template (name, subject, body, optional default to/cc), or updating one by passing its existing id. Subject/body may contain placeholders for later use. Returns: the saved template's name and id (reuse the id with use-template / get-template / delete-template). Do not use when: composing a one-off message (use create-draft / send-email) or filling in a template to send (use use-template). Safety: writes the template to the on-disk templates store (APPLE_MAIL_MCP_TEMPLATES_FILE) and persists across restarts; passing an existing id overwrites that template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoDefault CC recipients
idNoTemplate ID (for updating existing template)
toNoDefault recipients
bodyYes
nameYes
subjectYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
okNo
nameNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses writes to disk, persistence across restarts, and overwrite behavior. Could mention permissions or reversibility, but is transparent for a typical write operation.

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?

The description is concise, using structured sections (Use when, Do not use when, Safety). No redundant sentences.

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?

The tool has 6 params and an output schema. The description covers usage, exclusions, safety, and return values. It is sufficiently complete for the complexity level.

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 description coverage is 50% (3 of 6 params documented). The description adds context: 'optional default to/cc', 'passing existing id' for update, and mention of placeholders. This compensates for missing schema descriptions.

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 clearly states the tool saves or updates a reusable email template, specifying the resource (template) and action (save/update). It differentiates from siblings like use-template and create-draft, making the purpose unambiguous.

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?

Explicitly provides when to use (creating/updating a template), when not to use (one-off messages, filling in a template), and names alternative tools (create-draft, send-email, use-template). This gives clear decision criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yu2001-s/apple-mail'

If you have feedback or need assistance with the MCP directory API, please join our Discord server