Skip to main content
Glama

iam__KeystoneUpdateUserPassword

Update an IAM user's own password by providing the user ID, original password, and new password to rotate account credentials.

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

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.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It says the password is changed but not whether this invalidates existing tokens, whether the caller may target another user's ID, what permissions are required, or whether the change is reversible — all material for a credential-mutating operation.

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?

A single short sentence with no wasted words, but it is under-specified rather than efficiently concise. The detail that would earn a higher score (target user semantics, prerequisites) is absent.

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

Completeness4/5

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

For a two-parameter password-change operation with a fully documented schema and no output schema, the description covers the core intent. What is missing — permission model, token invalidation behavior, self-vs-admin targeting rules — is exactly the behavioral context the absent annotations would normally supply.

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 both the nested password fields and user_id are documented in the schema itself. The description adds nothing beyond that (e.g., password complexity rules, whether original_password is optional for admins), so the baseline of 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 states a specific verb and resource (modify an IAM user's password) and distinguishes the self-service case ('自己的密码') from the admin variant implied by the sibling iam__KeystoneUpdateUserByAdmin. It is slightly muddled because the schema requires a user_id for the target user, which sits awkwardly with 'own password'.

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?

There is no when-to-use or when-not-to-use guidance, no mention of the alternative admin path (iam__KeystoneUpdateUserByAdmin / iam__UpdateUser), and no stated prerequisites such as needing the original password or an active session. The agent must infer all routing from the tool name alone.

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