Skip to main content
Glama
Teams MCP Server
by B0rbor4d

teams_edit_message

Edit an existing Microsoft Teams message you own by updating its text with a specified team ID, channel ID, and message ID.

Instructions

Bearbeitet eine existierende Nachricht (nur eigene)

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>",
      "newContent": "<newContent>"
    },
    "name": "teams_edit_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdYes
channelIdYes
messageIdYes
newContentYesNeuer Nachrichtentext

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose a real constraint not present in the schema — only the caller's own messages can be edited. It omits permission requirements, whether content is fully replaced versus appended, edit-history behavior, and what happens on a non-owned message, so key mutation semantics remain unstated.

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 short sentence with the action front-loaded and the ownership constraint appended; nothing is wasted. It errs toward terseness rather than verbosity, but the structure itself is clean.

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?

This is a four-required-parameter mutation with no annotations, no output schema, and thin schema coverage, so the description needs to do more. It leaves the agent without error/ownership-failure behavior or replacement semantics, which are essential for calling an edit tool correctly.

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 25% (only newContent is annotated), so the description must compensate, yet it adds no meaning for teamId, channelId, or messageId. It only loosely restates that there is an existing message to target and new text to supply.

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 states a specific verb and resource ("Bearbeitet eine existierende Nachricht") and adds a scope constraint ("nur eigene"), so an agent can distinguish editing an existing message from sending a new one. It does not name a sibling alternative, but the purpose itself 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?

"existierende Nachricht" and "nur eigene" imply the selection condition (an already-posted message authored by the caller), which is useful implicit guidance. There is no explicit statement of when to use this rather than reply/send, and no mention of what to do when the message is not the caller's own.

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