Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

get_authz_resource_server

Retrieves authorization services settings for a Keycloak client using its realm and client UUID, so you can inspect the resource server configuration.

Instructions

Get the authorization services (resource server) settings of a client.

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>"
    },
    "name": "get_authz_resource_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
client_uuidYesClient UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and only implies read-only via the verb 'Get'. It says nothing about required permissions on the realm, what settings are returned, error behavior for a nonexistent client UUID, or whether it differs from the settings sibling.

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 wasted words. Brevity works against it only insofar as the wording could have spent a clause disambiguating it from the settings sibling.

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 two-parameter read tool with fully described schema and no output schema, this is close to sufficient. The unresolved overlap with get_authz_resource_server_settings is the main thing an agent still needs and does not get.

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 coverage is 100%, so both parameters (realm, client_uuid) are already documented. The phrase 'of a client' loosely ties client_uuid to the target but adds no format, lookup, or scoping detail beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Get the authorization services (resource server) settings of a client.' However, the sibling 'get_authz_resource_server_settings' appears to target the same conceptual object, and the description offers nothing to separate the two, leaving the agent unsure which getter to call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or alternative-tool guidance is provided. Given a near-identical sibling name in the catalog, the absence of any routing hint is a meaningful gap rather than a neutral omission.

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