Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

delete_message

Destructive

Delete one or more Outlook messages by ID, moving them to Deleted Items for recovery or removing them permanently when needed.

Instructions

Delete a message. By default moves it to Deleted Items (recoverable). With permanent: true it is deleted irreversibly. Accepts id or ids (up to 50).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoA single message id
idsNoSeveral message ids (up to 50); give either id or ids, not both
permanentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.9/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, but the description adds the critical nuance that the default path is recoverable via Deleted Items while permanent:true is irreversible. That materially changes an agent's risk calculus before invoking. It stops short of describing error behavior for missing ids or confirmation 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, front-loaded with the core action and the recoverability distinction, then the batch input constraint. No filler 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?

For a destructive batch tool with only three parameters and no output schema, the definition covers the important unknowns: reversibility, the permanence flag, and the batch limit. Minor gaps remain around permissions and behavior when an id is invalid, but nothing essential to correct invocation is missing.

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 67%, with 'permanent' carrying no schema description, and the description fills exactly that gap by explaining its irreversibility. It restates the id/ids mutual exclusion and 50-item cap already in the schema, which adds little but does not harm.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Delete a message') and immediately distinguishes the two deletion modes. It does not name sibling alternatives such as move_message, so an agent relies on its own judgment to separate deletion from relocation, but the core operation is unambiguous.

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?

Explains the choice between default soft-delete and 'permanent: true' (irreversible), which is genuine decision guidance for the parameter. It does not say when to prefer this tool over siblings like move_message or bulk_action, nor mention any prerequisites such as ownership or permissions.

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