Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

reload_identity_provider_keys

Reloads signing keys for a Keycloak identity provider when supported, returning true if reload was performed and false otherwise. Use it after key rotation to refresh provider keys.

Instructions

Reaload keys for the identity provider if the provider supports it, "true" is returned if reload was performed, "false" if not.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "realm": "<realm>",
      "alias": "<alias>"
    },
    "name": "reload_identity_provider_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYesIdentity provider alias
realmYesRealm name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description at least discloses the result contract: a boolean indicating whether the reload actually happened, which signals this can be a no-op. It does not state that the call is a mutation that refreshes remote signing/metadata state, nor any permission requirements or side effects on live authentication.

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?

One tight sentence with the operation front-loaded and the return contract trailing it; there is no filler. The misspelling 'Reaload' is a minor polish defect rather than a structural problem.

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

Completeness3/5

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

For a two-parameter, non-destructive-looking operation with full schema coverage and no output schema, the description covers the outcome but leaves the meaning of 'provider supports it' and the conditions for a false return undefined. That gap matters because the false case is a legitimate, non-error result the agent must interpret.

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 description coverage is 100%, so both realm and alias are already documented in the input schema. The description adds nothing about how alias resolution works (e.g., whether it is the provider's internal alias versus its provider ID), so the baseline of 3 applies.

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 names a specific verb and resource combination (reload keys for an identity provider) that is clearly distinguishable from the surrounding identity-provider CRUD tools. It lacks only explicit sibling routing, but the operation itself is unambiguous.

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?

There is no guidance on when to call this instead of alternatives such as update_identity_provider or upload_identity_provider_certificate, nor any stated precondition beyond the vague hedge 'if the provider supports it'. The agent must infer the triggering scenario (e.g., after certificate or metadata changes) on its own.

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

Deploy Server

Other Tools