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

use-template

Creates an email draft in Apple Mail from a saved template; optionally override recipients, subject, or body.

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).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoOverride CC recipients
idYes
toNoOverride recipients
bodyNoOverride body
subjectNoOverride subject

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The description discloses key behaviors: creates a draft (not sent), returns confirmation, user reviews before sending. With no annotations provided, it carries the transparency burden well, though it omits error handling details like invalid template IDs.

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 clear headings like 'Use when' and 'Returns:'. Every sentence adds value without redundancy, and the structure facilitates quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity, the description covers purpose, usage guidelines, return value, and parameter roles. An output schema exists for further details, so completeness is high.

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% (4 of 5 parameters have descriptions), so the baseline is 3. The description adds 'optionally overriding' but doesn't provide additional meaning beyond the schema. The id parameter lacks schema description but is implied as the template identifier.

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's function: composing a new draft from a saved template, with optional overrides. It distinguishes itself from siblings like get-template and send-email, 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?

Explicit 'Use when' and 'Do not use when' sections with specific alternative tool names (get-template for inspection, send-email for immediate sending) provide clear guidance on appropriate contexts.

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