Skip to main content
Glama

hss__SwitchClusterProtectionMode

Switch HSS cluster protection on or off for selected clusters by specifying cluster IDs, project ID, and the desired operation mode.

Instructions

[HSS] 操作集群防护模式

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_ids": "<cluster_ids>",
      "opr": "<opr>",
      "project_id": "<project_id>"
    },
    "name": "hss__SwitchClusterProtectionMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
oprYes- 1:开
project_idYes**参数解释**:
cluster_idsYes集群ID列表
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing: not that this is a mutating state change, not the effect on existing protection policy, not permission requirements, and not whether the change is reversible. Only the vague word "操作" hints at a write operation.

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

Conciseness2/5

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

Being a single short phrase, it is technically compact, but this reflects under-specification rather than conciseness. There is no structure, no front-loaded detail about the operation, and no actionable content.

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

Completeness1/5

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

A mutating, multi-parameter cluster operation with no annotations and no output schema demands far more than one phrase. The description omits the operation's semantics, the meaning of the state value, scope constraints, and any expected outcome, leaving an agent unable to call it safely.

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 schema already documents all four parameters (cluster_ids, opr, project_id, enterprise_project_id). The description adds no meaning beyond it — notably it does not clarify the opr value range, whose schema description only lists "1:开".

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[HSS] 操作集群防护模式" merely restates the tool name (SwitchClusterProtectionMode) in Chinese with the generic verb "操作" (operate). It does not say what is actually switched, to what state, or how this differs from siblings such as ChangeClusterProtectionPolicy or SwitchContainerProtectStatus.

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?

There is no when-to-use guidance, no prerequisites, and no named alternative. An agent cannot infer from this text whether it should call this tool or ChangeClusterProtectionPolicy for a given cluster scenario.

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