Skip to main content
Glama
shigechika

keycloak-mcp

by shigechika

get_config_changes

Compare the realm configuration now with a stored daily snapshot (read-only).

Instructions

Compare the realm configuration now with a stored daily snapshot (read-only).

Covers realm settings (brute force detection, password and OTP policies, session and token lifespans, flow bindings), event settings, realm roles and the contents of composite roles, authentication flows and their executions, required actions, clients (redirect URIs, flows allowed, flow overrides, protocol mappers), client scopes, default client scopes, components and, when readable, identity providers. Values under credential-named keys (secret, password, privateKey, apiKey, ...) are replaced with <redacted> before anything is compared or stored, so a changed secret does not show as a change.

The snapshots are written by daily_brief (the first run of each day); this tool never writes one. Use it to see the full list when daily_brief reports [CONFIG] changes, or to compare against an older day.

Args: baseline_date: Snapshot to compare against (YYYY-MM-DD). Default: the latest snapshot before today.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseline_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so richly: read-only, snapshots are written by daily_brief and never by this tool, and secret-named keys are redacted to <redacted> before comparison so changed secrets don't appear as changes. It also enumerates the covered configuration surface (realm/event settings, roles, flows, clients, scopes, components, identity providers).

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?

Front-loads the core purpose in the first sentence and uses a coherent structure. The long enumeration of covered configuration areas is informative for scope but is dense and could be trimmed without much loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, return values need no explanation. Between the scope list, redaction semantics, snapshot provenance, and baseline parameter, everything an agent needs to invoke and interpret the tool correctly is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage for the single parameter, the description fully compensates: it specifies the YYYY-MM-DD format for baseline_date and that the default is the latest snapshot before today. This is meaning the schema does not supply.

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

Purpose5/5

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

States a specific verb (compare) and resource (realm configuration now vs. a stored daily snapshot) with distinctive scope. It clearly differentiates itself from siblings by declaring it is read-only and distinct from daily_brief, which writes the snapshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use it to see the full change list when daily_brief reports [CONFIG] changes, or to compare against an older day. That names an alternative and a trigger condition, though it does not spell out when-not-to-use scenarios.

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