Skip to main content
Glama

hss__CreateGlobalAssetScanTask

Create a global asset scan task in Huawei Cloud HSS to scan hosts or containers. Specify all hosts or target specific host IDs and server groups to start vulnerability and asset detection.

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": {
      "all_hosts": "<all_hosts>",
      "category": "<category>",
      "project_id": "<project_id>"
    },
    "name": "hss__CreateGlobalAssetScanTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYes事件类别,包含如下:
host_idsNo下发任务的主机列表
all_hostsYes下发全部主机的扫描
project_idYes**参数解释**:
server_groupNo下发任务的主机组列表
enterprise_project_idNo**参数解释**: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, yet it only restates the operation. It says nothing about required permissions, whether the task runs immediately or is queued, whether it can be cancelled, or what side effects creation has on existing tasks.

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?

The single short phrase contains no padding, but it is under-specified rather than concise. For a six-parameter mutation tool, one title-equivalent line leaves no room to front-load the constraints an agent needs.

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?

This is a creation operation with three required parameters, no annotations, and no output schema. The description explains none of the target-selection semantics (all_hosts vs. explicit host_ids/server_group) or expected outcome, so it is not complete enough relative to the tool's complexity.

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 six parameters, which sets the baseline at 3. The description adds no extra meaning about all_hosts vs. host_ids vs. server_group interplay, so it earns nothing above the baseline.

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 specific verb and resource (create a global asset scan task), so the basic operation is identifiable. However, it reads as a translation of the tool name with no differentiation from siblings like CreateVulnerabilityScanTask, CreateAntiVirusTask, or ChangeVulScanPolicy, which an agent must disambiguate among.

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 guidance on when to use this tool versus the other scan-creation siblings, no prerequisites, and no mention of what happens when a scan task already exists. The agent must infer all routing decisions 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