Skip to main content
Glama

hss__ListImageLocal

Query local container images and their host, pod, and container associations, with filters for vulnerabilities, scan status, image name/version, size, and update/scan times.

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__ListImageLocal"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
pod_idNo本地镜像所关联Pod的ID
has_vulNo是否存在软件漏洞
host_idNo本地镜像所关联服务器的ID
host_ipNo本地镜像所关联服务器的IP(公网或私网)
app_nameNo本地镜像所关联软件的名称
pod_nameNo本地镜像所关联Pod的名称
host_nameNo本地镜像所关联服务器的名称
image_nameNo镜像名称
image_sizeNo镜像大小,单位字节
project_idYes项目ID
scan_statusNo扫描状态,包含如下:
container_idNo本地镜像所关联容器的ID
image_versionNo镜像版本
container_nameNo本地镜像所关联容器的名称
local_image_typeNo镜像类型,包含如下:
end_latest_scan_timeNo最近一次扫描完成时间搜索结束日期,时间单位 毫秒(ms)
enterprise_project_idNo主机所属的企业项目ID。0
end_latest_update_timeNo最近更新时间搜索结束日期,时间单位 毫秒(ms)
start_latest_scan_timeNo最近一次扫描完成时间搜索开始日期,时间单位 毫秒(ms)
start_latest_update_timeNo最近更新时间搜索开始日期,时间单位 毫秒(ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 disclosure burden, and it discloses almost nothing: no pagination behavior, no default result ordering, no indication whether it returns metadata only or scan/vulnerability summaries, no permission requirements. Only the word 查询 implies a read-only listing, which is the bare minimum.

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?

It is a single short phrase with no wasted words, but that brevity comes from under-specification rather than disciplined editing; there is no structure, no leading verb in a full sentence, and nothing front-loaded beyond the resource name.

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 22-parameter query tool with no annotations and no output schema, the definition should at least explain what a record contains and how paging behaves. Neither is present, leaving the agent to reconstruct behavior from the schema alone.

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 22 parameters including limit/offset paging and the host/pod/image filters are already documented in the schema. The description adds no filter-combination semantics or hints about which parameters are commonly used, so the baseline of 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 phrase "本地镜像列表查询" identifies a list/query operation over local images, and the [HSS] prefix scopes it to the HSS product. However it gives no distinguishing detail against siblings like hss__ListImageVulnerabilities or hss__ListSwrImageRepository, so an agent cannot tell from the text alone which image-listing tool applies.

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 when-to-use guidance, no mention of prerequisites (project scope, host/pod association), and no reference to any alternative tool. The agent must infer usage entirely from the name and the 22-parameter 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