Skip to main content
Glama

hss__DeleteAntivirusPolicy

Deletes custom antivirus scan policies in Huawei Cloud HSS by policy ID, so you can remove obsolete or unwanted scan configurations from a project.

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>"
    },
    "name": "hss__DeleteAntivirusPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idsNo策略Id列表
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 says 'delete'. It does not disclose irreversibility, permission requirements, whether associated hosts or tasks are affected, or whether built-in policies can be removed. The word '自定义' hints that only custom policies qualify, which is the one scrap of behavior conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with zero wasted wording and the resource front-loaded. It is appropriately sized but so terse that nothing beyond the bare action is conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter destructive tool with a nested list, no annotations, and no output schema, the description is thin — it omits irreversibility and scope. The rich schema and 100% parameter coverage keep it from being inadequate, but key operator-facing context is missing.

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 parameters (policy_ids, project_id, enterprise_project_id) are already documented in the schema. The description adds no syntax, limit, or batching semantics beyond that baseline.

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 (删除/delete) and a specific resource (自定义查杀策略/custom antivirus scan policy), which distinguishes it from sibling delete tools like DeletePolicy or DeleteProtectionPolicy. It stops short of 5 because it does not explicitly contrast itself with those siblings.

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 alternatives such as ChangeAntivirusPolicy, DeletePolicy, or the cluster/container policy deletion siblings. No prerequisites, no note that only custom policies are eligible, and no exclusions are given.

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