Skip to main content
Glama
Keycloak MCP Server

Keycloak MCP Server

by Cayetano97

import_identity_provider_config

Imports an identity provider configuration into a Keycloak realm from a JSON body, using a provider ID with a URL or file content.

Instructions

Import identity provider from JSON body.

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

Input Schema

NameRequiredDescriptionDefault
realmYesRealm name
config_dataYesImport request, e.g. {providerId, fromUrl} or {providerId, file content}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/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 for a mutating operation. It does not state whether the import overwrites an existing provider with the same providerId, what realm-level effects result, what permissions are required, or what the response contains — all material for an import that may clobber existing configuration.

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

Conciseness3/5

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

The single sentence is front-loaded and free of padding, but it is under-specified rather than deliberately concise. Given a nested object parameter and mutation semantics, the description is shorter than the tool's complexity warrants.

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 write operation with a nested object payload, no annotations, and no output schema, the definition omits conflict/overwrite behavior, required permissions, and expected results. The schema covers the parameters, but the behavioral picture an agent needs to call this safely is missing.

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 coverage is 100%, so both realm and config_data are documented in the schema, including the accepted shapes {providerId, fromUrl} or {providerId, file content}. The description adds nothing beyond that, which is acceptable at full coverage but leaves it at the baseline rather than adding value.

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 names a specific verb ('Import') and resource ('identity provider'), plus the input form ('from JSON body'). It does not, however, distinguish this from siblings such as create_identity_provider or import_authz_resource_server, so the agent cannot tell when this import path is the right one.

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?

There is no when-to-use guidance at all — no explanation of when to import versus create a provider, no prerequisites, and no mention of an alternative like create_identity_provider. The single sentence leaves the agent to infer the entire usage context from the name alone.

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