Skip to main content
Glama
thebylito

keycloak-mcp-server

by thebylito

get-composite-roles

Retrieve the list of composite roles for a specific role in a Keycloak realm. Provide realm and roleId to get effective roles.

Instructions

Get composite roles for a role

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMaximum results
firstNoFirst result index
realmYesRealm name
roleIdYesRole ID
searchNoSearch term

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

C2.6/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must carry the full burden of behavioral disclosure. It only restates the action (get) and provides no information about pagination, search behavior, authorization requirements, or whether results are filtered by realm or role scope.

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?

The description is a single, concise sentence without redundancy. It front-loads the verb and resource, but its brevity sacrifices necessary detail for completeness.

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?

The tool has no output schema, no annotations, and only a one-sentence description. It fails to explain return format, pagination behavior, search semantics, or how this differs from related role tools. This is highly inadequate for a tool with 5 parameters and no structured output metadata.

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 coverage is 100% for all five parameters, so the individual parameter descriptions already define their meanings. The tool description adds no extra semantic value beyond what is already in the schema, warranting the baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly specifies the verb 'Get' and the resource 'composite roles' scoped 'for a role'. It is distinguishable from sibling tools like 'delete-composite-roles' and 'create-composite-role', though it could be more explicit about what 'composite' means in this context.

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 provides no guidance on when to use this tool versus alternatives such as 'get-role-by-id' or 'list-composite-group-roles'. There is no mention of prerequisites, typical scenarios, or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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