Skip to main content
Glama

iam__KeystoneUpdateUserByAdmin

Modify IAM user information as an administrator, including username, enabled status, password, domain ID, password status, and description.

Instructions

[IAM] 该接口可以用于管理员修改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": {
      "user": "<user>",
      "user_id": "<user_id>"
    },
    "name": "iam__KeystoneUpdateUserByAdmin"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesIAM用户信息。
user_idYes待修改信息的IAM用户ID,获取方式请参见:[获取用户ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 only that admin privileges are required and says nothing about whether the update is partial or a full replacement, whether omitted fields are cleared, whether a supplied password triggers a forced reset, or whether the change is reversible — all critical for a mutation endpoint with a nested user object.

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 filler, so it is not verbose. But it spends its only content on an admin-doc hyperlink instead of front-loading the scope of the modification, making it concise at the cost of informativeness.

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 nested-object mutation tool with no annotations and no output schema, the description is thin: it omits update semantics, partial-vs-full behavior, side effects, and response expectations. Only the admin-permission requirement is conveyed, so an agent would need to guess at important behavior.

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 each field of the nested user object documented inline (name charset rules, enabled default, password, domain_id, pwd_status, description), so the schema already does the heavy lifting. The description adds no semantics beyond that, which is the expected baseline-3 outcome when coverage is complete.

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 verb (修改 / modify) and a resource (IAM用户信息 / IAM user information), so the basic action is identifiable. However, it never states which attributes can be changed or how this differs from the several sibling tools that also update users (iam__UpdateUser, iam__UpdateUserInformation, iam__KeystoneUpdateUserPassword), leaving the agent to infer the boundary from the tool name alone.

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 caller must be an administrator, which is a caller-privilege note rather than when-to-use guidance. There is no statement of when to pick this over KeystoneUpdateUserPassword or UpdateUser, and no prerequisites or failure conditions are mentioned.

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