Skip to main content
Glama

iam__KeystoneUpdateMapping

Updates an IAM federation mapping by ID and sets rules that map identity provider users or groups to local IAM users and groups.

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": {
      "id": "<id>",
      "mapping": "<mapping>"
    },
    "name": "iam__KeystoneUpdateMapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes待更新的映射ID。
mappingYes映射信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden, yet it only notes that administrators can call it. It does not state that the operation mutates state, whether "mapping" fully replaces the existing rule set or merges with it, whether the call is recoverable, or what happens on an invalid ID. For a nested-object mutation tool this is a substantial gap.

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?

It is a single short sentence with no waste, and the verb-plus-resource is front-loaded. However, the boilerplate phrasing ("该接口可以用于...") is low-information and the brevity comes at the cost of any useful detail rather than from disciplined editing.

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?

Given a nested rules object with mutually exclusive any_one_of/not_any_of semantics, no output schema, and no annotations, the description is far too thin. It neither explains the replacement semantics of the update nor the administrator scoping beyond a single word, leaving the agent to infer behavior from the schema alone.

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% and the nested rules/local/remote fields are documented in detail within the schema itself. The description adds nothing about the id path parameter or the mapping body, so the baseline 3 for a fully documented schema applies.

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

Purpose2/5

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

The description says "该接口可以用于[管理员]更新映射" – essentially a restatement of the tool name KeystoneUpdateMapping plus an administrator qualifier. It identifies the verb and resource, but adds no detail about what an IAM mapping is or how update differs from create/show/delete mapping, both of which are siblings.

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 contextual clue is that this is for administrators. There is no guidance on when to update rather than create or delete a mapping, no prerequisites such as the mapping ID needing to exist, and no mention of the sibling operations.

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