Skip to main content
Glama
discord-mcp

discord-mcp

webhooks_delete

DestructiveIdempotent

Permanently deletes a Discord webhook by ID to decommission stale or compromised endpoints. Requires explicit confirmation and a non-dry-run server setting since the action is irreversible.

Instructions

Purpose: Delete a webhook by id. DESTRUCTIVE - IRREVERSIBLE.

When to use: - Decommission a stale or compromised webhook.

Returns: {deleted, webhook_id}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.

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": "webhooks_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
__confirmNoSet true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned.
webhook_idYesWebhook to delete
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by declaring the operation IRREVERSIBLE, describing the dry-run gate that returns DRY_RUN_PREVIEW unless MCP_DRY_RUN=false, and naming the return payload. The annotations only flag destructiveHint/idempotentHint; the description supplies the actual operational mechanics an agent needs before firing a delete.

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?

Front-loads purpose and the destructive warning, then uses labeled sections for when-to-use and returns. Every sentence carries actionable information, with no filler.

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?

Covers the destructive confirmation flow, the environment prerequisite, and the return shape, which is thorough for a 3-parameter mutation with an output schema. The remaining gap is disambiguation from the token-based delete sibling, which an agent would have to infer.

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 all three parameters (__confirm, webhook_id, audit_reason) are already documented in the schema. The description reinforces __confirm and the dry-run coupling but adds no meaning beyond the schema text, so baseline 3 applies; audit_reason goes unmentioned in the description.

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 specific verb and resource ('Delete a webhook by id') with an explicit destructive/irreversible marker, so the agent knows exactly what will happen. It does not differentiate from the plausible sibling 'webhooks_delete_with_token', leaving ambiguity about which delete variant applies to which webhook.

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?

Provides a concrete when-to-use condition ('Decommission a stale or compromised webhook') and adds the real prerequisite for action: __confirm:true plus MCP_DRY_RUN=false. It stops short of naming alternatives or stating when not to use it (e.g., for token-auth webhooks, use the with_token variant).

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