Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Delete reviewed Discord messages

delete_messages
DestructiveIdempotent

Permanently deletes only exact Discord messages from a reviewed plan after signed confirmation, ensuring verifiable removal through 404 readback.

Instructions

Permanently delete only the exact messages in a matching reviewed plan after signed interactive confirmation, durable per-message coordination, one-shot reservation, pending content-free activity, non-retried age-safe execution, and exact 404 readback for every target.

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": {
      "auditReason": "<auditReason>",
      "channelId": "<channelId>",
      "messageIds": "<messageIds>",
      "operationKey": "<operationKey>"
    },
    "name": "delete_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelIdYesExact separately allowlisted Discord channel or thread ID
messageIdsYesOne to 100 exact unique Discord message IDs
planDigestNo
auditReasonYesReason sent only in Discord's audit-log header and never persisted locally
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds meaningful behavioral context beyond that: signed confirmation, durable coordination, one-shot reservation, non-retried execution, and 404 readback. The added terms are useful but several are opaque jargon, which keeps this from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense sentence that strings together multiple unexplained workflow terms. It is front-loaded with the core action, but the structure is poor and terms like 'pending content-free activity' do not earn their place without explanation.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. For a destructive, multi-step tool, however, the description leaves key workflow concepts undefined, including how a reviewed plan is produced and what confirmation entails.

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 80%, so the schema already documents most parameters. The description adds almost no parameter meaning beyond 'exact messages' and 'reviewed plan'; it does not explain planDigest, operationKey, or auditReason behavior. A baseline 3 is appropriate when the schema does most of the work.

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 opening clause states a specific verb and resource: 'Permanently delete only the exact messages in a matching reviewed plan.' That distinguishes it from read/list siblings. However, 'reviewed plan' is undefined and no sibling alternative is named, so the agent must infer part of the scope.

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 lists preconditions such as 'after signed interactive confirmation' and 'matching reviewed plan', which implies when the tool is callable. It does not say when to prefer alternatives, when not to use it, or how to obtain the required reviewed plan.

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