Skip to main content
Glama
cappyeo

discord-mcp

webhooks_delete_message

DestructiveIdempotent

Delete a previously sent webhook message to retract stale alerts or accidentally posted content. This action is permanent and 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.

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description goes well beyond the annotations by specifying the 'DESTRUCTIVE - IRREVERSIBLE' nature, the lack of an Authorization header, the need for __confirm:true and MCP_DRY_RUN=false to actually delete, and the return shape. These are actionable behavioral details not present in the 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 well-structured with bolded sections (Purpose, When to use, Auth, Returns) and is concise. Every sentence adds value, and it is front-loaded with the core purpose and destructiveness.

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 destructive webhook operation, the description covers the purpose, trigger conditions, auth specifics, return value, and the mandatory confirmation flow. It is nearly complete, but it does not mention typical edge cases (e.g., message not found, rate limits) or explicitly guide towards alternative tools in different auth contexts. Given the output schema presence, this is sufficient but not perfect.

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 baseline is 3. The description repeats some parameter details already in the schema (token as secret, __confirm behavior, MCP_DRY_RUN), but adds no new parameter-level semantics beyond that. It is simply redundant with the schema.

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 clearly states the tool's action: 'Delete a message previously sent by this webhook.' This is a specific verb+resource pairing. However, it does not explicitly differentiate from sibling tools like messages_delete or webhooks_delete_with_token, so it misses the top score for sibling differentiation.

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 clear 'When to use' section with concrete examples (retract stale alerts or accidentally posted content). This gives context but does not mention when not to use this tool or name alternative tools, so it stops short of full guidance.

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

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