Skip to main content
Glama
discord-mcp

discord-mcp

webhooks_delete_message

DestructiveIdempotent

Delete a Discord webhook message to retract stale alerts or accidentally posted content; requires confirmation and is irreversible.

Instructions

Purpose: Delete a message previously sent by this webhook. DESTRUCTIVE - IRREVERSIBLE.

When to use: - Retract a stale alert or accidentally posted content.

Auth: NO Authorization: Bot … header. No audit_reason (Discord ignores it on token routes).

Returns: {deleted, message_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>",
      "token": "<token>",
      "message_id": "<message_id>"
    },
    "name": "webhooks_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesWebhook secret - treat as credential, do not log
__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.
thread_idNoQuery param: thread the message lives in
message_idYesMessage to delete
webhook_idYesWebhook id

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds substantial context they cannot express: the operation is irreversible, no Authorization Bot header should be sent, audit_reason is ignored on token routes, and deletion is gated behind both __confirm:true and a server running with MCP_DRY_RUN=false. This is exactly the kind of procedural and safety detail an agent needs before invoking a destructive call.

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-loaded with purpose and a bolded DESTRUCTIVE warning, then organized into labeled When-to-use, Auth, and Returns sections. Every line carries operational value; there is no filler.

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, credential-bearing call, the description covers purpose, trigger conditions, auth requirements, confirmation gating, and irreversibility, and an output schema exists so return-shape explanation is a bonus rather than a necessity. Nothing an agent needs to call this safely is missing.

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% and the schema already documents every parameter, including the __confirm/MCP_DRY_RUN interlock and the token's credential handling. The description largely restates those semantics in prose, adding only the auth nuance about which headers to omit rather than explaining any parameter beyond what the schema says.

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 opens with a specific verb and resource ('Delete a message previously sent by this webhook'), which cleanly separates it from siblings like webhooks_delete (deletes the webhook itself) and messages_delete. The scope qualifier 'previously sent by this webhook' plus the token-based route makes the target unambiguous.

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?

It provides an explicit 'When to use' section with two concrete scenarios (retracting stale alerts, accidental posts), which gives the agent a clear selection trigger. It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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