Skip to main content
Glama

iam__KeystoneDeleteMapping

Deletes an IAM mapping by ID, removing identity provider attribute-mapping rules from Huawei Cloud. Use it to clean up federation mappings that are no longer needed.

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

Input Schema

NameRequiredDescriptionDefault
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 supplied, so the description must carry the full behavioral burden. It mentions the administrator permission requirement, which is useful, but for a destructive delete it says nothing about irreversibility, about side effects on associated federation or identity-provider config, or about the error produced when the ID does not exist.

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?

The definition is a single short sentence with no padding after the operation statement. The embedded hyperlink to the administrator documentation is slightly noisy but does anchor the permission claim.

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 one-parameter delete with a fully documented schema and no output schema, the definition covers the essentials of what and who. It still omits the consequence of deletion and preconditions, which matter most for a destructive operation with zero annotation coverage.

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 single 'id' parameter is fully documented in the schema as '待删除的映射ID'. The description adds no syntax, format, or naming-convention detail beyond that, 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?

The description pairs a specific verb ('删除' / delete) with a specific resource ('映射' / mapping), so the agent knows exactly what operation is performed. It does not, however, distinguish this tool from sibling mapping operations such as update or show; it relies on the tool name alone to do that work.

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 only guidance given is that the call is intended for administrators ('管理员'), which is a real prerequisite, but there is no statement of when to use this tool rather than a sibling operation, and no mention of what state must exist first, e.g., that the mapping must already exist.

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