Skip to main content
Glama

teams_delete_message

Destructive

Deletes one of your Microsoft Teams messages using soft delete so it can be restored later.

Instructions

Delete one of your messages (soft delete, like the Teams client; teams_undelete_message restores it).

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": {
      "conversation_id": "<conversation_id>",
      "message_id": "<message_id>"
    },
    "name": "teams_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount alias (see teams_accounts). Defaults to the default account.
message_idYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

The annotations already mark the operation as destructive and open-world, but the description adds important behavioral context: this is a soft delete like the Teams client, and teams_undelete_message can restore it. This meaningfully clarifies recoverability beyond the structured hints.

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?

The description is a single compact sentence with no wasted wording. The key behavior, soft delete, and the recovery alternative are front-loaded.

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

Completeness3/5

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

For a delete operation, the description covers the critical recoverability behavior and ownership constraint well. However, with two required parameters undocumented in the schema and no added parameter guidance, the definition is only adequate rather than fully complete.

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

Parameters2/5

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

Schema description coverage is only 33%, with message_id and conversation_id undocumented. The description does not compensate by explaining what those required parameters mean or how to supply them, beyond implying that a target message belongs to the caller.

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 states a specific verb and resource: delete a message. It also scopes the operation to 'one of your messages' and distinguishes the behavior from a permanent delete by calling it a soft delete.

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 clearly indicates when to use the tool and restricts it to deleting your own messages. It also names teams_undelete_message as the recovery path, though it does not explicitly discuss when to choose other deletion-related tools.

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

Deploy Server

Other Tools