Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan Discord webhook deletion

plan_webhook_deletion
Read-onlyIdempotent

Prepares a reviewed one-shot plan to permanently delete a specific Incoming webhook in an allowlisted guild channel, verifying permissions and identity without storing webhook data.

Instructions

Prepare a process-bound keyed plan to permanently delete one exact Incoming webhook in a separately allowlisted direct guild channel. Verifies application and bot identity, the complete credential-redacted channel inventory, exact target type, VIEW_CHANNEL and MANAGE_WEBHOOKS evidence, and a unique one-shot operation key without writing or persisting webhook data.

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>",
      "operationKey": "<operationKey>",
      "webhookId": "<webhookId>"
    },
    "name": "plan_webhook_deletion"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelIdYesExact webhook-deletion channel ID
webhookIdYesExact Incoming webhook ID within that channel
auditReasonYes
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.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'without writing or persisting webhook data', which tells the agent the call has no side effects. It also discloses the verification surface — application and bot identity, credential-redacted channel inventory, target type, VIEW_CHANNEL and MANAGE_WEBHOOKS evidence — which is behavioral context not present in annotations.

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?

A single front-loaded sentence that puts the verb and target first, followed by the verification details. Noun-heavy phrasing ('process-bound keyed plan', 'credential-redacted channel inventory') is dense but every clause carries information; nothing is redundant with the title.

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?

Output schema exists, so return values need no explanation, and the description covers scope, safety profile, and what the plan verifies. It stops short of stating plan lifetime/expiry or how the resulting key is consumed by execute_webhook_deletion, which an agent would want for the full flow, but nothing essential for safe invocation is missing.

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

Parameters4/5

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

With 75% schema coverage the baseline is 3, and the description adds real meaning beyond the schema: it characterizes the operation key as unique and one-shot, matching the schema's note about never reusing it after reservation. It does not explain the auditReason parameter's purpose, but the combination of schema descriptions and description text covers the essentials.

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 to permanently delete one exact Incoming webhook' with explicit scoping ('separately allowlisted direct guild channel'). The plan/execute split from sibling names like execute_webhook_deletion is inferable from the 'plan' framing, but the description never names that sibling or states that it only prepares and does not perform the deletion.

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 implied by the 'prepare a plan' framing and the verification steps listed, but there is no explicit when-to-use versus execute_webhook_deletion or plan_webhook_composition, and no stated preconditions for the caller beyond what gets verified internally. An agent must infer the two-step plan-then-execute workflow from naming convention alone.

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