Skip to main content
Glama

css__RollingRestart

Restarts nodes in a Huawei Cloud CSS cluster one at a time to avoid full-cluster downtime during maintenance; expect longer runs for clusters with many indices.

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__RollingRestart"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes操作角色。type的值只能为role。
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

B3.1/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 two real behavioral traits — sequential node-by-node execution and long runtime when many indices exist — but omits downtime/availability impact, permission requirements, and whether the operation is interruptible or reversible.

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 short sentence with no filler; the cost caveat is front-loaded. It is efficient, though spending the sentence on duration rather than scope is a debatable prioritization.

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?

For a four-required-parameter mutation tool with no annotations and no output schema, the description says nothing about what the type/value parameters select, what happens to workloads during the restart, or what is returned. The only behavioral note is about duration, leaving the agent under-informed before invoking a disruptive operation.

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 all four parameters (type, value, cluster_id, project_id) are already documented in the schema. The description adds no meaning about how type/value constrain which nodes get restarted, so the 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?

The description states a concrete verb and resource plus a distinguishing mechanic: nodes are restarted one at a time rather than all at once, which separates it from a whole-cluster restart. It never names the sibling (css__RestartCluster) or explicitly says 'rolling restart of a cluster', so the agent must infer the distinction.

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 or when-not-to-use guidance is given, and no alternative (e.g. the full cluster restart sibling) is mentioned. The note about long duration hints at a scenario but never states a selection rule.

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