Skip to main content
Glama

hss__CreateAntiVirusPolicy

Create a custom HSS antivirus scan policy with target hosts, file types, scan schedule, excluded directories, and response actions for automated threat checks.

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>",
      "file_types": "<file_types>",
      "host_ids": "<host_ids>",
      "policy_name": "<policy_name>",
      "project_id": "<project_id>",
      "start_type": "<start_type>",
      "whether_paid_task": "<whether_paid_task>"
    },
    "name": "hss__CreateAntiVirusPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes处置动作,包含如下:
task_idNo任务ID
host_idsYes策略管理主机列表
scan_dirNo扫描目录,多个用;分隔
scan_hourNo扫描小时数(仅启动类型为period时有值)
scan_timeNo扫描时间戳,毫秒(仅启动类型为later时有值)
file_typesYes文件类型集合型,包含如下:
ignore_dirNo排除目录,多个用;分隔
project_idYes**参数解释**:
start_typeYes启动类型,包含如下:
policy_nameYes策略名称
scan_minuteNo扫描分钟数(仅启动类型为period时有值)
scan_periodNo启动类型,包含如下:
timezone_offsetNo时区偏移量(仅启动类型为period时有值,单位:分钟)
scan_period_dateNo扫描周期日期(1-28;扫描周期为week时,1-7代表周日至周六;扫描周期为month时,1-28代表每月1日到28日)
whether_paid_taskYes此次扫描任务是否付费
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 provided, so the description carries the full behavioral burden for a mutation tool with 17 parameters, 7 of them required. It discloses nothing beyond the act of creation: not that a paid-scan flag (whether_paid_task) gates the operation, not the schedule semantics of start_type, not whether the call is idempotent or what happens on duplicate policy names.

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?

A single short phrase with no wasted words and the resource is front-loaded, but it is under-specified rather than concise for a tool of this complexity. Nothing in the sentence is unnecessary; there is simply too little of it.

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 17-parameter, 7-required creation tool with no annotations and no output schema, the description should at minimum explain the scheduling model and the paid-task flag. The rich schema partly compensates, but an agent still lacks the behavioral context needed to call this confidently.

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 itself documents all 17 parameters including enum-like values for action, start_type, and scan_period. The description adds no parameter meaning beyond that, which is the baseline-3 case when the schema does the heavy lifting.

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 states a specific verb and resource in '创建自定义查杀策略' (create custom antivirus scan policy), which tells an agent exactly what operation is performed and that the result is a user-defined policy. It does not distinguish this from siblings such as hss__CreateAntiVirusTask or hss__ChangeAntivirusPolicy, so it stops short of a 5.

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 hss__CreateAntiVirusTask (run a scan now) or hss__ChangeAntivirusPolicy (modify an existing one). The agent must infer the distinction from the name alone, and no prerequisites or exclusions are stated.

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