Skip to main content
Glama

update_own_message

Stage an edit to your own Slack message. View a visual diff of the original and proposed text, then confirm to apply the update.

Instructions

Stage an edit to one of your own messages. Does NOT update until confirm_send is called.

Fetches the current message text up front so the draft preview shows BOTH the BEFORE and AFTER strings — a visual diff in plain Python. After confirm_send, the message is edited in place via chat.update.

Returns a draft_id, the resolved workspace + channel + target_ts, and a preview dict with before, after, target_ts. Drafts expire after 1 hour and can only be confirmed once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsYes
textYes
channelYes
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully bears this burden. It discloses that the tool does not update until confirm_send is called, fetches current text for a visual diff, returns a preview with before/after, states that drafts expire after 1 hour, and can only be confirmed once—very transparent.

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?

The description is multi-paragraph but each sentence contributes unique information. It is front-loaded with the key caveat about confirm_send. Could be slightly more concise, but overall well-structured.

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?

Given the tool's complexity (two-phase update, draft expiration, preview), the description is comprehensive. It covers return values (draft_id, preview, etc.), and the presence of an output schema further supports completeness for return types.

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 coverage is 0%, so the description must compensate. It mentions channel, ts, text, and workspace (optional) but does not provide detailed syntax or constraints (e.g., ts format). This adds some value but not enough to fully cover missing schema descriptions.

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 clearly states the tool's purpose: 'Stage an edit to one of your own messages' and emphasizes it does NOT update until confirm_send is called, distinguishing it from sibling tools like send_message and confirm_send.

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 explains the two-phase workflow (stage then confirm) and mentions that after confirm_send the message is edited via chat.update, providing context. It does not explicitly list when not to use, but the sibling list includes alternatives like delete_own_message, so the guidance is adequate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adelaidasofia/slack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server