Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan Discord message deletion

plan_message_deletion
Read-onlyIdempotent

Prepares a verifiable, one-shot plan for deleting 1–100 exact allowlisted Discord messages, checking identity, ownership, permissions, and age safety without persisting content.

Instructions

Prepare a process-bound keyed plan for one to 100 exact allowlisted Discord messages. Verifies application and bot identity, guild and channel ownership, optional thread membership, exact content-bearing snapshots, authorship-sensitive permissions, an age-safe execution strategy, and a unique one-shot operation key without writing or persisting Discord content.

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

Input Schema

NameRequiredDescriptionDefault
channelIdYesExact separately allowlisted Discord channel or thread ID
messageIdsYesOne to 100 exact unique Discord message IDs
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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description meaningfully adds that the tool runs a gauntlet of precondition checks (app and bot identity, guild/channel ownership, thread membership, authorship-sensitive permissions, age-safe execution strategy). It also confirms nothing is written or persisted, which is the key behavioral reassurance for a mutation-adjacent planner. It stops short of explaining what happens when a check fails or what the plan object contains.

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?

There is no filler and the purpose leads. However, everything after the first clause is a single comma-spliced cascade of eight verification items, which makes it dense to parse even though each item carries information.

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?

With an output schema present and all four required parameters documented at 100% coverage, the description only needs to convey the planning contract and precondition surface, which it does. The one gap is the absence of any statement about the execution step that consumes this plan.

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 operationKey field already documents its one-shot, never-reuse lifecycle, so velocity here is schema-driven. The description only echoes 'one to 100 exact allowlisted' and the one-shot key, adding no format or validation detail beyond 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?

States a specific verb and resource ('Prepare a process-bound keyed plan ... for one to 100 exact allowlisted Discord messages') with explicit scope bounds. It does not name which sibling actually executes the plan, so an agent must infer that distinction from the 'plan_*' vs 'execute_*' naming alone.

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?

Usage is only implied: the phrase 'without writing or persisting Discord content' signals this is a dry-run planning step preceding execution. There is no explicit when-to-use/when-not statement, no mention of the execution counterpart (e.g. execute_* siblings), and no routing away from plan_webhook_message_deletion for webhook messages.

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