Skip to main content
Glama

hss__ExportVuls

Exports Huawei Cloud HSS vulnerability records and the hosts they affect, with filters for vulnerability, host, status, and project, so you can review or report exposure.

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

Input Schema

NameRequiredDescriptionDefault
typeNo漏洞类型,包含如下:
limitNolimit
cve_idNo漏洞编号
offsetNo偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
statusNo漏洞状态
vul_idNo漏洞ID
host_idNo主机id,导出单台主机漏洞时会用到
categoryYes导出漏洞数据类别:
vul_nameNo漏洞名称
group_nameNo服务器组名称
label_listNo漏洞标签
project_idYes项目ID
asset_valueNo资产重要性
export_sizeYes导出数据条数
vul_id_listNo指定导出的漏洞id列表
host_id_listNo指定导出的主机id列表
handle_statusNo处置状态,包含如下:unhandled
export_headersNo导出漏洞数据的表头信息列表
repair_priorityNo修复优先级
enterprise_project_idNo主机所属的企业项目ID。0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations at all, the description carries the full disclosure burden, yet it says nothing about whether the export is asynchronous (the presence of ListQueryExportTask/ShowLatestExportTaskByType siblings strongly suggests a task-based flow), what format the output takes, or what happens at the export_size ceiling. It only states the export subject and stops there.

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?

It is a single short sentence with zero filler and the verb is front-loaded. The terseness is a completeness problem rather than a structure problem.

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 20-parameter export tool with no annotations and no output schema, one sentence is far too thin. The agent gets no information about the asynchronous export workflow, the resulting file/format, or the relationship between the many filter parameters and the export scope.

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 all 20 parameters, including the three required ones (category, export_size, project_id), are already documented in the schema. The description adds no extra meaning such as format hints or how filters interact, so the baseline 3 applies.

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 names a specific verb (导出/export) and resource (漏洞 and the hosts they affect), so the broad intent is clear. However, '相关信息' (related information) is vague about what is actually produced, and it never distinguishes itself from the sibling hss__ListHostVuls, which lists vulnerabilities without exporting them.

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 export versus when to list via hss__ListHostVuls, nor any mention of prerequisites such as the required project_id or the export_size limit. The agent must infer the entire usage context from the schema.

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