Skip to main content
Glama

Explain permissions

explain_permissions
Read-only

Check if a member or bot has a permission in a Discord server or channel, and get a clear explanation of the role and overwrite hierarchy 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 preflight engine, made directly askable.

Input Schema

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

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

Annotations declare readOnlyHint=true, so the read-only nature is covered. The description adds valuable context about the role and overwrite chain explanation, which is beyond annotations. No contradictions present.

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: the first is clear and front-loaded with the core purpose. The second is a short tagline that adds branding but is not essential. Overall, concise with no wasted words.

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?

The tool has no output schema, yet the description does not specify the return format or structure of the explanation. For a diagnostic tool explaining a potentially complex chain, this is a gap. However, parameters are well-covered.

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 all parameters. The description merely restates 'server-wide or in a channel' which aligns with the channel parameter, adding minimal new meaning.

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 clearly states the tool answers whether an actor has a given permission and explains the result via role and overwrite chains. It uses a specific verb-resource pair ('answer whether... permission') and distinguishes itself from action-oriented or list-permission siblings.

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?

No explicit guidance on when to use this tool versus alternatives like get_member_permissions or get_channel_permissions. The tagline 'The preflight engine, made directly askable' implies a diagnostic use case, but no direct comparison or exclusions.

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/OrygnsCode/Omnicord'

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