Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

list_workflows

Retrieve workflows from a Keycloak realm with optional search, exact-match filtering, and pagination to inspect available workflow definitions via the MCP server.

Instructions

List workflows. 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>"
    },
    "name": "list_workflows"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoThe maximum number of results to be returned - defaults to 10
exactNoBoolean which defines whether the param 'search' must match exactly or not
firstNoThe position of the first result to be processed (pagination offset)
realmYesRealm name
searchNoA String representing the workflow name - either partial or exact

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, yet it only discloses a server version requirement (Keycloak 26.5+). It does not state required permissions, whether results are paginated by default, or that this is a read-only registration call, beyond what the word "List" implies.

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?

Two short sentences with no redundant wording, and the core operation is front-loaded. The version note is compact and relevant, though the description is under-specified rather than over-long.

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 five-parameter list tool with no annotations and no output schema, the description should at least clarify what a 'workflow' is and how it differs from the sibling listing. The schema compensates for the parameter gaps, keeping this near minimum viable rather than inadequate.

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 every parameter (max, first, exact, realm, search) is already documented in the schema. The description adds nothing about how search interacts with exact or what realm scoping means, so the 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?

The description gives a concrete verb and resource ("List workflows"), so the basic operation is identifiable. However, it offers no differentiation from the closely named sibling list_resource_scheduled_workflows, leaving an agent to infer which one returns which set of workflows.

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?

The description contains no guidance on when to use this tool versus the sibling workflow-listing tool, no preconditions beyond a version note, and no exclusions. The agent must derive usage entirely from the schema's search/exact parameters.

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