delete-role-by-id
Delete a Keycloak role by its ID. Provide the realm and roleId for permanent removal.
Instructions
Delete role by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| roleId | Yes | Role ID |
Delete a Keycloak role by its ID. Provide the realm and roleId for permanent removal.
Delete role by ID
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| roleId | Yes | Role ID |
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 provided, the description carries full responsibility for behavioral disclosure. It only states the action without explaining cascading effects, reversibility, required permissions, or return behavior. This is a significant gap for a destructive operation.
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 concise phrase with no unnecessary words. It is front-loaded and appropriately sized for a simple delete operation.
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?
For a destructive operation with no output schema and no annotations, the description is too minimal. It fails to mention consequences, necessary permissions, or whether associations with users/groups are removed, which are important for correct tool selection and invocation.
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?
The input schema covers 100% of parameters, with descriptions for both 'realm' and 'roleId'. The description adds no additional semantic meaning beyond the schema, so the baseline of 3 is appropriate.
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 'Delete role by ID' uses a clear verb 'delete' and specifies the resource (role) and identifier (by ID). It clearly distinguishes from sibling tools such as 'delete-role' (likely by name) and 'delete-composite-roles' (composite roles).
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 like 'delete-role' or 'delete-composite-roles'. There is no mention of context, exclusions, or preferred scenarios.
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