Skip to main content
Glama

iam__UpdateUserInformation

Updates an IAM user's email address or mobile number for the specified user ID.

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

Input Schema

NameRequiredDescriptionDefault
userYesIAM用户信息。
user_idYes待修改信息的IAM用户ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和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

B3.1/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 behavioral burden, and it only says what the endpoint does. It does not disclose required permissions, whether email/mobile take effect immediately or need verification, whether omitted fields are reset, what happens to the old contact values, or whether this is restricted to the calling principal's own ID.

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 the scope stated up front and no filler. The bracketed service prefix is minor overhead, and the brevity is achieved partly by omitting information rather than by tight 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?

For a mutation tool with zero annotation coverage and no output schema, the definition is thin: it omits permission requirements, verification behavior on contact changes, and error outcomes. The rich schema compensates for input details, but the behavioral picture an agent needs before calling a write operation is largely absent.

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 of the two parameters (user.email, user.mobile) and the user_id path element already documented with format and length constraints in the schema. The description therefore adds no meaning beyond the schema, which is the baseline-3 situation.

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 combination (modify one's own user information) and adds a meaningful scope constraint: it is the IAM user acting on their OWN profile, which implicitly separates it from admin-scoped mutations like iam__KeystoneUpdateUserByAdmin or iam__UpdateUser. It stops short of naming a sibling, so it lands at 4 rather than 5.

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?

Usage is only implied through the phrase 'IAM users modify their own user information', which signals a self-service context and hints that it is not the admin path for editing other users. There is no explicit when-to-use / when-not-to-use statement nor a named alternative for the admin case, so an agent still has to infer routing.

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