Skip to main content
Glama

Update Teams message

teams_update
Destructive

React to, edit, or delete your own Microsoft Teams messages using a message reference, with each change requiring user approval before it is applied.

Instructions

React to a message, or edit/delete one of your own. Visible to others, so it needs approval.

Give exactly one of react, edit or delete. The user is asked before each call.

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_ref": "<message_ref>"
    },
    "name": "teams_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
editNoNew text for your own message (Markdown).
reactNoAdd a reaction: like, heart, laugh, surprised, sad, angry.
deleteNoDelete your own message.
message_refYesMessage ref (p:…) from teams_read.
remove_reactNoRemove that reaction instead of adding it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation risk is structurally known. The description adds genuinely new behavioral context beyond that: effects are visible to other people and the user is prompted for approval on every call. It does not discuss reversibility of delete or failure modes, which keeps it out of the top band.

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 sentences, no filler. Impact ('visible to others') and the approval gate are front-loaded before the parameter rule, which is the right order for an agent deciding whether to call.

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

Completeness5/5

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

There is no output schema, but the tool is a simple mutation whose inputs are fully documented in the schema. The description supplies the pieces the schema lacks: exclusivity of the action parameters, ownership restriction, and the approval requirement. Nothing essential for a correct call 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 100%, so the baseline would be 3. The description adds value the schema cannot express: the mutual-exclusion rule that exactly one of react/edit/delete must be supplied, since all three are independently optional in the schema. That is the single most important calling constraint and it is stated plainly.

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 specific verbs and resource: 'React to a message, or edit/delete one of your own.' This clearly separates it from send/draft siblings by framing it as an action on an existing message. It stops short of naming any sibling explicitly, so the differentiation is implied rather than stated.

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?

Gives a concrete usage constraint ('Give exactly one of react, edit or delete') and a scope restriction ('one of your own'), plus the approval gate before each call. It does not name alternatives (e.g. teams_send for new messages), leaving that inference to the agent.

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