Skip to main content
Glama

ecs__ReinstallServerWithCloudInit

Reinstalls a Huawei Cloud ECS OS using its original image, preserves data disks, and injects cloud-init user data or admin credentials for system disk recovery and reset.

Instructions

[ECS] 重装弹性云服务器的操作系统。支持弹性云服务器数据盘不变的情况下,使用原镜像重装系统盘。

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": {
      "os-reinstall": "<os-reinstall>",
      "project_id": "<project_id>",
      "server_id": "<server_id>"
    },
    "name": "ecs__ReinstallServerWithCloudInit"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云服务器ID。
project_idYes项目ID。
os-reinstallYes重装弹性云服务器

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 supplied, so the description carries the full behavioral burden. It usefully discloses that the data disk is preserved and the original image is reused, but omits the critical facts that the system disk is wiped (irreversible), whether the server must be stopped or is stopped for you, and how the 'mode=withStopServer' path behaves.

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?

Two tight sentences with the operation stated first and the data-preservation caveat second. No filler, though the brevity comes at the cost of the missing behavioral warnings.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, nested-parameter operation with no annotations and no output schema, the description is thin: it never warns about system-disk data loss, downtime, or the cloud-init distinction. It does at least establish the image source and data-disk behavior, which is the minimum an agent needs to avoid a wrong destructive call.

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%, so every parameter including the nested os-reinstall object is documented in the schema, establishing a baseline of 3. The description adds only the data-disk/original-image framing and nothing about mode, keyname, or adminpass semantics beyond what the schema already states.

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 names a specific verb and resource ('重装弹性云服务器的操作系统') and adds the scope condition that the data disk stays intact while the system disk is reinstalled from the original image. It does not, however, distinguish this from the sibling ecs__ReinstallServerWithoutCloudInit or from ecs__ChangeServerOsWithCloudInit, and never mentions the cloud-init/user_data injection implied by its own name.

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 choose this tool over the WithoutCloudInit or ChangeServerOs variants, no statement of prerequisites (server state, project permissions, keypair/userid coupling), and no exclusions. The agent must infer selection purely from the tool name.

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