Skip to main content
Glama

iam__KeystoneUpdateProtocol

Updates an identity provider's protocol configuration in Huawei Cloud IAM, enabling administrators to change the protocol mapping used for federated authentication.

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__KeystoneUpdateProtocol"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the entire behavioral burden. It discloses only the admin authorization requirement; it does not say whether the update overwrites existing mapping bindings, whether an absent mapping_id unbinds a mapping, whether the call is idempotent, or what happens on an invalid protocol. For an unannotated mutation endpoint, this is a significant shortfall.

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 short sentence with no filler, front-loaded with the action and the target resource. It is efficient, though its brevity borders on under-specification rather than pure conciseness.

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?

This is a mutation tool with a nested object parameter, no annotations, and no output schema, so the description must carry mutation semantics itself. Beyond the admin note, it omits overwrite/idempotency behavior and the effect on existing mapping bindings, leaving an agent without enough context to invoke it confidently.

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 idp_id, protocol_id, and the nested mapping_id all documented in-schema (including the iam_user_sso conditional), so the schema does the heavy lifting. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb+resource ('更新协议' / update a protocol), which distinguishes it from the sibling Create/Delete/Show protocol tools. However, it gives no indication of what about the protocol is updated (e.g., the mapping binding), so the purpose is only minimally defined.

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?

The only guidance is that the operation is for administrators ('管理员'), which is a permission note rather than a when-to-use rule. There is no statement of prerequisites (e.g., protocol must already exist), no comparison with KeystoneCreateProtocol or KeystoneDeleteProtocol, and no guidance on when an update is warranted.

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