Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

get_organization_identity_provider

Retrieve an organization's linked identity provider by alias using realm and organization ID; requires Keycloak 25+.

Instructions

Get an identity provider linked to an organization by alias. 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": "get_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

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. The verb 'Get' signals a read operation and the Keycloak 25+ note is a genuine environmental constraint, but behavior on a missing alias/organization, permission requirements, and error surface are all undisclosed.

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, zero waste, with the identifying scope front-loaded and the compatibility prerequisite separated out.

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

Completeness4/5

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

For a simple three-parameter read tool with fully documented schema and no output schema, this is close to sufficient. The only real omission is what happens when the alias or organization link does not exist.

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, org_id, and alias are already documented in the schema. The description adds only the framing that the alias resolves a provider linked to the given organization, which is marginal beyond the structured fields.

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 and resource plus a qualifying scope: 'Get an identity provider linked to an organization by alias.' That narrows it meaningfully against realm-level siblings like get_identity_provider and the list variant, though it does not name an alternative outright.

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?

Usage is only implied through the scope phrase (organization-linked provider, looked up by alias). The one piece of explicit guidance supplied is an environmental prerequisite, 'Requires Keycloak 25+', which is useful but is not when-to-use or when-not-to-use guidance.

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