Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

list_organization_identity_providers

Retrieves identity providers linked to a specific organization in a Keycloak realm. Use it to inspect organization SSO connections; requires Keycloak 25+.

Instructions

List identity providers linked to 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>"
    },
    "name": "list_organization_identity_providers"
  }
}

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
org_idYesOrganization ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/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 disclosure burden. It does add one valuable behavioral fact, the Keycloak 25+ version requirement, but says nothing about behavior on unsupported versions, whether the list is paginated, or whether an empty result is returned for an org with no linked providers.

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 filler. The core purpose is front-loaded and the version constraint follows immediately as a secondary condition.

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 two-parameter read operation with full schema coverage and no output schema, the description covers purpose and a key server-version prerequisite. The remaining gaps around pagination and empty-result behavior are minor 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%, with both 'realm' and 'org_id' documented in the input schema. The description adds no extra meaning about identifier formats or scoping relationships, so it sits at the baseline where the schema does the work.

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?

The description gives a specific verb and resource ('List identity providers') plus a clear scope qualifier ('linked to an organization'), which separates it in spirit from the bare list_identity_providers sibling. It does not name that sibling explicitly, so the differentiation must be inferred from 'linked to an organization'.

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 implied by the resource scope, and the 'Requires Keycloak 25+' line functions as a real precondition an agent must check. However, there is no explicit statement of when to prefer this over list_identity_providers, nor any note about what to do when the server version is older.

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