Skip to main content
Glama

workspace__UpdateUserInfo

Updates desktop user details in Huawei Cloud Workspace, including contact info, account status, activation type, password policies, and expiration settings for a specified project and user.

Instructions

[WORKSPACE] 该接口用于修改桌面用户信息。

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": {
      "project_id": "<project_id>",
      "user_id": "<user_id>"
    },
    "name": "workspace__UpdateUserInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes用户ID。
disabledNo账户是否禁用,true表示被禁用,false表示未禁用。
project_idYes项目ID。
user_emailNo用户邮箱。
user_phoneNo手机号。
active_typeNo激活类型,默认为用户激活。
descriptionNo用户描述。
user_info_mapNo用户信息映射,包含用户的服务等级、操作模式和类型。
account_expiresNo账户过期时间,0表示永远不过期。
enable_change_passwordNo是否允许修改密码,true表示允许,false表示不允许。
password_never_expiredNo密码是否永不过期,true表示密码永不过期,false表示密码会过期。
next_login_change_passwordNo下次登录是否需要重置密码,true表示需要重置密码,false表示不需要。

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 provided, so the description carries the full behavioral burden, but it only says the interface modifies desktop user information. It does not disclose permissions, partial-update semantics, effects on fields such as disabled/password/account_expires, reversibility, or any response behavior. It signals mutation but adds almost no operational context.

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 description is a single front-loaded sentence with no filler, and it states the purpose immediately. It is concise, though its brevity leaves important behavioral details to other fields.

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 12-parameter mutation tool with no annotations and no output schema, the description is too thin to be complete. The schema covers parameter meanings, but the definition lacks guidance on selection, side effects, permissions, and update behavior, which are critical for safe invocation.

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 schema already documents all 12 parameters with field-level descriptions. The tool description adds no additional meaning about how those fields interact or how to use them, so the baseline of 3 is appropriate.

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 clearly states the verb “修改” and resource “桌面用户信息”, so the basic action is identifiable. It does not distinguish this tool from closely named siblings such as workspace__ChangeUserStatus or workspace__ChangeUserPrivilegeGroup, leaving the agent to infer the boundary.

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 guidance on when to use this tool versus the many sibling user-management tools, nor any prerequisites or exclusions. The phrase “用于修改” indicates a general use case but does not help an agent choose correctly among alternatives.

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