Skip to main content
Glama
Teams MCP Server
by B0rbor4d

teams_delete_message

Deletes a specified Microsoft Teams message by team, channel, and message ID, restricted to your own messages or messages you own as an owner.

Instructions

Löscht eine Nachricht (nur eigene oder als Owner)

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": {
      "teamId": "<teamId>",
      "channelId": "<channelId>",
      "messageId": "<messageId>"
    },
    "name": "teams_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdYes
channelIdYes
messageIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does contribute one genuinely useful behavioral fact — a permission constraint (own messages or Owner) — but omits irreversibility, whether deletion is soft or permanent, and how unauthorized attempts fail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded clause with the verb first and the constraint immediately after; no filler. The brevity is efficient, though it edges toward under-specification rather than true conciseness.

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 operation with no annotations, no output schema, and three undocumented required identifiers, the definition leaves too much unspecified. An agent cannot confirm reversibility, error behavior, or the meaning of any parameter from this text.

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 0% for all three required parameters, so the description must compensate and does not. It never explains what teamId, channelId, or messageId identify, their formats, or how an agent obtains them before calling.

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?

The description gives a specific verb and resource ("Löscht eine Nachricht" = deletes a message), which is enough to separate it from siblings like teams_edit_message or teams_read_messages. It stops short of explicitly naming an alternative, but the action 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical "nur eigene oder als Owner" states a precondition rather than when to choose this tool over alternatives such as editing or replying. There is no guidance on what to do when the message is not yours, nor any mention of when deletion is inappropriate.

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