Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

convert_client_description

Converts OpenID Connect or SAML client metadata from JSON, XML, or plain text into a Keycloak client representation for configuration.

Instructions

Convert a client description (OpenID Connect or SAML metadata, JSON/XML/text) into a client representation.

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>",
      "description_data": "<description_data>"
    },
    "name": "convert_client_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
description_dataYesClient description to convert (JSON, XML or plain text)

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 supplied, so the description carries the full behavioral burden. It never says whether the conversion is read-only or persists a client, what permissions are needed, or how errors in malformed metadata are surfaced — all material for a tool taking a nested free-form object.

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 compact sentence with the accepted formats front-loaded and no filler. It is efficient, though the brevity contributes to the missing behavioral and usage detail.

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?

With no annotations, no output schema, and a nested free-form object parameter, the description should explain what the resulting 'client representation' is and whether it is returned or applied. Neither is addressed, leaving a significant gap for a tool of this complexity.

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 coverage is 100%, so both parameters are already documented in the schema. The description adds only the mention of OpenID Connect and SAML as recognized source dialects, which is marginal value over the schema's 'JSON, XML or plain text' wording.

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 (convert) and resource (client description), and enumerates the accepted source formats (OpenID Connect or SAML metadata, JSON/XML/text). It does not distinguish this tool from the many sibling create_*/add_* client tools, so the boundary is left implicit.

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 use this versus alternatives, no prerequisites, and no indication of whether the conversion is a preview or a committed change. The agent must infer the use case from the phrase 'convert ... into a client representation' alone.

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