messages_edit

Edit the text of a message you already sent, in place. Supported on Telegram, WhatsApp, LiveChat, Max.ru, LINE, WeChat and similar channels; NOT supported on Gmail, Instagram, or LinkedIn (their platforms forbid editing) — those return an explicit error. Note: channels impose their own limits (ow...

SERVERDialogbrain SOURCEhttps://api.dialogbrain.com/mcp
Medium RISK CLASS
Category Write
Parameters 33 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-saloprj-dialogbrain/messages-edit.md

What messages_edit does on Dialogbrain

AI agents use messages_edit to create or update resources in Dialogbrain, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Dialogbrain environment.

ParameterTypeRequiredDescription
new_text string Yes Replacement text for the message.
thread_id string Yes Thread ID containing the message (numeric DB id or channel_ref like 'telegram:-100123').
message_id string Yes ID of the message to edit (from messages.read_history).

Parameters from the server's own tool schema.

Why messages_edit is rated Medium

messages_edit modifies content (message text) that has already been created. This falls under Write category (reversible modification). Severity is medium because: (1) the edits are limited to the user's own messages by platform constraints, (2) the modification is reversible (can be edited again), and (3) blast radius is constrained by channel-specific time windows (48h Telegram, 15min WhatsApp).

From the tool's definition Tool description explicitly states 'Edit the text of a message you already sent, in place' and 'supported on Telegram, WhatsApp, LiveChat' — this is a reversible modification of existing data.

Questions about messages_edit

What does the messages_edit tool do? +

Edit the text of a message you already sent, in place. Supported on Telegram, WhatsApp, LiveChat, Max.ru, LINE, WeChat and similar channels; NOT supported on Gmail, Instagram, or LinkedIn (their platforms forbid editing) — those return an explicit error. Note: channels impose their own limits (own messages only, edit time windows such as ~48h on Telegram / ~15min on WhatsApp). Get the message_id from messages.read_history (each row's id). It is categorised as a Write tool in the Dialogbrain MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does messages_edit accept? +

messages_edit accepts 3 parameters: new_text, thread_id, message_id. Required: new_text, thread_id, message_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on messages_edit? +

Register the Dialogbrain MCP server in PolicyLayer and add a rule for messages_edit: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.

What risk level is messages_edit? +

messages_edit is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit messages_edit? +

Yes. Add a rate_limit block to the messages_edit rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block messages_edit completely? +

Set action: deny in the PolicyLayer policy for messages_edit. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides messages_edit? +

messages_edit is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Dialogbrain, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Dialogbrain's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.