Skip to main content
Glama

hss__UpdateProtectionPolicy

Update a Huawei Cloud HSS ransomware protection policy by setting protected directories, protection mode/type, OS, and optional exclusions or process allowlists.

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": {
      "operating_system": "<operating_system>",
      "policy_id": "<policy_id>",
      "policy_name": "<policy_name>",
      "project_id": "<project_id>",
      "protection_directory": "<protection_directory>",
      "protection_mode": "<protection_mode>",
      "protection_type": "<protection_type>"
    },
    "name": "hss__UpdateProtectionPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYes**参数解释**:
project_idYes项目ID
deploy_modeNo**参数解释**:
policy_nameYes**参数解释**:
agent_id_listNo**参数解释**:
protection_modeYes**参数解释**:
protection_typeYes**参数解释**:
operating_systemYes**参数解释**:
exclude_directoryNo**参数解释**:
process_whitelistNo进程白名单
ai_protection_statusNo**参数解释**:
protection_directoryYes**参数解释**:
enterprise_project_idNo主机所属的企业项目ID。0
bait_protection_statusNo**参数解释**:
runtime_detection_statusNo**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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. It conveys only that this is a mutation, saying nothing about required permissions, whether unspecified fields are overwritten or preserved, whether changes are revertible, or what the response contains — a serious gap for a 15-parameter policy rewrite.

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?

It is short, but the brevity comes from under-specification rather than economy: a single bracketed tag plus a noun phrase, with no structure and nothing front-loaded beyond the vendor prefix.

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 destructive-write tool with 7 required parameters, 15 total, no annotations, and no output schema, a bare title is far from sufficient. The agent has no idea of the blast radius, prerequisites, or the meaning of the required fields it must supply.

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 reported at 100%, so the schema is nominally the documentation source and baseline 3 applies. However, several schema entries are the placeholder text "**参数解释**:" with no actual explanation, and the description adds nothing about policy_name, protection_directory, protection_mode, or protection_type.

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?

"修改勒索防护策略" gives a verb (modify) and a resource (ransomware protection policy), and the added word "勒索" distinguishes it slightly from the generic name UpdateProtectionPolicy. But it is essentially a restatement of the tool name and there is no differentiation from near-neighbours such as hss__UpdatePolicy or hss__ChangeClusterProtectionPolicy, so an agent cannot tell what makes this the right choice.

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 preconditions, and no mention of when not to use it or which sibling to prefer. The agent must infer everything from the name alone.

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