Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

message_delete

Destructive

Deletes a single Discord message by ID, including the bot’s own messages or others when Manage Messages permission is available.

Instructions

Delete one message (the bot's own, or anyone's with Manage Messages).

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": {
      "message": "<message>"
    },
    "name": "message_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
reasonNo
channelNo
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the irreversibility is largely covered. The description adds the useful permission detail (Manage Messages needed for others' messages), but says nothing about failure modes, age limits, or side effects.

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?

One short sentence with the destructive target and permission caveat front-loaded, no filler. It is efficient but arguably too compressed for a five-parameter destructive tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent tool with zero schema documentation and no output schema, the entry is thin: four of five parameters are undocumented and failure behavior is unstated. The permission note is the only compensatory detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description carries the full burden. It explains only the 'message' target and indirectly hints at the 'bot' parameter; guild, channel, and reason are completely unexplained.

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 one message') plus the scope of what may be deleted (the bot's own, or anyone's with Manage Messages). It is clear enough to separate from siblings like message_edit or message_pin, though it never names an alternative explicitly.

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 parenthetical gives a permission precondition for the broader case, which implies when the tool will and will not succeed. There is no guidance on when to prefer this over other message operations or what to do when deletion is not permitted.

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