Skip to main content
Glama

css__ResetPassword

Resets the administrator password for a specified Huawei Cloud CSS cluster by cluster ID and project ID, updating it to a new password.

Instructions

[CSS] 该接口用于修改集群密码。

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": {
      "cluster_id": "<cluster_id>",
      "newpassword": "<newpassword>",
      "project_id": "<project_id>"
    },
    "name": "css__ResetPassword"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes指定待修改集群密码的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
newpasswordYes安全模式下集群管理员admin的密码,只有在创建集群时authorityEnable设置为true时该接口可用。

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, yet it only says the password is modified. It does not disclose that the change is an irreversible mutation, whether the old password is needed, what permissions are required, or that the call fails on clusters not created in security mode.

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 and the operation is front-loaded. The brevity, however, is a symptom of under-specification rather than disciplined economy.

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, three-required-parameter mutation with no annotations and no output schema, the description says almost nothing about behavior or outcomes. The schema covers the parameters, but an agent still lacks the context needed to invoke this 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 description coverage is 100%, with all three required parameters documented in-schema (including the authorityEnable condition for newpassword). The description adds no meaning beyond the schema, so the baseline of 3 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 ("修改集群密码" / modify cluster password) plus a [CSS] service prefix, so the agent knows the general operation. However, it offers no scope detail — which cluster, which user account, or how it differs from the many sibling ResetPassword tools — leaving it only minimally distinguishable.

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?

No when-to-use or when-not-to-use guidance is given, and no alternatives are named despite a large family of sibling password-reset tools. Prerequisites such as the requirement that authorityEnable=true at creation time are only present in the schema, not in the description.

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