Skip to main content
Glama

hss__CreateAntiVirusTask

Creates an HSS antivirus scan task for specified hosts, with configurable scan type and response action.

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": {
      "action": "<action>",
      "host_ids": "<host_ids>",
      "project_id": "<project_id>",
      "scan_type": "<scan_type>",
      "task_name": "<task_name>"
    },
    "name": "hss__CreateAntiVirusTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes处置动作,包含如下:
task_idNo任务ID 创建病毒扫描任务时,task_id是null.重新扫描时,task_id不是null,是当前任务的ID
host_idsYes策略管理主机列表
scan_typeYes任务类型,包含如下:
task_nameYes
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 burden of behavioral disclosure, yet it states nothing about side effects, required permissions, whether the scan runs immediately, or what happens to hosts already running a scan. The phrase at least implies a mutating create operation, which is the minimum context an agent gets.

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?

One short, front-loaded phrase with no wasted words, but its brevity reflects under-specification rather than disciplined compression. There is no structure to speak of beyond the service tag 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?

This is a complex operation: 7 parameters, 5 required, nested object types, and no output schema to explain the return value. The description supplies none of the missing context an agent would need about scan scope, expected result, or error conditions before invoking a mutation.

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 86%, so the schema already documents most parameters, including the task_id null-vs-existing-task semantics and required host_ids. The description adds nothing beyond that baseline, which is acceptable given high coverage but earns no extra credit.

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

Purpose4/5

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

The description names a specific verb and resource: creating a virus scan task ([HSS] 创建病毒扫描任务). An agent can tell it is a create operation for antivirus scanning, though it offers no differentiation from close siblings such as hss__CreateVulnerabilityScanTask or hss__CreateGlobalAssetScanTask.

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 many sibling create-task tools, no prerequisites, and no note about when a re-scan (existing task_id) applies versus a fresh task. The only usable signal is the verb 'create'.

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