Skip to main content
Glama
stackia
by stackia

Update Chat Message

update_chat_message
Idempotent

Update a previously sent Microsoft Teams chat message with new text, Markdown, mentions, or importance. Use this to correct or revise a message you sent in a chat.

Instructions

Update (edit) a chat message that was previously sent. Only the message sender can update their own messages. Supports updating content with text or Markdown formatting, mentions, and importance levels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesChat ID
formatNoMessage format (text or markdown)
messageYesNew message content
mentionsNoArray of @mentions to include in the message
tenantIdNoTarget tenant ID from list_tenants. Omit only when a default is configured or exactly one tenant is connected. Resource IDs belong to this tenant.
messageIdYesMessage ID to update
importanceNoMessage importance

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description adds a meaningful behavioral/permission constraint: only the sender can update. It also clarifies supported content types and fields)Skip the destructive/read-only profile is already covered by annotations, so the added sender restriction is valuable context.

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 with no filler. The action and scope are front-loaded, and the capability list is compact and informative without repeating schema content.

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?

The description leaves out important invocation details such as whether omitted optional fields preserve existing values or reset to defaults, and there is no output schema to clarify the return value. The sender restriction and supported fields are useful, but for a mutation tool with optional parameters, some update semantics are missing.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all parameters. The description repeats that format, mentions, and importance are supported, but adds no new semantic details such as default behavior or partial-vs-full update semantics.

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 clearly states the action (update/edit) and the resource (chat message), and adds that it applies to previously sent messages. It distinguishes from channel-message tools through the word 'chat', though it doesn't explicitly name the sibling alternative.

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 gives a clear, important usage condition: only the message sender can update their own messages. It implies this tool is for editing existing sent chat messages, but it doesn't explicitly mention alternatives like update_channel_message or send_chat_message.

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