Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord channel permission change

execute_channel_permission_overwrite
DestructiveIdempotent

Applies a single Discord role or member channel permission overwrite only after a verified plan and signed approval, performing one PUT or DELETE and reading back the full overwrite set.

Instructions

Apply one exact Discord role or member channel permission-overwrite change only after a fresh matching keyed plan and signed interactive approval. Reserves a one-shot key, records pending content-free evidence, performs one non-retried PUT or DELETE, and reads back the complete overwrite set. No raw bitfield, bulk reset, copy, sync, or thread-mutation input is accepted.

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>",
      "mode": "<mode>",
      "operationKey": "<operationKey>",
      "targetId": "<targetId>",
      "targetType": "<targetType>"
    },
    "name": "execute_channel_permission_overwrite"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
changesNo
targetIdYes
channelIdYes
planDigestNo
targetTypeYes
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

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive and idempotent, but the description adds substantial behavior beyond them: a one-shot key reservation, content-free evidence recording, a single non-retried PUT/DELETE with no retry, and a read-back of the full overwrite set. What it does not cover is the failure surface (what happens on a stale/duplicate planDigest or key reuse, and whether a partial failure leaves state changed), which matters for a destructive mutation.

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?

Three sentences, front-loaded with the action and its precondition, then mechanics, then exclusions. No restatement of the title or name, and every clause carries new 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, return values need no explanation, and the description covers the prerequisite chain, the mutating call, and the post-call read-back. The remaining gap is small but real: the auditReason parameter and the planDigest matching rules are behaviorally load-bearing for an audit-sensitive destructive tool and are never explained.

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 only 13% (just operationKey), and the description compensates partially: "fresh matching keyed plan" and "signed interactive approval" imply planDigest, "PUT or DELETE" maps to mode update/delete, "role or member" maps to targetType, and "no raw bitfield" implies the per-permission changes list. However auditReason and channelId get no treatment at all, and the planDigest binding mechanics (must match which plan, what invalidates it) are left implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Apply one exact Discord role or member channel permission-overwrite change" names a specific verb, resource, and scope, and the closing sentence ("No raw bitfield, bulk reset, copy, sync, or thread-mutation input is accepted") carves it away from the nearest sibling, execute_channel_permission_sync, without the reader needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states an explicit precondition ("only after a fresh matching keyed plan and signed interactive approval") and an explicit set of exclusions (bulk reset, copy, sync, thread mutation), which is as close to when/when-not guidance as a description can get.

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