Skip to main content
Glama

edit_message

DestructiveIdempotent

Replace the text of a Signal message you already sent to fix typos or update information; recipients see the new text labeled '(edited)'.

Instructions

Replace the text of a message you already sent (DM or group); recipients see the new text with an '(edited)' label. Use to fix typos or update information; use delete_message / delete_group_message to retract it instead, and send a new message to reach different people. Only the text changes — attachments, quotes and reactions stay. target_timestamp: ms timestamp of the original (from the send_* result or the message id in get_conversation). message: the new full text (no formatting conversion). Give recipient (E.164) for a DM or group_id (from list_groups) for a group; neither is an error. Signal only accepts edits of your own messages. Contacts Signal's servers and overwrites the stored body locally (the old text is not kept); repeating the same edit has no further effect. Returns {status, target_timestamp}.

Input Schema

NameRequiredDescriptionDefault
messageYesNew message text to replace the original
group_idNoGroup ID for a group message edit
recipientNoPhone number for a DM message edit
target_timestampYesTimestamp of the message to edit (from get_conversation or send_message response)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.2
    • changedInput schema / properties / group_id / description
      Previous value: -"Group ID for a group message"New value: +"Group ID for a group message edit"
    • changedInput schema / properties / message / description
      Previous value: -"New message text"New value: +"New message text to replace the original"
    • changedInput schema / properties / recipient / description
      Previous value: -"Phone number for a DM message"New value: +"Phone number for a DM message edit"
    • changedInput schema / properties / target_timestamp / description
      Previous value: -"Timestamp of the message to edit"New value: +"Timestamp of the message to edit (from get_conversation or send_message response)"
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond annotations: recipients see an '(edited)' label, only text changes while attachments/quotes/reactions stay, only your own messages can be edited, the stored body is overwritten locally and the old text is not kept, and repeating the same edit has no further effect. These details are consistent with destructiveHint=true and idempotentHint=true rather than contradicting them.

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?

Front-loads the core action and the '(edited)' consequence, then routes to alternatives before parameter details. It is dense and information-rich, though a couple of clauses (e.g. the returns note) could be tightened.

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?

For a mutation tool with no output schema, it discloses the return shape ({status, target_timestamp}), the server round-trip, and the local-overwrite behavior. Combined with annotations covering the safety profile, nothing an agent needs to call it correctly 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 already 100%, so the baseline is 3, but the description adds real meaning: target_timestamp provenance ('from the send_* result or the message id in get_conversation'), the 'no formatting conversion' constraint on message, and the E.164 / list_groups sourcing for recipient and group_id.

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?

States a specific verb and resource with scope: 'Replace the text of a message you already sent (DM or group)'. It immediately distinguishes itself from send_message and delete_message, so an agent can pick it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly names the situations to use it ('fix typos or update information') and the alternatives with their selection conditions: delete_message / delete_group_message to retract, and send a new message to reach different people. Nothing is left to inference.

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