Home / Servers / Discord API / get_channel_role_permissions

Returns the permissions a role grants in this channel, applying the channel's pe

An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.

Returns the permissions a role grants in this channel, applying the channel's permission overwrites on top of the… [GET /channels/{channel_id}/permissions/role/{role_id}]

Name on the gateway: discord_api__get_channel_role_permissions · read-only.

Parameters

NameTypeDescription
channel_id requiredstringchannel_id parameter
role_id requiredstringrole_id parameter
implicitbooleanimplicit parameter

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "discord_api__get_channel_role_permissions",
  "arguments": {
    "channel_id": "…",
    "role_id": "…"
  }
}

Or connect the Discord API server directly, which lists 250 tools including this one:

Run in your terminal
claude mcp add --transport http hj-discord-api https://mcp.hjlabs.in/mcp/discord-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the returns the permissions a role grants in this channel, applying the channel's pe tool with channel_id set to ….

More from Discord API