Skip to main content
Glama

css__RestartCluster

Restarts all nodes or specific node types in a Huawei Cloud CSS cluster, helping recover services after configuration changes or faults.

Instructions

[CSS] 该接口可以用于重启当前集群拥有的全部节点类型,或部分节点类型组合的节点。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>",
      "type": "<type>",
      "value": "<value>"
    },
    "name": "css__RestartCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes操作角色。参数范围:
valueYes操作参数。参数说明:
cluster_idYes指定重启集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

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 carries the full burden of behavioral disclosure, and it delivers little. It does not state that restarting causes service unavailability or downtime, whether the operation is synchronous or asynchronous, whether ongoing connections are dropped, what permissions are needed, or whether the restart is partial/resumable. For a disruptive cluster-level operation, these omissions are significant.

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 the [CSS] service tag and no filler or repetition. It is efficient and readable, though it is so terse that the missing usage and impact information never appears anywhere.

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 four-parameter, all-required cluster mutation with no annotations and no output schema, so the description should explain impact, prerequisites, and expected behavior. Instead it covers only what gets restarted, leaving the agent without enough context to call it safely or to interpret results.

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 does add some meaning by implying that the type/value pair selects which node types are restarted versus the full set. However, the schema's own descriptions for type and value are essentially truncated ('参数范围:' and '参数说明:' with no content), and the description does not fill in the valid ranges or explain how type and value interact.

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 (restart the cluster) and adds scope: either all node types the cluster owns or a combination of some node types. That scope detail is genuinely useful. It does not, however, distinguish this from sibling restart tools such as css__RollingRestart or css__RebootCluster, leaving the agent to infer which restart variant applies.

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?

No when-to-use guidance, no prerequisites, no exclusions, and no routing to alternatives. The phrase about restarting all or a subset of node types describes scope rather than criteria for choosing this tool over RollingRestart or RebootCluster. The agent is left to guess which restart operation is appropriate.

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