Skip to main content
Glama

hss__CreateClusterProtectionPolicy

Creates a cluster protection policy in Huawei Cloud HSS to define scan severity, response actions, and protected resources like clusters, namespaces, images, and whitelisted images.

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

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.2/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it discloses nothing. For a mutation tool with 9 required parameters and nested resource objects, an agent gets no information about permissions, idempotency, what happens on duplicate policy names/IDs, side effects on clusters, or the response shape.

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 description is a single short tag-prefixed phrase with no wasted words and is trivially front-loaded. However, the brevity comes from omission rather than efficiency, so it earns only a middling score.

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?

The tool has 10 parameters (9 required), nested objects for content/resources/white_image_list, no annotations, and no output schema, so the description should do substantial work. Instead it provides a single translated title, leaving an agent unable to understand required inputs or the effect of the 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 the schema already documents all 10 parameters and nested fields, which sets the baseline at 3. The description adds no meaning beyond the schema — it does not explain relationships between policy_id, template_id, parameters, or resources, but it is not required to under the high-coverage rule.

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

Purpose3/5

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

The description states a verb and resource (create a cluster protection policy), which is clearer than a bare name, but it is essentially a restatement of the tool name 'CreateClusterProtectionPolicy'. It gives no scope details and does nothing to distinguish this from close siblings such as hss__AddProtectionPolicy, hss__CreateContainerNetworkPolicy, or hss__ChangeClusterProtectionPolicy.

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 mention of prerequisites, and no reference to alternative tools for related operations (changing, deleting, or listing policies). The only implied guidance is that this creates a new policy rather than modifying an existing one, which the verb alone conveys.

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