Skip to main content
Glama
discord-mcp

discord-mcp

commands_get_command_permissions

Read-onlyIdempotent

Retrieve permission overrides for a single guild command to see which roles or users can use it.

Instructions

Purpose: Get permission overrides for ONE specific command in a guild.

Returns: {id, application_id, guild_id, permissions:[{id, type, permission}]}.

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": {
      "application_id": "<application_id>",
      "guild_id": "<guild_id>",
      "command_id": "<command_id>"
    },
    "name": "commands_get_command_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild scope
command_idYesCommand ID (snowflake)
application_idYesBot/app application ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully structured. The description adds only the guild-scoped read framing plus a return shape that largely duplicates the existing output schema, and says nothing about behavior when no overrides exist.

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 short, front-loaded sentences with a clear Purpose/Returns split and no filler. The Returns block is somewhat redundant given the tool has an output schema, which is the only wasted space.

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?

For a simple three-required-parameter read tool with fully documented parameters, complete annotations, and an output schema, the description covers enough to call it correctly. The remaining gap is routing guidance against the guild-level and edit-permissions siblings.

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% and each of the three snowflake parameters (guild_id, command_id, application_id) is already documented in the schema. The description adds no format, constraint, or interaction detail beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb and resource ("Get permission overrides") and scopes it precisely to "ONE specific command in a guild," which lets an agent distinguish it from guild-wide or bulk permission tools. It stops short of naming the sibling that handles the guild-level case.

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?

The capitalized "ONE specific command" implies that a per-guild or bulk variant exists and is the alternative, but no alternative is named and no condition for choosing between them is stated. Usage is inferable rather than explicit.

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