Skip to main content
Glama
discord-mcp

discord-mcp

discord_edit_message

Updates the content of a message previously sent by a Discord bot, enabling corrections or revisions without deleting and reposting it.

Instructions

Edit a message previously sent by the bot.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel_id": "<channel_id>",
      "message_id": "<message_id>",
      "content": "<content>"
    },
    "name": "discord_edit_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesNew content for the message.
guild_idNoOptional guild ID.
channel_idYesChannel ID or name.
message_idYesMessage ID to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses very little. It implies mutation but says nothing about required bot permissions, whether edits are limited to the bot's own authorship (failure mode if not), whether the original content is recoverable, or whether an edit marker appears in history. Only the authorship constraint is communicated.

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?

A single short sentence with zero filler, and the important constraint is front-loaded rather than buried. It is arguably too terse rather than too verbose, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations and no output schema, the description should describe preconditions, permission requirements, and expected result. It delivers one sentence of scope and leaves the rest for the agent to infer, which is thin for a write operation.

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 channel_id, message_id, content, and guild_id are each already documented in the schema. The description adds no format details, ID syntax, or clarification on the optional guild_id, so the baseline of 3 applies.

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?

States a concrete verb and resource ("Edit a message") and adds a meaningful scope qualifier: the message must have been previously sent by the bot. The resource noun alone separates it from siblings like discord_edit_channel and discord_edit_role, so an agent can route without opening the schema, though no alternative is named explicitly.

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

Usage Guidelines3/5

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

The "previously sent by the bot" clause implies a real precondition and implicitly excludes editing other users' messages, which is useful selection guidance. However, there is no explicit when-to-use direction and no mention of contacting discord_send_message for new content versus editing existing content.

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

Deploy Server

Other Tools