Skip to main content
Glama
cappyeo

discord-mcp

permissions_audit_channel

Read-onlyIdempotent

Audit which guild roles can view, send in, or manage a channel or thread. Each role is evaluated independently to reveal allow, deny, or unknown access baselines.

Instructions

Purpose: Audit which individual guild roles can view, send in, or manage one channel or thread. Each role is evaluated independently with @everyone; member-specific overwrites and multi-role combinations are intentionally excluded. Thread management uses MANAGE_THREADS.

When to use:

  • Review channel exposure before redesigning roles or permission overwrites.

  • Find role baselines that allow, deny, or cannot prove channel access.

When NOT to use:

  • Determining one member's effective access; use permissions_explain for that member.

  • Predicting whether a locked or archived thread operation will succeed right now; this audits permission baselines, not mutable thread state.

  • Mutating roles or overwrites; this tool is read-only.

Returns: a compact per-role action matrix plus allowed, denied, and unknown counts. Omit actions to audit all three actions; select fewer actions to reduce output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionsNoOptional action subset; defaults to view_channel, send_messages, manage_channel
guild_idYesGuild whose roles should be audited
channel_idYesGuild channel or thread whose role baselines should be audited

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

While annotations already declare read-only and idempotent behavior, the description adds significant context: roles are evaluated independently with @everyone, member-specific overwrites are excluded, and thread management uses MANAGE_THREADS. It also clarifies that it audits baselines rather than mutable thread state, providing real behavioral depth beyond annotations.

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?

The description is well-structured with bolded section headers (Purpose, When to use, When NOT to use, Returns) and front-loaded with the core purpose. Every sentence serves a distinct function—definition, usage context, exclusions, or parameter behavior—with no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with moderate complexity, the description covers purpose, usage scenarios, exclusions, parameter effects, and output summary. With output schema and strong annotations present, the description fully complements structured data, leaving no critical gap for an agent to select and invoke correctly.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the consequence of omitting `actions` ('audit all three actions') and that selecting fewer actions reduces output, which is a behavioral nuance not fully captured in the schema's enum description.

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?

The description opens with a specific verb and resource: 'Audit which individual guild roles can view, send in, or manage one channel or thread.' It clearly defines scope and explicitly contrasts with sibling tool `permissions_explain`, making the tool's unique function unmistakable.

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?

Dedicated 'When to use' and 'When NOT to use' sections provide explicit context and alternatives. It names `permissions_explain` for member-specific access, excludes thread-state prediction, and warns against mutation, giving unambiguous guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cappyeo/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server