Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_client_types

Update an existing client type in a Keycloak realm using supplied client types data to modify its configuration.

Instructions

Update a client type.

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_types_data": "<client_types_data>"
    },
    "name": "update_client_types"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
client_types_dataYesClient types representation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not whether the update is partial or full replacement, not what permissions or realm context are required, not whether omitted fields are cleared, and not what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but that brevity is under-specification rather than efficiency; there is no structure, no front-loaded detail, and the one sentence duplicates the title instead of earning its place.

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

Completeness1/5

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

For a mutation tool taking a nested object parameter with no annotations and no output schema, the description is far too thin. It leaves the agent unable to determine payload shape, replacement semantics, or required authorization.

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%, so both parameters (realm, client_types_data) are documented at the schema level and the baseline of 3 applies. However, the description adds no meaning beyond the schema, and the nested client_types_data object gives no clue about its expected keys.

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

Purpose2/5

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

The description restates the tool name almost verbatim: 'Update a client type.' It conveys the verb and resource but adds nothing an agent could not read off the name, and it does not distinguish this from siblings like update_client or update_client_policies beyond the noun 'client type'.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent must infer that this applies only to client-type entities and cannot tell from the description whether it creates missing types, replaces them, or requires the type to already exist.

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