Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_realm_localization_texts

Replace all localization texts for a specific realm locale by importing a complete text map, useful for updating Keycloak translations.

Instructions

Import (replace) localization texts for a locale in the realm.

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>",
      "locale": "<locale>",
      "texts_data": "<texts_data>"
    },
    "name": "update_realm_localization_texts"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
localeYesLocale code
texts_dataYesLocalization texts map

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the key destructive trait — the operation replaces rather than merges — but omits whether existing keys not present in the payload are deleted, whether permissions or an existing locale are required, and whether the change is reversible.

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

Conciseness5/5

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

A single front-loaded sentence with no filler; the semantic modifier '(replace)' is placed immediately after the verb so the overwrite behavior reads first.

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 bulk, destructive import with a nested object parameter, no annotations, and no output schema, the description is thin. It leaves unresolved whether the payload fully replaces all texts for the locale or merges with existing ones, and what the caller should expect on success.

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 realm, locale, and texts_data are already documented in the schema. The description adds only the scoping relationship ('for a locale in the realm') and gives no detail on the shape/format of the nested texts map beyond what the schema states.

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?

States a specific verb+resource: importing (replacing) localization texts scoped to a locale within a realm. The parenthetical 'replace' distinguishes it from the singular sibling set_realm_localization_text, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

The word 'replace' implies bulk overwrite versus a single-key set, which gives an agent an implicit reason to pick this tool over set_realm_localization_text. However, there is no explicit when-to-use/when-not guidance, no prerequisites, and no stated alternative.

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