Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

unlink_organization_identity_provider

Unlinks an identity provider from a Keycloak organization by specifying the realm, organization ID, and provider alias; requires Keycloak 25+.

Instructions

Unlink an identity provider from an organization. Requires Keycloak 25+.

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

Input Schema

NameRequiredDescriptionDefault
aliasYesIdentity provider alias
realmYesRealm name
org_idYesOrganization ID

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 signals a mutation ('unlink') and adds a useful version prerequisite, but does not disclose whether the identity provider itself is deleted or merely detached, what happens to existing members' federated identities, or whether the operation is reversible. For a destructive-ish mutation with zero annotation coverage, this is a notable gap.

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?

Two short sentences, front-loaded with the action and free of filler. Nothing is wasted, though the extreme brevity means it is efficient at the cost of completeness.

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 three-required-parameter mutation tool with no annotations and no output schema, the description is too thin. It omits preconditions (must the link exist?), side effects on organization members, and error/return behavior, leaving the agent to guess at consequences before invoking.

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?

All three parameters (realm, org_id, alias) are documented at 100% schema coverage, so the schema already explains their meaning. The description adds no extra semantics such as alias format or realm defaults, so the baseline of 3 applies.

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 pair ('Unlink an identity provider from an organization') that is immediately distinguishable from the sibling 'link_organization_identity_provider'. It is clear what the tool does, though it does not explicitly name the inverse operation as an alternative.

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?

No when-to-use or when-not-to-use guidance is given; the only conditional statement is a version requirement ('Requires Keycloak 25+'), which is an environment prerequisite rather than usage guidance. The agent must infer from the name alone that this is the inverse of the link sibling and that a link must presumably exist first.

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