Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Audit Discord channel role access

audit_channel_role_access
Read-onlyIdempotent

Audit every guild role's effective access to a Discord channel or thread, returning per-action decisions, inventory totals, role pagination, and confidence warnings.

Instructions

Audit a bounded page of every guild role's effective access to one permitted Discord channel or thread. Returns compact per-action decisions plus full-inventory totals, deterministic exact-role pagination, member-overwrite warnings, and partial confidence when Discord evidence is incomplete. Private-thread role membership remains unknown unless Manage Threads grants moderator access.

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": {
      "channelId": "<channelId>"
    },
    "name": "audit_channel_role_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
actionsNo
channelIdYes
afterRoleIdNo

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 read-only, idempotent, non-destructive, open-world behavior, so the safety bar is already met. The description adds genuinely useful behavior beyond that: deterministic exact-role pagination, member-overwrite warnings, partial confidence on incomplete evidence, and the private-thread limitation where role membership is unknown without Manage Threads. It stops short of stating rate limits or how 'partial confidence' is surfaced in the response.

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?

Three sentences, front-loaded with purpose, followed by return-contents and a caveat. Dense but every clause conveys information; the middle sentence is a long list of fragmented noun phrases that reads more like spec jargon than prose, which slightly hurts scannability.

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?

An output schema exists, yet the description still usefully summarizes what comes back (per-action decisions, inventory totals, warnings, confidence), and it discloses the key private-thread blind spot. Combined with the annotations, an agent has enough to call this correctly; the missing piece is explicit parameter semantics and any permission prerequisite for the channel.

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 0%, so the description carries the parameter burden and only partially does so: 'bounded page' maps loosely to limit, 'exact-role pagination' to afterRoleId, and 'per-action decisions' to actions. It never explains the allowed action set, the 1-5 action cap, the limit maximum of 100, or the format/precedence of afterRoleId pagination keys, leaving real ambiguity.

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 description names a specific verb ('Audit'), a specific resource ('every guild role's effective access to one permitted Discord channel or thread'), and a specific scope ('bounded page'). That is far more precise than the title alone. It does not explicitly contrast itself with the closest sibling, explain_channel_access, so an agent must infer the difference in scope rather than being told.

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: this is for enumerating all roles' effective permissions on a single channel, and 'one permitted Discord channel' hints at a permission precondition. However, there is no explicit when-to-use, when-not-to-use, or named alternative (e.g., when a single-role explanation is sufficient). Guidance remains inferential.

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