Skip to main content
Glama

discord_edit_webhook

DestructiveIdempotent

Update a Discord webhook's name, avatar, or target channel; only supplied fields change, and Manage Webhooks permission is required.

Instructions

Update a webhook's name, avatar, or the channel it posts to. Only provided fields change. Requires the Manage Webhooks permission. Returns a confirmation. To edit a message the webhook sent, use discord_edit_webhook_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": {
      "webhook_id": "<webhook_id>"
    },
    "name": "discord_edit_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew display name for the webhook (max 80 characters).
avatarNoNew avatar image URL for the webhook.
channel_idNoID (snowflake) of a channel to move the webhook to.
webhook_idYesID (snowflake) of the webhook to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / name / maxLength
      Added value: +80
  2. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed4 schema fields changedv2.0.0
    • addedInput schema / properties / avatar / format
      Added value: +"uri"
    • addedInput schema / properties / avatar / pattern
      Added value: +"^https?://"
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / webhook_id / pattern
      Added value: +"^\\d{17,20}$"
  4. Changed4 schema fields changedv1.6.0
    • changedInput schema / properties / avatar / description
      Previous value: -"New avatar URL for the webhook."New value: +"New avatar image URL for the webhook."
    • changedInput schema / properties / channel_id / description
      Previous value: -"Move the webhook to a different channel."New value: +"ID (snowflake) of a channel to move the webhook to."
    • changedInput schema / properties / name / description
      Previous value: -"New name for the webhook."New value: +"New display name for the webhook (max 80 characters)."
    • addedInput schema / properties / webhook_id / description
      Added value: +"ID (snowflake) of the webhook to edit."
  5. Addedv1.5.0
  6. Removedv1.0.0
  7. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the bar is lower, and the description adds useful context beyond them: partial-update semantics ('Only provided fields change'), the permission requirement, and the confirmation return. It stops short of clarifying why the operation is flagged destructive or whether moving a channel affects existing messages, which would fully resolve the destructive flag.

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?

Four short sentences, front-loaded with the action and scope, followed by update semantics, permission requirement, return behavior, and the sibling pointer. Nothing is redundant, though the trailing sentences could be condensed slightly.

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 4-parameter mutation tool with no output schema, the description covers the mutable surface, partial-update behavior, authorization, and a return-value note. Only the destructive-flag rationale is left unexplained.

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 coverage is 100%, so the schema already documents all four fields including constraints and snowflake patterns. The description only mirrors the field list plus the partial-update note, adding no format or validation detail beyond the schema — baseline 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?

States a specific verb (update) and resource (webhook) and enumerates the mutable fields (name, avatar, channel), which lets an agent distinguish it from discord_create_webhook, discord_delete_webhook, and the message-level siblings without opening schemas.

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?

Explicitly routes the agent: this tool edits the webhook object itself, and editing a webhook-sent message belongs to discord_edit_webhook_message. It also states the precondition (Manage Webhooks permission), so both when-to-use and the required authority are covered.

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