Model Context Protocol server that exposes Keycloak administration tools over stdio
Server defines 6 tools with consistent naming (verb_noun pattern: get, list, create, update, delete). All tools have descriptions (avg 95 chars, within 10-1024 range). Input schemas present for all tools with typed parameters. However, output schemas are not documented in the source code, only input schemas visible. Descriptions are functional but generic; they lack WHEN-to-use guidance and dependency hints. Parameter descriptions are present but minimal (avg 30 chars). No evidence of error handling guidance, recovery paths, or actionable error messages. Security: sensitive config values are redacted in responses (good), but no audit logging visible. Composition is clean, each tool has one responsibility. Missing: pagination guidance for list tools, output schema documentation, and error classification.
Create a mapper for an identity provider. Sensitive config values are redacted from the result.
Delete an identity provider mapper by UUID.
Get an identity provider mapper by UUID. Sensitive config values are redacted.
List mappers configured for an identity provider. Sensitive config values are redacted.
Partially update an identity provider mapper. Omitted fields remain unchanged.
Get the Keycloak server version without exposing host or runtime details.
Output schemas not documented. LLMs cannot plan downstream tool calls or extract required fields (realm, alias, mapperId) for chaining.
Descriptions lack WHEN-to-use guidance and dependency hints. E.g., 'List mappers configured for an identity provider' does not explain when to call this vs get, or that realm+alias are prerequisites.
No error handling guidance. Descriptions do not indicate what errors are possible, whether they are retryable, or what the LLM should do next (e.g., 'If realm not found, call list_realms first').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Destructive tool (identity_provider_mapper_delete) lacks confirmation or dry-run pattern. No mention of irreversibility in description.
Parameter 'config' in create/update tools is type 'object' with generic description 'mapper-specific configuration'. LLMs cannot infer valid keys or structure without examples or schema constraints.