Skip to main content
Glama

css__RebootCluster

Restart a Huawei Cloud CSS cluster by cluster and project ID. Use cautiously because the cluster is unavailable during restart and Logstash pipeline states may change.

Instructions

[CSS] 重启过程中集群不可用,请谨慎操作。 工作中状态的集群,重启过程会主动停止logstash进程,管道列表“是否保持常驻”值为否,会将所有运行中管道状态置为已停止。“是否保持常驻”值为是,会触发logstash进程恢复机制,将工作中的管道状态置为恢复中,若十分钟内重新拉起logstash进程,管道状态恢复为工作中,否则置为失败状态。

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

Input Schema

NameRequiredDescriptionDefault
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

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that the cluster becomes unavailable, that the logstash process is actively stopped, and the exact pipeline-state outcomes depending on the 'keep resident' flag, including a 10-minute recovery window before pipelines are marked failed. It omits permission requirements and whether the reboot is rolling or graceful, which keeps it short of a 5.

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?

The caution is front-loaded ahead of the mechanism detail, which is the right ordering for an agent scanning for risk. It is a single dense paragraph with no wasted sentences, though the very fine-grained pipeline recovery narrative is more detail than tool selection strictly requires.

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

Completeness4/5

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

For a two-parameter mutation with no output schema and no annotations, the description supplies the critical operational consequences an agent needs before invoking it. What is missing is peripheral: authentication/permission needs and what a successful response looks like are not mentioned, but they are not essential to a correct 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 cluster_id and project_id are already documented in the schema with examples and a reference for obtaining the project ID. The description adds no meaning about either parameter, so the baseline of 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 is tagged [CSS] and its opening clause about unavailability 'during restart' makes clear this reboots a cluster, and the logstash/pipeline detail confirms the resource. It never states the verb+object plainly ('restarts the specified cluster') and does not distinguish itself from the sibling css__RestartCluster, which an agent could easily confuse with it.

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?

'请谨慎操作' plus the unavailability warning implies this is a disruptive operation to be used deliberately, which is implicit when-to-use guidance. There is no explicit statement of preconditions, when to prefer this over css__RestartCluster, or which cluster states make a reboot appropriate versus harmful.

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