clear-events
Clears all event logs for a specified Keycloak realm. Removes admin and user event records to free storage and reset the audit trail.
Instructions
Clear event logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name |
Clears all event logs for a specified Keycloak realm. Removes admin and user event records to free storage and reset the audit trail.
Clear event logs
| 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?
No annotations are provided, so the description must fully disclose behavioral traits. 'Clear' implies a destructive action, but the description fails to state whether the action is irreversible, the exact scope (all events vs. filtered), permission requirements, or side effects. For a destructive operation, this is a significant transparency gap.
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 extremely concise at three words, with no filler or unnecessary detail. It is front-loaded and easily parsed. However, the brevity contributes to under-specification, but conciseness as a dimension is well-handled.
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?
Given the absence of an output schema and annotations, the description is the only source of context. It fails to explain what 'clear' operationally entails—whether it deletes all events, is permanent, or is scoped to the realm. This is inadequate for a destructive tool, even with low parameter 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?
The input schema has 100% coverage for the single required parameter 'realm', described as 'Realm name'. The description adds no additional meaning beyond the schema, so the baseline score of 3 applies.
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 'Clear event logs' uses a specific verb ('Clear') and resource ('event logs'), making the primary purpose unambiguous. It distinguishes from sibling 'list-events' and other read operations, though it lacks an explicit scope (e.g., 'in the realm') beyond what the schema implies.
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 such as 'list-events' or other deletion tools. There is no mention of when it is appropriate, what prerequisites exist, or when another tool would be preferred.
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