Skip to main content
Glama

hss__ListImageVulnerabilities

Query vulnerability details for a container image by image ID, name, type, namespace, project, and tag. Use it to review HSS scan findings, filter by type or repair necessity, and guide remediation.

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": {
      "image_id": "<image_id>",
      "image_name": "<image_name>",
      "image_type": "<image_type>",
      "namespace": "<namespace>",
      "project_id": "<project_id>",
      "tag_name": "<tag_name>"
    },
    "name": "hss__ListImageVulnerabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo漏洞类型,包含如下:
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
vul_idNo漏洞ID(支持模糊查询)
app_nameNo软件名
image_idYes镜像id
tag_nameYes镜像版本
namespaceYes组织名称
image_nameYes镜像名称
image_typeYes镜像类型,包含如下:
project_idYes项目ID
instance_idNo企业仓库实例ID,swr共享版无需使用该参数
repair_necessityNo危险程度,包含如下3种。
enterprise_project_idNo主机所属的企业项目ID。0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 discloses almost nothing. "查询" implies a read-only operation, but there is no mention of pagination behavior despite limit/offset, no permission or scope requirements, and no hint at the shape or volume of results for a 14-parameter tool.

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?

The single sentence is front-loaded and contains zero filler, which is structurally clean. But its brevity reflects under-specification rather than discipline: for a 14-parameter listing tool it is too thin to earn the space it occupies.

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

Completeness1/5

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

With 14 parameters, 6 of them required, no annotations, and no output schema, the description should explain scope, required key combinations, and result behavior. Instead it provides one short phrase, leaving the agent unable to call this tool correctly without reading the entire schema.

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 every parameter already carries its own inline documentation and the baseline is 3. The description adds no parameter meaning beyond the schema — it does not explain required combinations like image_id plus tag_name, nor the SWR-shared-version caveat on instance_id.

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?

"[HSS] 查询镜像的漏洞信息" states a specific verb (query) and resource (image vulnerability information), so the basic purpose is legible. However, it offers no differentiation from siblings such as hss__ListVulnerabilities or hss__ListImageRiskConfigs, leaving the agent to guess which listing tool covers image-level CVEs versus host-level vulnerabilities.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 (e.g. image must exist in SWR), and no mention of when to prefer an alternative such as hss__ListVulnerabilities or hss__ListImageRiskConfigs. The agent must infer the selection rule entirely from the name.

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