Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

update_organization_identity_provider_link

Updates the identity provider link configuration for a specific organization in Keycloak, letting you manage per-organization IdP settings. Requires Keycloak 26.8+.

Instructions

Updates the per-association config for the identity provider linked to the organization. Requires Keycloak 26.8+.

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>",
      "org_id": "<org_id>",
      "alias": "<alias>",
      "link_data": "<link_data>"
    },
    "name": "update_organization_identity_provider_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYesIdentity provider alias
realmYesRealm name
org_idYesOrganization ID
link_dataYesIdentity provider link configuration

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/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 discloses only the Keycloak version requirement; it does not say whether the update replaces or merges the existing association config, what permissions are needed, whether the change is reversible, or what happens when the link is absent.

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?

Two short sentences with no filler, and the core action is stated first with the version constraint appended. Nothing is redundant or padded.

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?

This is a mutation tool with no annotations, no output schema, and a nested object parameter whose contents are undocumented. The version note is helpful, but the description leaves too much unstated about overwrite semantics, permissions, and error conditions 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 description coverage is 100%, so the schema already documents all four parameters. The description adds only the framing that link_data represents the per-association configuration, without elaborating on the nested object's expected fields or structure; baseline 3 is appropriate.

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 (updates) and a precise resource (the per-association config for the identity provider linked to the organization), which distinguishes it from sibling tools like update_identity_provider or link_organization_identity_provider. It does not explicitly name or contrast those siblings, so the differentiation is inferable 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 Guidelines3/5

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

The phrase 'linked to the organization' implies a prerequisite that an organization-IdP link must already exist, and the version note implies an environment requirement. However, there is no explicit when-to-use guidance, no statement of when to prefer update_identity_provider instead, and no mention of what to do if no link exists.

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