Skip to main content
Glama

hss__ListVulScanTaskHost

Retrieve the hosts linked to a specified HSS vulnerability scan task, with pagination and optional filtering by host scan status or enterprise 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>",
      "task_id": "<task_id>"
    },
    "name": "hss__ListVulScanTaskHost"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示个数
offsetNo偏移量:指定返回记录的开始位置
task_idYes任务ID
project_idYes项目ID
scan_statusNo主机的扫描状态,包含如下:
enterprise_project_idNo主机所属的企业项目ID。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 burden, and it discloses almost nothing: it does not say the result is paginated (despite limit/offset in the schema), what fields each host entry contains, whether it requires the task to be finished, or what happens for an unknown task_id. '查询' implies a read, but the reader is inferring rather than being told.

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 compact sentence with the resource front-loaded and no filler. It is efficient, though the brevity is partly under-specification rather than disciplined conciseness.

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 six parameters, no annotations, and no output schema, the definition should explain pagination behavior, what a host record looks like, and how the scan_status filter behaves. None of that is present, so an agent can form the call but not anticipate the response.

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%, with every parameter already documented in the schema (including limit/offset defaults and bounds and the scan_status filter). The description adds no additional meaning, such as how scan_status values combine or whether enterprise_project_id filters the host set, so the baseline 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?

The description gives a specific verb ('查询' / query) and a specific resource ('漏洞扫描任务对应的主机列表' — the host list for a vulnerability scan task). That is enough to separate it from hss__ListVulScanTask (which lists tasks themselves), but it never explicitly names that sibling, so a reader has to infer the boundary from the noun phrase.

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?

The text states only what the tool does, with no when-to-use, when-not-to-use, or alternative guidance. With nearby siblings like hss__ListVulHosts and hss__ListVulScanTask, a reader is left to guess whether this is the right entry point for 'hosts in a scan task' versus 'vulnerable hosts'.

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