Skip to main content
Glama

ecs__BatchRebootServers

Restart up to 1000 Huawei Cloud ECS servers at once by supplying their IDs, choosing a soft or hard reboot to recover or apply changes across multiple instances.

Instructions

[ECS] 根据给定的云服务器ID列表,批量重启云服务器,一次最多可以重启1000台。

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>",
      "reboot": "<reboot>"
    },
    "name": "ecs__BatchRebootServers"
  }
}

Input Schema

NameRequiredDescriptionDefault
rebootYes标记为重启云服务器操作。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the batch nature and the 1000-server ceiling (this overlaps schema maxItems: 1000), but says nothing about downtime, whether the call is synchronous or asynchronous, permission requirements, or partial-failure behavior for a batch mutation.

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?

One compact sentence with the resource and batch scope front-loaded and no redundant phrasing. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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 nested-schema, no-annotation, mutating batch tool with no output schema, the description covers the resource and scale limit but omits the reboot-mode semantics, side effects, and result behavior an agent needs before invoking it.

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 the baseline is 3. The description confirms the 'servers' ID-list semantics but adds nothing about the nested 'type' parameter (SOFT vs HARD), whose schema description is a truncated '重启类型:', leaving the behavioral difference between the two modes unexplained anywhere.

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 and resource: batch reboot cloud servers from a given ID list, with a stated scale ceiling. It does not differentiate from the clearly related sibling ecs__NovaRebootServer (single-server reboot), leaving the agent to infer the batch/single split.

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?

Usage is only implied by '根据给定的云服务器ID列表' (given a list of server IDs) and the 1000-server cap. There is no explicit when-to-use versus NovaRebootServer, no prerequisites (server state, permissions), and no when-not guidance.

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