Skip to main content
Glama

workspace__ResetRandomPassword

Reset a user's password to a random value in a Huawei Cloud project, optionally sending the new password via email or phone.

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

Input Schema

NameRequiredDescriptionDefault
user_idYes用户ID。
project_idYes项目ID。
notification_typeNo通知用户类型,现在有“email”和“phone”两种,用","分开,用户为用户激活模式时必须要带上通知类型,以便接收到密码通知。

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 supplied, so the description carries the full burden of behavioral disclosure. It does not state that the generated password is random, whether the old password is immediately invalidated, whether the new secret is returned in the response or delivered out-of-band, or what permissions are required. For a credential-mutating operation this is a substantial gap.

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?

The single sentence is efficiently front-loaded with the [WORKSPACE] tag and contains no padding. Brevity is not the problem here — under-specification is; almost no information beyond the tool name is delivered.

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 destructive credential-reset tool with no annotations and no output schema, the definition should explain the outcome (random password, invalidation of the old one, delivery via notification_type). None of that is covered, leaving the agent without the information needed to call it safely and correctly.

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 coverage is 100%, so user_id, project_id, and notification_type are already documented in the schema, including the email/phone notification semantics. The description adds no additional meaning about these parameters, so the baseline 3 for full schema coverage applies.

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 states a verb and resource ('重置一个密码' for a user) and names the [WORKSPACE] scope, so the basic operation is identifiable. However, it omits the distinguishing trait carried by the tool name — that a *random* password is generated — and says nothing to separate it from the many other ResetPassword siblings. An agent must infer the random-generation behavior from the 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?

There is no when-to-use guidance, no preconditions, and no mention of alternatives among the numerous password-reset siblings. Nothing tells the agent when this workspace-user reset should be chosen over, e.g., iam password updates or other service resets.

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