Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_client_profiles

Update a Keycloak realm's client profiles by sending the new profiles configuration. Use it to change how clients are represented and validated within a realm.

Instructions

Update the client profiles of the realm.

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

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
profiles_dataYesClient profiles representation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.1/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 behavioral burden, and it discloses almost nothing. It implies a mutation but never states whether the supplied profiles_data replaces existing profiles wholesale, what happens to omitted entries, or what permissions are required for a realm-level change.

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

Conciseness3/5

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

It is a single short sentence with no filler, so it is concise, but the brevity comes at the cost of substance rather than being achieved by pruning redundancy. There is no structure beyond one declarative clause.

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?

For a realm-scoped mutation taking a nested object, with no annotations and no output schema, the description should explain the write semantics and permission implications. None of that is present, leaving the agent under-informed for a potentially sweeping configuration change.

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 the two parameters are documented in the schema, which sets the baseline at 3. The description adds nothing about profiles_data – a nested object whose expected shape and merge/replace semantics are the main source of caller error.

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?

"Update the client profiles of the realm" essentially restates the tool name with a scope qualifier; it never says what aspect of the profiles changes or how it differs from siblings such as update_client or update_client_policies. An agent cannot tell from this sentence whether it edits a single profile field or replaces the whole realm-wide profiles configuration.

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

Usage Guidelines1/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 among the many update_client_* siblings. The agent is left to guess whether this is the correct tool for any given client-profile change.

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