Skip to main content
Glama

hss__ListVulHosts

Lists cloud servers affected by a specified vulnerability, with filters for host, severity, status, and project to identify remediation targets.

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>",
      "type": "<type>",
      "vul_id": "<vul_id>"
    },
    "name": "hss__ListVulHosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes漏洞类型
limitNo每页条数
offsetNo偏移量:指定返回记录的开始位置
statusNo漏洞状态
vul_idYes漏洞ID
host_ipNo受影响主机ip
host_nameNo受影响主机名称
group_nameNo服务器组名称
project_idYes项目ID
asset_valueNo资产重要性
handle_statusNo处置状态,包含如下:
severity_levelNo危险程度 ,Critical,High,Medium,Low
repair_priorityNo修复优先级,包含如下
is_affect_businessNo是否影响业务
enterprise_project_idNo主机所属的企业项目ID。

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 entire behavioral burden, yet it only states that it queries affected hosts. It does not say the call is read-only, whether results are paginated (the limit/offset params imply it), what the default page size is, or what permissions are required.

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 front-loaded sentence with no wasted clauses, and it puts the resource and scope first. The '[HSS]' prefix is mild filler and the brevity sits close to under-specification, but structurally it is clean.

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?

With 15 parameters, no annotations, and no output schema, one short sentence is not enough: an agent gets no sense of result shape, ordering, paging behavior, or how filters combine. The description does not cover enough for a tool of this complexity.

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 15 parameters, including limit/offset, severity_level, and handle_status, are already documented in the schema. The description adds no filtering syntax, default behavior, or interpretation guidance beyond that, so the baseline of 3 applies.

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?

Names a specific verb (查询/query) plus resource (云服务器/cloud servers) and scope (单个漏洞影响/affected by a single vulnerability), so the agent can tell it returns hosts, not vulnerabilities or scan tasks. It stops short of naming a sibling to contrast with, but the affected-by-one-vuln framing narrows it well enough.

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 choose this over siblings such as ListVulScanTaskHost or ListRiskConfigHosts, and no prerequisites (permissions, project scoping) are stated. The only implied usage is 'when you have a vul_id and want hosts', which the agent must infer.

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