Skip to main content
Glama

ecs__BatchStopServers

Stops up to 1,000 Huawei Cloud ECS servers in a single request using a provided server ID list.

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": {
      "os-stop": "<os-stop>",
      "project_id": "<project_id>"
    },
    "name": "ecs__BatchStopServers"
  }
}

Input Schema

NameRequiredDescriptionDefault
os-stopYes标记为关闭云服务器操作。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full behavioral burden, and it discloses only the 1000-server cap (already encoded as maxItems in the schema). It says nothing about SOFT vs HARD shutdown semantics, required permissions, idempotency on already-stopped servers, or what happens on partial failure within a batch — significant gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the bracketed service tag, the action, the input basis, and the limit — no filler or redundancy.

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-object mutation tool with no annotations and no output schema, the definition covers the core action and the batch limit but omits behavior an agent needs: the effect of the SOFT/HARD choice, preconditions, and failure handling. Adequate minimum, with clear gaps.

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 the baseline is 3. The description only confirms the servers[].id input ('根据给定的云服务器ID列表') and adds no meaning to the SOFT/HARD shutdown type or project_id beyond what the schema already documents.

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 ('批量关闭云服务器' based on a list of server IDs) and the batch scope, which separates it from BatchStartServers/BatchRebootServers by the action verb alone. It never names a sibling to differentiate against, so it stops short of a 5.

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: the input is a list of server IDs, so the tool is a batch-by-ID operation. There is no statement of when to prefer this over ecs__NovaStopServer (single server) or bms__BatchStopBaremetalServers, and no mention of prerequisites such as server state or permissions.

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