Skip to main content
Glama

discord_edit_webhook_message

Idempotent

Edit a webhook message in Discord by supplying the webhook's ID and token along with the message ID to update content or embeds.

Instructions

Edit a message previously sent through a webhook, using the webhook's ID and token. Replaces the provided fields. Requires the original webhook token. Returns a confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYesID (snowflake) of the webhook that sent the message.
webhook_tokenYesSecret token of the webhook.
message_idYesID of the webhook message to edit.
contentNoNew plain-text content for the message (max 2000 characters).
embedsNoUp to 10 embed objects to attach to the webhook message.
Behavior4/5

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

Annotations indicate a non-read-only, non-destructive, idempotent, and open-ended tool. The description adds that editing 'replaces the provided fields' and 'returns a confirmation', which provides useful behavioral context beyond annotations. It does not contradict annotations.

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 two sentences, front-loading the core action and immediately adding key requirements and return. No unnecessary words; every sentence adds value.

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

Completeness4/5

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

For a tool with 5 parameters and no output schema, the description covers the main behavior (edit, replace fields, require token, return confirmation). It lacks error handling or rate limit notes, but the annotations' openWorldHint suggests flexibility. Overall adequate.

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?

All parameters have full schema descriptions (100% coverage), so the description adds minimal new information beyond the schema. It reinforces the need for a token but does not elaborate on parameter constraints or usage.

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 'Edit a message previously sent through a webhook', specifying the verb (edit), resource (message), and context (webhook). This distinguishes it from siblings like discord_edit_message (regular messages) and discord_delete_webhook_message (delete).

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

Usage Guidelines4/5

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

The description mentions a prerequisite ('Requires the original webhook token') and implies the tool is for webhook messages, differentiating from regular message editing. However, it does not explicitly state when not to use it or compare to alternatives.

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

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