Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

list_group_children

Retrieves the subgroups under a specified Keycloak group, with options to filter, paginate, and control returned representation and subgroup counts.

Instructions

List children of a group.

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>",
      "group_id": "<group_id>"
    },
    "name": "list_group_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum results size
exactNoBoolean which defines whether the params "search" must match exactly or not
firstNoPagination offset
realmYesRealm name
searchNoA String representing either an exact group name or a partial name, defaults to prefix search
group_idYesGroup ID
subGroupsCountNoBoolean which defines whether to return the count of subgroups for each subgroup of this group (default: true)
briefRepresentationNoIf true, return brief representation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.3/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 disclosure burden, and it discloses nothing: no mention of pagination behavior (first/max), search semantics, default subgroup counts, result ordering, or whether this requires group-read permissions. For an eight-parameter read tool with pagination, this is a total 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?

It is a single front-loaded sentence with zero filler, so there is nothing to trim; the failing is under-specification rather than verbosity.

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?

With eight parameters, required realm/group_id context, no annotations, and no output schema, the description should explain pagination, search semantics, and the returned subgroup structure. It explains none of these, leaving an agent unable to call the tool correctly from the description alone.

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?

All eight parameters have schema descriptions (100% coverage), so the schema already explains max, first, search, exact, and subGroupsCount. The description adds no interpretation beyond that, which is the baseline 3 when the schema does the work.

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?

"List children of a group" states a verb and a resource, but it is essentially a restatement of the tool name with no added specificity: it never clarifies that "children" means nested subgroups rather than members or roles, which is exactly the confusion the sibling names (list_group_members, list_organization_group_children) invite.

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 statement of prerequisites (a valid realm and group_id), and no routing to alternatives such as list_organization_group_children or list_group_members, despite the sibling set making that choice genuinely ambiguous.

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