Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_authz_resource_server

Update a client's resource server authorization settings by supplying the realm, client UUID, and resource server data to adjust protected resource and policy configuration.

Instructions

Update 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>",
      "resource_server_data": "<resource_server_data>"
    },
    "name": "update_authz_resource_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
client_uuidYesClient UUID
resource_server_dataYesResource server representation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It does not say whether existing settings are replaced wholesale or merged, whether the change is reversible, what permissions are required, or what happens if the client has no resource server configured. For a mutation tool with zero annotation coverage this is a substantial gap.

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 missing behavioral and usage detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool takes a nested object payload, has no annotations, no output schema, and mutates client-wide authorization settings. Given that complexity, the description should explain overwrite semantics and preconditions but does not, leaving an agent underspecified for correct invocation.

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% for all three parameters, so the baseline is 3. The description's phrase 'authorization services (resource server) settings' adds slight framing for the resource_server_data object, but nothing about its nested representation or expected shape beyond what the schema states.

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 (Update) and resource (authorization services / resource server settings of a client), which distinguishes it from sibling mutators like update_authz_resource or update_authz_scope. It stops short of naming any sibling explicitly, so differentiation relies on the agent's own reading of the catalog.

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 prerequisite guidance. The agent is not told that the client must already exist and have authorization services enabled, nor that this is distinct from editing individual resources inside the server. Usage is only implied by the verb 'Update'.

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