Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

list_client_template_protocol_mappers

Lists protocol mappers assigned to a Keycloak client scope by realm and client scope ID, helping you inspect mapper configuration.

Instructions

Get mappers.

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>",
      "client_scope_id": "<client_scope_id>"
    },
    "name": "list_client_template_protocol_mappers"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
client_scope_idYesClient scope ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses nothing: not that this is a read-only listing, not the return shape, not whether results are paginated, and not what realm/client_scope_id scoping implies for results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two words is short but not concise in any useful sense — it is under-specification rather than economy. There is no front-loaded statement of purpose, scope, or output.

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

Completeness1/5

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

For a tool with two required parameters, no annotations, and no output schema, the definition provides nothing an agent needs in order to call it correctly or interpret its results.

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 both required parameters (realm name, client scope ID). The description adds no meaning beyond that, which lands at the baseline for fully documented parameters.

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

Purpose2/5

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

"Get mappers." restates the resource name in the vaguest possible verb and never states what kind of mappers (protocol mappers) or that it is a list operation over a client template's client scope. An agent cannot distinguish this from the many sibling list_*_mappers_by_protocol / list_client_*_mappers tools on the description alone.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no stated prerequisites, and no mention of any alternative among the ~30 sibling mapper tools. The agent is left to infer selection purely from tool names.

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