Skip to main content
Glama
hasan-imam

mcp-outlook-applescript

by hasan-imam

confirm_delete_folder

Confirm and execute deletion of an Outlook mail folder using a token from prepare_delete_folder. Permanently removes the folder and all its messages after validating the token and folder state.

Instructions

Confirm and execute deletion of a mail folder using a token from prepare_delete_folder. Permanently deletes the folder and all its messages. Returns a success message. Returns an error if the token is invalid, expired, already used, or if the folder has changed since the prepare step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYesThe approval token UUID from prepare_delete_folder (e.g., "a1b2c3d4-...")
folder_idYesThe folder ID to delete — must match the ID used in the prepare step
Behavior5/5

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

No annotations are provided, so the description carries full burden. It clearly states the destructive nature (permanently deletes folder and all messages), the success response, and error conditions (invalid/expired/used token, folder changed). This is comprehensive disclosure for a mutation tool.

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 sentences, front-loaded with the core action, followed by consequences and error conditions. Every sentence adds essential information with no fluff or redundancy.

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 covers purpose, prerequisites (token from prepare step), behavioral guarantees, and failure modes. It could explicitly say 'call prepare_delete_folder first' but the token reference implies it. No output schema means return-format details are not required.

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 description coverage is 100%, with both token_id and folder_id already documented. The description adds minimal extra meaning beyond restating that the token comes from prepare_delete_folder and the folder must match the prepare step, which the schema already notes.

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 purpose: to confirm and execute deletion of a mail folder using a token from prepare_delete_folder. This specific verb+resource combination distinguishes it from sibling confirmation tools like confirm_delete_email and confirm_move_email.

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 provides clear context by indicating the token comes from prepare_delete_folder, implying this is the second step in a two-phase deletion. It does not explicitly list when-not-to-use or alternatives, but the token requirement makes the usage context unmistakable.

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