Skip to main content
Glama
s-morgan-jeffries

apple-mail-mcp

delete_rule

DestructiveIdempotent

Delete a mail rule by its 1-based index. Action requires confirmation and is irreversible.

Instructions

Delete a Mail.app rule by 1-based positional index.

Destructive — requires user confirmation via MCP elicitation before running. Cannot be undone (Mail.app does not version rule history).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_indexYes1-based positional index from list_rules.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

The description states 'requires user confirmation' and 'cannot be undone,' which adds context beyond annotations. However, there is a contradiction: annotations set idempotentHint=true, but a delete operation that fails on retry (index already deleted) is not truly idempotent. This inconsistency reduces transparency.

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?

Two succinct sentences with front-loaded verb and resource. No unnecessary words. Every sentence earns its place.

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?

Covers purpose, usage, and consequences. For a simple tool with one parameter and an output schema, this is sufficiently complete. Minor absence of error behavior (out-of-bounds index) is acceptable.

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 100%, providing baseline of 3. The description adds meaning by specifying that the index is '1-based positional index from list_rules,' which clarifies origin and usage beyond the schema description.

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?

Clearly states the action (delete) and resource (Mail.app rule) and specifies the indexing method (1-based positional index). Differentiates from siblings like delete_mailbox and delete_messages.

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?

Explicitly mentions requirement for user confirmation and irreversibility, providing clear usage context. Does not explicitly list when not to use or alternatives, but the nature of a delete operation makes this less critical.

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/s-morgan-jeffries/apple-mail-fast-mcp'

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