Skip to main content
Glama
hasan-imam

mcp-outlook-applescript

by hasan-imam

confirm_delete_email

Confirm and execute deletion of an email using an approval token from prepare_delete_email. Moves the email to Deleted Items and returns a success or error message.

Instructions

Confirm and execute deletion of an email using a token from prepare_delete_email. Moves the email to the Deleted Items folder. Returns a success message. Returns an error if the token is invalid, expired, already used, or if the email has changed since the prepare step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idYesThe email ID to delete — must match the ID used in the prepare step
token_idYesThe approval token UUID from prepare_delete_email (e.g., "a1b2c3d4-...")
Behavior4/5

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

With no annotations, the description discloses key behaviors: moving email to Deleted Items, returning success/error messages, and failure modes for token issues or email changes. This is substantial transparency, though it omits any permission requirements.

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?

Three short sentences efficiently cover action, effect, and error conditions, with no redundant wording.

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 description is sufficient for a 2-parameter tool with a prior prepare step, explaining workflow, outcomes, and errors. It lacks details on the success message format but that is not critical.

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% with both parameters well-described. The description adds minimal parameter-specific detail beyond what the schema provides, so the baseline of 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?

The description clearly states the tool confirms and executes email deletion using a token from prepare_delete_email, distinguishing it from sibling confirm_* tools by specifying the deletion action and the Deleted Items folder outcome.

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?

The description identifies the prerequisite step (prepare_delete_email) and implies this tool should be used only after that, with explicit error conditions for invalid/expired tokens. However, it does not explicitly state when not to use it, so a score of 4.

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/hasan-imam/mcp-outlook-applescript'

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