Skip to main content
Glama

hss__ShowImageCheckRuleDetail

Fetches the detection report for a specified image configuration check rule, so you can review baseline compliance findings for an image.

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>",
      "check_rule_id": "<check_rule_id>",
      "check_type": "<check_type>",
      "image_type": "<image_type>",
      "project_id": "<project_id>",
      "standard": "<standard>"
    },
    "name": "hss__ShowImageCheckRuleDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_idNo镜像id
standardYes标准类型,包含如下:
namespaceNo组织名称(没有镜像相关信息时,表示查询所有镜像)
check_nameYes基线名称
check_typeYes基线类型
image_nameNo镜像名称
image_typeYes镜像类型,包含如下:
project_idYes项目ID
instance_idNo企业仓库实例ID,swr共享版无需使用该参数
check_rule_idYes检查项id
image_versionNo镜像版本名称
enterprise_project_idNo主机所属的企业项目ID。0

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 behavioral burden, yet it only says a report is queried. It does not confirm read-only semantics, describe what the report contains, whether a report must already exist, or how image/namespace scoping interacts with the result; a single phrase is thin for a 12-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?

It is a single front-loaded phrase with no wasted wording, but at this length it is under-specified rather than efficient. It does not separate the core purpose from the scoping detail that the many parameters imply.

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?

The tool has 12 parameters, 6 of which are required, no annotations, and no output schema. The schema handles parameter definitions, but the description provides nothing about the report's content, the preconditions for retrieving it, or the required project and standard context, so it is incomplete 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 every parameter, including check_rule_id, image_type, standard, and project_id, is already documented in the schema. The description adds no extra meaning about how these parameters combine, such as whether image_id is required for a meaningful report, 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 description states a verb and resource: querying an image configuration check-item detection report. It is specific enough to identify the general subject, but it does not explain how it differs from closely named siblings such as hss__ShowCheckRuleDetail or hss__ListImageRiskConfigRules, leaving the agent unsure which report-vs-rule tool to pick.

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 prerequisites, and no mention of alternatives. The agent must infer from the name alone that this returns a report for one check item rather than a list or a rule definition.

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