Skip to main content
Glama
cappyeo

discord-mcp

messages_edit

Edit a Discord message previously sent by the bot to fix typos, update status text, or rewrite embeds.

Instructions

Purpose: Edit a Discord message previously sent by this bot.

When to use: correct typos; update status text; rewrite embeds.

When NOT to use: edit messages NOT sent by this bot - Discord rejects (403).

Returns: {message_id, channel_id, edited_timestamp}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesNew text content (max 2000 chars)
channel_idYesChannel containing the message
message_idYesMessage to edit

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already indicate a mutating, non-read-only operation, but the description adds the specific 403 rejection for non-bot messages and discloses the return object format. This goes beyond the structured fields to clarify an important behavioral constraint.

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?

The description is compact and well-structured using bold labels for Purpose, When to use, When NOT to use, and Returns. Each sentence earns its place, providing essential information without redundancy.

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 simple edit tool, the description covers the core purpose, key limitations, and return value. The output schema exists, so return details are explicitly stated. This is complete given the tool's complexity.

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%, with all three parameters (content, channel_id, message_id) described in the schema. The tool description does not add additional parameter semantics beyond what is already provided, so the baseline score of 3 is appropriate.

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 edits a Discord message previously sent by the bot, using a specific verb and resource. It also differentiates from sibling message tools by emphasizing the bot-author restriction, which is a key distinguishing factor.

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?

The 'When to use' section lists concrete use cases (typos, status updates, embeds), and the 'When NOT to use' section explicitly warns against editing foreign messages with the 403 error. This provides clear guidance on when to use the tool and when to avoid it.

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/cappyeo/discord-mcp'

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