Skip to main content
Glama

hss__ListImageRiskConfigRules

Retrieves the list of check rules for a specified image security configuration baseline, letting you filter by image, severity, standard, and result type.

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": {
      "check_name": "<check_name>",
      "image_type": "<image_type>",
      "project_id": "<project_id>",
      "standard": "<standard>"
    },
    "name": "hss__ListImageRiskConfigRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示数量
offsetNo偏移量:指定返回记录的开始位置
image_idNo镜像id
severityNo风险等级,包含如下:
standardYes标准类型,包含如下:
namespaceNo组织名称(没有镜像相关信息时,表示查询所有镜像)
check_nameYes基线名称
image_nameNo镜像名称
image_typeYes镜像类型,包含如下:
project_idYes项目ID
instance_idNo企业仓库实例ID,swr共享版无需使用该参数
result_typeNo结果类型,包含如下:unhandled
image_versionNo镜像版本名称
check_rule_nameNo检查项名称,支持模糊匹配
enterprise_project_idNo主机所属的企业项目ID。0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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, and it discloses almost nothing beyond the fact that it is a query. It does not state permission/scope requirements, that results are paginated (limit/offset exist only in the schema), what happens when image identifiers are omitted, or what the response contains.

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 front-loaded sentence with no redundant filler or repetition of the tool name. Its brevity is efficient, though the terseness leaves the definition thin for a 15-parameter tool.

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, 4 required, no annotations, and no output schema, the definition should explain result shape, pagination, and the meaning of key filters (namespace, check_name, image_type). A one-line purpose statement leaves the agent without the context needed to call such a parameter-rich listing tool confidently.

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% across all 15 parameters, so the schema already defines every field including limit, offset, severity, standard, and the optional image identifiers. The description adds no meaning beyond the schema, which matches the baseline 3 for high-coverage schemas.

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+resource: querying the check-item (rule) list for a specified security configuration/baseline applied to images, which is more precise than the bare tool name. It does not explicitly contrast itself with near-siblings such as hss__ListRiskConfigCheckRules or hss__ListImageRiskConfigs, so the 'image'-scoped distinction must be inferred from the wording.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase '查询镜像指定安全配置项的检查项列表' tells an agent this is for enumerating rules under a given image baseline check. There is no explicit when-to-use, when-not-to-use, or named alternative to steer the agent between this and the non-image rule-listing siblings.

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