Skip to main content
Glama

Delete email template

delete_email_template
Destructive

Delete an email template by ID (refused if it is the default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTemplate ID (from list_email_templates)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoConfirmation that the template was deleted. Deleting the account default is refused.
successYesTrue when the call succeeded. A failure comes back as an error result instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, establishing the destructive nature. The description adds a specific behavioral condition—'refused if it is the default'—which is not in the annotations and is valuable for the agent to know before invoking. It does not contradict annotations and provides a meaningful operational detail.

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?

A single, efficient sentence with no filler. The core action and the critical constraint (default refusal) are both front-loaded, making it immediately actionable for an agent.

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?

The tool is simple with one parameter, a clear destructive action, and an output schema (not shown but indicated). The description covers identification (ID) and a key edge case (default refusal). No additional context is needed for a correct invocation.

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 100%: the id parameter is described as 'Template ID (from list_email_templates)'. The description's 'by ID' reinforces this but adds no new information beyond the schema. Since the schema fully documents the parameter, the description meets the baseline but does not elevate it.

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 verb (Delete) and resource (email template), and identifies the ID as the key parameter. It distinguishes from sibling delete tools like delete_email_sender by specifying 'email template', and the parenthetical 'refused if it is the default' adds a unique constraint that further clarifies scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies the tool is for deleting email templates but provides no explicit guidance on when to use it versus alternatives, such as archiving or updating. It does not mention when not to use it, nor does it reference sibling tools like set_default_email_template for context. The default-refusal note is a behavioral constraint, not usage guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources