Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

send_user_reset_password_email

Sends a password reset email to a specified user in a Keycloak realm, providing a clickable link to reset their password.

Instructions

Send an email to the user with a link they can click to reset their password.

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>",
      "user_id": "<user_id>"
    },
    "name": "send_user_reset_password_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
user_idYesUser ID
client_idNoclient id
redirect_uriNoredirect uri

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the core side effect (an email is sent with a clickable link) but says nothing about whether the user must already exist, whether prior tokens/credentials are invalidated, what happens if email is unconfigured, or what the call returns on success or failure.

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?

A single front-loaded sentence with no filler that states the action and its mechanism efficiently. It is arguably under-specified rather than bloated, but there is no wasted wording to penalize.

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

Completeness2/5

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

For a side-effecting email tool with no annotations and no output schema, the description should cover prerequisites and result behavior. It leaves the agent without knowledge of failure modes, email configuration requirements, or the effect of the optional redirect_uri and client_id parameters on the generated link.

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 the schema already documents realm, user_id, client_id, and redirect_uri. The description adds no meaning about how redirect_uri or client_id affect the emailed link, so the baseline 3 applies rather than a higher score.

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 gives a specific verb and resource ('Send an email to the user with a link they can click to reset their password'), making the mechanism unambiguous. It does not name the closely related sibling reset_user_password (which likely performs the reset directly rather than emailing a link), so the sibling differentiation is implied rather than stated.

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 choose this over reset_user_password or send_user_verify_email, nor on any prerequisites such as the user needing an email address or SMTP being configured for the realm. The agent must infer the use case entirely from the one-line purpose.

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