Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan Discord channel permission change

plan_channel_permission_overwrite
Read-onlyIdempotent

Prepare a keyed, process-bound plan to update or delete one channel permission overwrite for a role or member, preserving unspecified bits and reporting access and parent-sync impact without writing changes.

Instructions

Prepare a process-bound keyed plan to update named channel-scoped permission states or explicitly delete one exact role or member overwrite in a separately allowlisted direct guild channel. Preserves unspecified known bits, blocks ambiguous unknown-bit updates and connector lockout, and reports target access plus parent synchronization impact 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>",
      "mode": "<mode>",
      "operationKey": "<operationKey>",
      "targetId": "<targetId>",
      "targetType": "<targetType>"
    },
    "name": "plan_channel_permission_overwrite"
  }
}

Input Schema

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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description adds real behavior beyond them: preservation of unspecified known permission bits, rejection of ambiguous unknown-bit updates and connector lockout, and reporting of target access plus parent synchronization impact. The one-shot nature of the operation key is only hinted at ('process-bound keyed plan'), which is a minor gap rather than a contradiction with readOnlyHint=true.

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?

Two sentences, front-loaded with the planning action and scope before the safety guarantees. The first sentence is a dense run-on of qualifiers, but every clause (allowlisted channel, exact overwrite, mode distinction) carries selection-relevant information, so there is little genuine waste.

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-format explanation is correctly omitted, and the safety/validation behavior is well covered. However, for a 7-parameter mutation-planning tool with 14% schema coverage, the description never explains the auditReason requirement or what the changes array means, leaving an agent to rely on the schema alone.

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 only 14% — operationKey is the sole documented property — so the description has to carry weight, and it does clarify mode (update named states vs. delete one overwrite), targetType (role or member), and the channel allowlist constraint. It leaves auditReason, the changes array structure, and the permission enum semantics entirely to the schema, which keeps this at minimum-viable rather than strong.

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?

Names a specific verb ('Prepare ... plan') and resource ('channel-scoped permission states', 'one exact role or member overwrite'), and the mode split (update vs. delete) is spelled out. It implicitly separates itself from the execute sibling via 'without writing or persisting Discord content', but never names that sibling, so differentiation is inferred rather than stated.

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 context is implied: this is a planning step, restricted to 'separately allowlisted direct guild channel' targets, and it refuses ambiguous unknown-bit updates and connector lockout. It never says explicitly to call execute_channel_permission_overwrite afterwards, nor what to do when the plan is rejected, so an agent must infer the plan-then-execute workflow.

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