Skip to main content
Glama

discord_edit_embed

Destructive

Replace an embed on a bot-authored Discord message; supplied fields replace existing ones and omitted fields are dropped. Requires View Channel, Read Message History, and Embed Links permissions.

Instructions

Replace the embed on a message previously sent by this bot. Only this bot's messages can be edited. This is a full replace, not a merge: provided fields are applied and omitted fields are dropped from the embed. Requires the View Channel, Read Message History and Embed Links permissions. Returns a confirmation. It keeps the message's text; use discord_edit_message to change the text, discord_edit_dm_embed for a DM, or discord_edit_webhook_message for a webhook's message.

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>"
    },
    "name": "discord_edit_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL that makes the title clickable.
colorNoSide-bar color as a hex string, e.g. '#5865F2'.
titleNoEmbed title shown in bold at the top.
authorNoAuthor block shown at the top of the embed.
fieldsNoUp to 25 name/value field blocks. Set inline:true on a field to render it side-by-side with adjacent inline fields (up to 3 per row).
footerNoFooter text shown at the bottom of the embed.
image_urlNoLarge image shown below the embed body.
timestampNoIf true, stamp the embed with the current time.
channel_idYesID (snowflake) of the channel or thread containing the message.
message_idYesID of the message to edit. Must be a message authored by this bot (an embed is added if it has none).
descriptionNoMain body text of the embed (supports Markdown).
thumbnail_urlNoSmall image shown in the top-right corner.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.6.2
    • addedInput schema / properties / author / properties / name / maxLength
      Added value: +256
    • addedInput schema / properties / description / maxLength
      Added value: +4096
    • addedInput schema / properties / fields / items / properties / name / maxLength
      Added value: +256
    • addedInput schema / properties / fields / items / properties / value / maxLength
      Added value: +1024
    • addedInput schema / properties / footer / maxLength
      Added value: +2048
    • addedInput schema / properties / title / maxLength
      Added value: +256
  2. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / fields / maxItems
      Added value: +25
  3. Changed3 schema fields changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / author / additionalProperties
      Added value: +false
    • addedInput schema / properties / fields / items / additionalProperties
      Added value: +false
  4. Changed14 schema fields changedv2.0.0
    • addedInput schema / properties / author / properties / icon_url / format
      Added value: +"uri"
    • addedInput schema / properties / author / properties / icon_url / pattern
      Added value: +"^https?://"
    • addedInput schema / properties / author / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / author / properties / url / pattern
      Added value: +"^https?://"
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / color / pattern
      Added value: +"^#[0-9A-Fa-f]{6}$"
    • addedInput schema / properties / image_url / format
      Added value: +"uri"
    • addedInput schema / properties / image_url / pattern
      Added value: +"^https?://"
    • changedInput schema / properties / message_id / description
      Previous value: -"ID of the message to edit. Must be a bot message that already contains an embed."New value: +"ID of the message to edit. Must be a message authored by this bot (an embed is added if it has none)."
    • addedInput schema / properties / message_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / thumbnail_url / format
      Added value: +"uri"
    • addedInput schema / properties / thumbnail_url / pattern
      Added value: +"^https?://"
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / url / pattern
      Added value: +"^https?://"
  5. Changed1 schema field changedv1.6.2
    • changedInput schema / properties / fields / description
      Previous value: -"Up to 25 name/value field blocks rendered as a grid."New value: +"Up to 25 name/value field blocks. Set inline:true on a field to render it side-by-side with adjacent inline fields (up to 3 per row)."
  6. Changed17 schema fields changedv1.6.0
    • addedInput schema / properties / author / description
      Added value: +"Author block shown at the top of the embed."
    • addedInput schema / properties / author / properties / icon_url / description
      Added value: +"Small icon shown next to the author name."
    • addedInput schema / properties / author / properties / name / description
      Added value: +"Author display name."
    • addedInput schema / properties / author / properties / url / description
      Added value: +"URL the author name links to."
    • addedInput schema / properties / channel_id / description
      Added value: +"ID (snowflake) of the channel or thread containing the message."
    • changedInput schema / properties / color / description
      Previous value: -"Hex color e.g. #5865F2"New value: +"Side-bar color as a hex string, e.g. '#5865F2'."
    • addedInput schema / properties / description / description
      Added value: +"Main body text of the embed (supports Markdown)."
    • addedInput schema / properties / fields / description
      Added value: +"Up to 25 name/value field blocks rendered as a grid."
    • addedInput schema / properties / fields / items / properties / inline / description
      Added value: +"If true, render this field side-by-side with adjacent inline fields."
    • addedInput schema / properties / fields / items / properties / name / description
      Added value: +"Field heading."
    • addedInput schema / properties / fields / items / properties / value / description
      Added value: +"Field body text."
    • addedInput schema / properties / footer / description
      Added value: +"Footer text shown at the bottom of the embed."
    • addedInput schema / properties / image_url / description
      Added value: +"Large image shown below the embed body."
    • changedInput schema / properties / message_id / description
      Previous value: -"The message ID to edit (must be a bot message with an embed)."New value: +"ID of the message to edit. Must be a bot message that already contains an embed."
    • addedInput schema / properties / thumbnail_url / description
      Added value: +"Small image shown in the top-right corner."
    • changedInput schema / properties / timestamp / description
      Previous value: -"If true, adds the current timestamp to the embed."New value: +"If true, stamp the embed with the current time."
    • addedInput schema / properties / title / description
      Added value: +"Embed title shown in bold at the top."
  7. Addedv1.5.0
  8. Removedv1.0.0
  9. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the destructiveHint=true/openWorldHint=true annotations, it discloses the critical replace-not-merge semantics (omitted fields are dropped), the permission set required, that the message text is preserved, and that a confirmation is returned. That is exactly the context an agent needs before a destructive overwrite.

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?

Five short sentences, front-loaded with the core action, then the replace semantics, then the permission prerequisite, then sibling routing. No filler or restatement of the tool name.

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 destructive mutation with no output schema, the definition covers the mutation model, permissions, side effect on existing fields, what is preserved, and return shape (a confirmation). Nothing an agent needs to call it safely 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 100%, so the baseline is 3; the description adds genuine meaning for the ten optional params by explaining that the operation is a full replace and omitted fields disappear, which changes how an agent should construct the payload. It does not, however, discuss individual field-level constraints, which the schema already covers.

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 ("Replace the embed on a message") plus the scope constraint that only this bot's messages can be edited. It explicitly contrasts itself with three named siblings, so an agent can discriminate without opening another 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?

Explicit routing: use discord_edit_message to change text, discord_edit_dm_embed for a DM, discord_edit_webhook_message for a webhook. It also states the preconditions (bot-authored message) and what to do instead when the goal is different.

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