Skip to main content
Glama

hss__HandleAntiVirusResult

Process HSS antivirus scan results by applying handling actions, recording scan outcomes, and adding custom alert whitelist rules.

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": {
      "operate_type": "<operate_type>",
      "project_id": "<project_id>"
    },
    "name": "hss__HandleAntiVirusResult"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNo备注信息
project_idYes**参数解释**:
operate_typeYes处理方式,包含如下:
operate_resultsNo处置的结果列表
event_white_rulesNo新增告警白名单规则列表
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/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 and delivers nothing. It does not disclose that this is a state-mutating operation, what happens to the underlying scan result or file, whether actions are reversible, what permissions are required, or what the response contains. Only the word 处置 hints at mutation.

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 a single short phrase with zero padding, which is technically concise, but the brevity is achieved by omission rather than by precision. There is no structure to front-load because there is almost no content.

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 mutating tool with six parameters, deep nested objects (up to 100 results and 100 whitelist rules), no annotations, and no output schema, a nine-character description is far from adequate. The schema compensates for parameter documentation, but nothing explains the effect, safety profile, or expected outcome of the operation.

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 heavily nested structure (operate_type, operate_results, event_white_rules, enterprise_project_id, memo) is documented in the schema itself. The description adds no meaning beyond that; baseline 3 applies when the schema does all the work.

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

Purpose2/5

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

The description is essentially a Chinese restatement of the tool name: 'handle/dispose of virus scan results'. The verb 处置 is ambiguous (ignore? quarantine? delete? whitelist?) and the description does nothing to disambiguate it or distinguish this tool from siblings such as ListAntiVirusResult or ListAntivirusHandleHistory. This is close to tautology rather than a specific verb+resource statement.

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 prerequisites, and no mention of alternatives. An agent cannot tell from the description whether this should be called after ListAntiVirusResult, what operate_type values are appropriate, or when to prefer a different tool in the HSS antivirus family.

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