Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_workflow

Modify a Keycloak workflow's representation using the realm, workflow ID, and workflow data; requires Keycloak 26.5+.

Instructions

Update workflow. Requires Keycloak 26.5+.

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>",
      "workflow_id": "<workflow_id>",
      "workflow_data": "<workflow_data>"
    },
    "name": "update_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
workflow_idYesWorkflow ID
workflow_dataYesWorkflow representation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.2/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 burden, and it only discloses a version prerequisite. It does not state that this is a mutating operation, whether unlisted fields are preserved or overwritten, what permissions are needed, or that it likely replaces the whole workflow representation. That is a substantial gap for an update tool.

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?

It is short, but brevity here reflects under-specification rather than efficiency. The only substantive sentence is a version caveat, and nothing explains the operation an agent is about to perform.

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?

This is a required-argument mutation tool with a nested object parameter and no annotations or output schema, so the description needs to explain effects and payload expectations. Instead it offers one version note, leaving an agent unable to predict consequences or construct workflow_data correctly.

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 three parameters (realm, workflow_id, workflow_data) are already documented, warranting the baseline of 3. The description adds nothing beyond the schema and, notably, says nothing about the expected shape of the nested workflow_data object, which is the riskiest argument.

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 workflow" essentially restates the tool name with no added specificity: it does not say which parts of a workflow are mutable, whether it replaces or merges, or how it differs from siblings like create_workflow or update_flow_executions. The second sentence is a version prerequisite, not a purpose statement.

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 guidance and no mention of alternatives such as create_workflow for new workflows or activate/deactivate_workflow_for_resource for state changes. The only contextual hint is an environment prerequisite (Keycloak 26.5+), which is not usage selection guidance.

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