Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Explain permissions

explain_permissions
Read-only

Checks whether a bot or member has a specific Discord permission server-wide or in a channel and explains the role and overwrite chain behind the result.

Instructions

Answer whether an actor (the bot, or a member) has a given permission, server-wide or in a channel, and explain the result through the role and overwrite chain. The answer is Discord's own permission check when Discord gives one, so it includes the implicit rules (a missing View Channel cancels what depends on it). For a member's whole permission list, use get_member_permissions; for everything a member can reach, get_member_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": {
      "actor": "<actor>",
      "permission": "<permission>"
    },
    "name": "explain_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actorYesA member name or ID, or "bot".
guildNoGuild (server) name or ID. Omit to use the default guild.
channelNoCheck in this channel instead of server-wide.
permissionYesPermission name, like manage_messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.0.2

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint, the description discloses that the result is Discord's own permission check when available and includes implicit rules such as a missing View Channel cancelling dependent permissions. That is meaningful behavioral context for interpreting the answer.

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 tightly focused sentences, front-loaded with the purpose and followed by behavioral detail and sibling routing. Every sentence contributes useful information.

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 read-only permission explanation tool with no output schema, the description covers what is checked, how the answer is derived, implicit-rule behavior, and when to use alternative tools. No critical calling context appears missing.

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 schema already documents actor, guild, channel, and permission. The description reinforces actor forms and channel versus server-wide scope but adds little parameter detail beyond the schema.

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?

States a specific verb and resource: answer whether an actor has a given permission, server-wide or in a channel, and explain the result through role and overwrite chain. It clearly distinguishes itself from get_member_permissions and get_member_access.

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?

Explicitly names when to use alternatives: get_member_permissions for a member's whole permission list and get_member_access for everything a member can reach. The scope contrast between server-wide and channel checks is also clear.

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