Skip to main content
Glama

hss__ChangeVulScanPolicy

Update a Huawei Cloud HSS vulnerability scan policy to set scanning period, range, hosts, vulnerability types, and status, keeping vulnerability detection aligned with your environment.

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": {
      "project_id": "<project_id>",
      "scan_period": "<scan_period>",
      "scan_range_type": "<scan_range_type>",
      "status": "<status>"
    },
    "name": "hss__ChangeVulScanPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes扫描策略状态,包含如下:
host_idsNo主机ID列表;当scan_range_type的值为specific_host时必填
project_idYes项目ID
scan_periodYes扫描周期
scan_vul_typesNo扫描的漏洞类型列表
scan_range_typeYes扫描主机的范围,包含如下:
enterprise_project_idNo主机所属的企业项目ID。0

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 behavioral burden, and it discloses only that this is a mutation. It does not say whether the change is a full replacement of the policy or a partial update, whether host_ids replaces or appends the existing host list, what permissions/project scope are required, or whether the change is reversible. For a write tool with seven parameters this is a significant gap.

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?

It is certainly short and front-loaded, but a single bracketed tag plus four words is not structure — it is a title. Nothing is wasted, yet nothing beyond the tool name is delivered, so it neither over-explains nor earns credit for organization.

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 seven parameters, four required, is a mutating policy update, and has no annotations and no output schema. A one-phrase description leaves an agent without enough information to call it correctly or safely; this is the clearest failure of the definition.

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 every parameter is already documented in the schema and the baseline of 3 applies. The description adds no meaning beyond the schema — notably it does not clarify the conditional requirement between scan_range_type and host_ids or the interaction between status and scan_period, which the schema only hints at.

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?

"修改漏洞扫描策略" does give a specific verb (modify) and resource (vulnerability scan policy), so the basic operation is identifiable. However, it reads like a restated title: no scope, no object granularity (which policy fields get changed, whether it is per-project), and no differentiation from the sibling hss__ShowVulScanPolicy that reads the same resource.

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 at all — nothing tells the agent to call this only after inspecting the current policy via hss__ShowVulScanPolicy, nor whether it creates-or-updates. Alternatives exist among siblings (hss__ShowVulScanPolicy, hss__CreateVulnerabilityScanTask) but none are mentioned or excluded.

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