Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

list_authz_resource_permissions

List the permissions that apply to a specific resource in a Keycloak client resource server to inspect or audit authorization access.

Instructions

List the permissions that apply to a resource of a client's resource server.

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": {
      "realm": "<realm>",
      "client_uuid": "<client_uuid>",
      "resource_id": "<resource_id>"
    },
    "name": "list_authz_resource_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
client_uuidYesClient UUID
resource_idYesAuthorization resource ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it only implies a read via 'List'. It says nothing about pagination, result size, required permissions, or whether the result includes inherited/scope-level permissions, all of which matter for an authorization listing.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity contributes to the gaps noted in other dimensions rather than offsetting them.

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?

For a simple three-parameter read tool with no output schema and no annotations, this is minimally adequate: it names the operation and its subject, but leaves return shape, pagination, and permission inheritance behavior entirely unaddressed.

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 all three required parameters (realm, client_uuid, resource_id) are documented in the schema, so baseline 3 applies. The description adds no extra meaning such as the format of resource_id or how client_uuid relates to the resource server.

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 ('List') and specific resource ('permissions that apply to a resource of a client's resource server'), which is enough to distinguish it from scope-level siblings like list_authz_resource_scopes. It does not explicitly name or contrast any sibling, so it stops short of a 5.

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?

Usage is only implied: the phrase 'of a client's resource server' tells the agent it needs realm/client/resource context, but there is no explicit when-to-use or when-to-prefer-alternatives guidance despite several similar list_authz_* permission tools in the sibling set.

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