Skip to main content
Glama
cappyeo

discord-mcp

permissions_explain

Read-onlyIdempotent

Explain effective Discord permissions for a member or role, showing whether an action is allowed, denied, or inconclusive, with a decision trace to diagnose failures.

Instructions

Purpose: Explain effective Discord permissions for one guild member or one role.

When to use:

  • Verify a permission or supported action before a write.

  • Diagnose why Discord allows, denies, or cannot conclusively evaluate an action.

When NOT to use:

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

  • Treating a partial result as permission to write.

Returns: {allowed, effective_permissions, missing_permissions, ineffective_permissions, decision_trace, role_hierarchy_check, warnings, confidence}. allowed:null means Discord did not expose enough evidence for a safe conclusion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoOptional high-level action; translated into its required permission constants
role_idNoRole to evaluate; mutually exclusive with user_id
user_idNoMember to evaluate; mutually exclusive with role_id
guild_idYesGuild whose permission state should be evaluated
channel_idNoOptional guild channel or thread scope. Required for channel actions.
target_role_idNoTarget role; required for assign_role or remove_role
target_user_idNoTarget member; required for kick_member, ban_member, or timeout_member
requested_permissionsNoDiscord permission constants such as VIEW_CHANNEL or SEND_MESSAGES

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint=true, and the description reinforces this with 'this tool is read-only.' It goes beyond annotations by detailing the return structure (allowed, effective_permissions, decision_trace, etc.) and explaining that allowed:null means insufficient evidence, which is valuable contextual behavior not present in structured data.

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-organized with clear sections (Purpose, When to use, When NOT to use, Returns) and is appropriately sized. Every sentence delivers essential information—scope, usage boundaries, and output meaning—with no filler or redundancy.

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?

Given the tool's complexity (8 parameters, permission hierarchy, multiple action types), the description provides sufficient context for an agent to select it correctly: it explains the exact use cases, limitations, and output semantics. The output schema also exists, so return format is covered; the description adds crucial interpretation details like allowed:null.

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 100%, so the baseline is 3. The description does add some context (e.g., 'one guild member or one role' hints at mutual exclusivity), but it does not provide per-parameter semantics beyond what the schema already includes. Thus it meets the baseline but doesn't exceed it.

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 statement: 'Explain effective Discord permissions for one guild member or one role.' This identifies the verb (explain), the resource (Discord permissions), and the scope (member or role), which clearly distinguishes it from siblings like permissions_audit_channel or mutating tools.

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?

Explicit 'When to use' and 'When NOT to use' sections are provided. It states to use before writes for verification and diagnosis, and explicitly excludes mutating roles/overwrites or treating partial results as permission to write. This gives clear decision guidance without needing to infer.

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