Skip to main content
Glama

hss__ChangeClusterProtectionPolicy

Updates Huawei Cloud cluster protection policies by changing policy content, protected resources, and image whitelist settings.

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": {
      "content": "<content>",
      "parameters": "<parameters>",
      "policy_description": "<policy_description>",
      "policy_id": "<policy_id>",
      "policy_name": "<policy_name>",
      "project_id": "<project_id>",
      "resources": "<resources>",
      "template_id": "<template_id>",
      "white_image_list": "<white_image_list>"
    },
    "name": "hss__ChangeClusterProtectionPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes策略内容
policy_idYes策略ID
resourcesYes防护的资源信息
parametersYes策略参数值
project_idYes**参数解释**:
policy_nameYes策略名称
template_idYes模板ID
white_image_listYes白名单镜像
policy_descriptionYes策略描述
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 disclosure burden and provides almost none. Only the mutation nature is implied by 修改; nothing states whether this is a full replacement of the policy (suggested by 9 required parameters including content, resources, template_id), whether changes are reversible, what permissions are needed, or what happens to resources omitted from the request.

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

Conciseness3/5

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

The single short phrase contains no waste, but it is under-specified rather than well-structured. There is no front-loaded scope or qualifier, and the [HSS] prefix is the only added context.

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?

For a 10-parameter, 9-required mutation tool with nested objects, no annotations, and no output schema, a five-word description leaves the agent without any of the information needed to invoke it safely or correctly.

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%, including nested fields for content, resources, and white_image_list, so the schema already documents the parameters. The description contributes nothing beyond that, but the baseline of 3 applies when the schema does the heavy lifting.

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] 修改集群防护策略" is essentially a Chinese restatement of the tool name ChangeClusterProtectionPolicy — modify + cluster protection policy. It adds no scope, target object identity, or differentiating detail beyond what the name already conveys, which is the definition of a tautological purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance at all on when to use this tool versus CreateClusterProtectionPolicy, DeleteClusterProtectionPolicy, SwitchClusterProtectionMode, or UpdateProtectionPolicy. The agent must infer usage purely from the name, with no stated prerequisites or exclusions.

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