Skip to main content
Glama

delete_message

Removes an email message from your Outlook mailbox; requires setting confirm to true.

Instructions

Delete an email message. Requires confirm: true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be literal boolean true
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it meets only part of it: it discloses the `confirm: true` safety gate. It says nothing about whether deletion is permanent or recoverable, what permissions are needed, or what happens on failure — critical gaps for a destructive operation.

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 short sentences, zero filler, with the action stated first and the prerequisite immediately after. Nothing can be trimmed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, unannotated tool with no output schema and one undocumented required parameter, the description is too thin — it should at minimum state permanence/recoverability and clarify the identifier expected for `message_id`.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: the `confirm` parameter already documents "Must be literal boolean true" in the schema, so the description merely repeats it, while `message_id` is undocumented in both the schema and the description. The description compensates for none of the coverage gap, leaving no added meaning.

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 an email message"), which is unambiguous and distinguishable from update_message/get_message by the verb alone. It does not, however, explicitly contrast itself with any sibling such as delete_event or a trash/archive alternative.

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?

Usage is implied by the verb — an agent knows this is for removing a message — and the confirm prerequisite is stated. There is no explicit guidance on when to prefer this over alternatives (e.g., moving to trash, deleting a thread, or delete_event), nor any exclusion or warning context.

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