Skip to main content
Glama

ecs__BatchResetServersPassword

Batch reset root or Administrator passwords for specified Huawei Cloud ECS servers, and use the optional dry run to validate the request before applying changes.

Instructions

[ECS] 批量重置弹性云服务器管理帐号(root用户或Administrator用户)的密码。

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": {
      "new_password": "<new_password>",
      "project_id": "<project_id>",
      "servers": "<servers>"
    },
    "name": "ecs__BatchResetServersPassword"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo是否只预检此次请求。
serversYes待批量重置密码的弹性云服务器ID信息。
project_idYes项目ID。
new_passwordYes新密码。

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?

With no annotations, the description must provide the full behavioral disclosure, but it only identifies which account is affected. It does not explain that the new password may require a restart to take effect, which users this operation locks out, what password-complexity constraints apply, or what dry_run actually validates. That leaves the agent without the context needed to use a destructive credential-changing operation safely.

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 that gives the key scope of the batch reset and the target account in immediately useful terms. It is efficient, though it leaves out essential operational detail rather than wasting words.

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?

This is a credential-mutating batch tool with no annotations and no output schema, and the description covers only the target account. It omits what happens on partial failure, how many servers can be processed, and the effect on running instances, so an agent cannot anticipate the consequences or the failure modes from this definition alone.

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 every parameter (dry_run, servers, project_id, and new_password) is documented inline, so the baseline is 3. The description adds nothing about the parameters beyond what is already in the schema, such as the 1-1000 server limit or the password policy.

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 in "批量重置弹性云服务器管理帐号的密码" (batch reset the password of ECS management accounts), and it narrows the target to root/Administrator accounts. The batch scope implied by 批量 distinguishes it from the singular ecs__ResetServerPassword, though it does not name that sibling.

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 rather than the single-server ecs__ResetServerPassword, nor on prerequisites, such as the required server state or the reboot needed for the new password to take effect. The only usage information is implicit in the tool name and the description's mention of batch operation.

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