Skip to main content
Glama

discord_delete_webhook

Destructive

Delete a webhook permanently by its ID to invalidate its token and stop integrations. Requires Manage Webhooks permission; this action cannot be undone.

Instructions

Permanently delete a webhook by its ID, invalidating its token. IRREVERSIBLE: any integrations using the old token will stop working. Requires the Manage Webhooks permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYesID (snowflake) of the webhook to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / webhook_id / pattern
      Added value: +"^\\d{17,20}$"
  3. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / webhook_id / description
      Added value: +"ID (snowflake) of the webhook to delete."
  4. Addedv1.5.0
  5. Removedv1.0.0
  6. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes beyond them meaningfully: it names what gets destroyed (the token), the consequence (integrations using the old token stop working), marks the operation IRREVERSIBLE, and surfaces the auth requirement. This directly adds the 'what gets destroyed' and 'auth needs' context the rubric credits. It is strong but not exhaustive — no mention of error behavior for invalid/nonexistent IDs or rate limits.

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?

Three tight sentences, each earning its place: the action, the irreversibility warning with concrete impact, and the permission prerequisite. The action is front-loaded, and there is zero filler or repetition of the input schema.

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 low-complexity tool (one parameter, no output schema, annotations present), the description covers the essentials: what it does, what it destroys, irreversibility, and the required permission. The only gaps are error/return behavior (e.g., what happens on a second delete of the same webhook) and rate-limit info, which are minor for a simple destructive 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%: webhook_id is already documented as the snowflake ID of the webhook to delete, with a regex pattern. The description's phrase 'by its ID' merely restates the schema. Per the rubric, a baseline of 3 applies when the schema carries the load; the description adds no parameter-level detail beyond it.

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?

The description states a specific verb and resource with precise scope: 'Permanently delete a webhook by its ID, invalidating its token.' The token-invalidation detail makes clear this targets the webhook resource itself, not a webhook message (discord_delete_webhook_message), so it is implicitly distinguishable. However, it does not explicitly name or contrast any sibling, falling just short of the top bar.

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 description implies when to use the tool (when a webhook must be permanently removed) and states a clear prerequisite: 'Requires the Manage Webhooks permission.' But it offers no when-not-to-use guidance or alternatives (e.g., clarify that deleting a webhook message is a different tool). This is more than 'no guidance' but less than explicit exclusions.

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