list-users
Retrieve all users in a Keycloak realm by providing the realm name.
Instructions
List users in a specific realm
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name |
Retrieve all users in a Keycloak realm by providing the realm name.
List users in a specific realm
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
v2.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full behavioral burden, but it offers no details beyond the action. It does not disclose whether results are paginated, what happens if the realm doesn't exist, or any permissions required, leaving the tool's behavior largely opaque.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no filler or redundant wording. It is directly front-loaded with the action and scope, making it highly efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with one parameter and no output schema, but the description is still sparse. It does not mention that the tool returns an array of users or any limitations, relying on the user to infer basic list behavior. This is minimally complete for the low complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with the 'realm' parameter described as 'Realm name'. The description's phrase 'in a specific realm' merely restates this, adding no extra semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (list), the resource (users), and the scope (in a specific realm). This distinguishes it from sibling tools like get-user or search-users.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention search-users for filtered results or any scenarios, so an agent cannot determine the right tool choice from the description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thebylito/keycloak-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server