Skip to main content
Glama

iam__KeystoneCreateProtocol

Registers a protocol for an IAM identity provider, associating the specified mapping when required.

Instructions

[IAM] 该接口可以用于管理员注册协议(将协议关联到某一身份提供商)。

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": {
      "idp_id": "<idp_id>",
      "protocol": "<protocol>",
      "protocol_id": "<protocol_id>"
    },
    "name": "iam__KeystoneCreateProtocol"
  }
}

Input Schema

NameRequiredDescriptionDefault
idp_idYes身份提供商ID。
protocolYes协议信息。
protocol_idYes待注册的协议ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the admin privilege requirement and the fact that a relationship is created, but says nothing about idempotency, what happens if the protocol is already registered, whether it is reversible, or what the response contains — a significant gap for a create/mutation operation.

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?

A single compact sentence that front-loads the action and follows it with the clarifying association semantics. The inline documentation link adds minor noise but no substantive waste.

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

Completeness3/5

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

For a three-parameter mutation with a nested object and no annotations or output schema, the description covers purpose and permission context but leaves error behavior and side effects unexplained. Adequate as a minimum, but thin for a state-changing operation.

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 idp_id, protocol, protocol_id and the conditional mapping_id rule are already documented in the input schema. The description adds no further parameter meaning, so the baseline 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 and resource (register a protocol) and adds a parenthetical clarifying the underlying semantics: associating a protocol with an identity provider. That distinguishes it from the Show/Update/Delete protocol siblings by action, though no sibling is named explicitly.

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 description qualifies the caller as an administrator, which is a useful precondition, but it gives no explicit when-to-use guidance versus KeystoneUpdateProtocol or KeystoneShowProtocol, and no statement of when this call should be avoided.

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