Skip to main content
Glama

ecs__ResetServerPassword

Resets the root or Administrator password for a Huawei Cloud Elastic Cloud Server (ECS) when access credentials need to be changed.

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": {
      "project_id": "<project_id>",
      "reset-password": "<reset-password>",
      "server_id": "<server_id>"
    },
    "name": "ecs__ResetServerPassword"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云服务器ID。
project_idYes项目ID。
reset-passwordYesreset-password信息详情。

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 burden, yet it only restates the action. It does not disclose whether the instance must be stopped or rebooted, whether active sessions are invalidated, whether the reset is reversible, or what permissions are needed — all critical for a credential-mutating operation.

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 front-loaded sentence with no filler beyond the [ECS] service tag. It is appropriately sized, though its brevity is partly why behavioral detail is missing.

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 nested-parameter, credential-mutating tool with no annotations and no output schema, so the description must cover operational caveats — but it says nothing about required instance state, reboot behavior, or failure modes. For a destructive auth operation, that is a substantial omission.

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%, including the nested reset-password object with new_password and is_check_password documented inline, so the schema already does the heavy lifting. The description adds no extra meaning such as password complexity constraints or what is_check_password defaults to. Baseline 3 applies.

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?

States a specific verb (重置/reset) plus the exact resource and target accounts (弹性云服务器管理帐号, root 或 Administrator), which is more precise than the bare name. It does not explicitly distinguish itself from the sibling ecs__BatchResetServersPassword, leaving the single-vs-batch distinction to inference.

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?

The scope is clear enough to imply usage (reset the admin password on one ECS instance), but there is no explicit when-to-use guidance, no prerequisites, and no pointer to the batch alternative. An agent must infer that this is the single-server variant.

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