Skip to main content
Glama

hss__ListRiskConfigCheckRules

Lists risk configuration check rules for a specified security baseline check, enabling filtering by host, severity, result type, and pagination.

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>",
      "project_id": "<project_id>",
      "standard": "<standard>"
    },
    "name": "hss__ListRiskConfigCheckRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页数量
offsetNo偏移量:指定返回记录的开始位置
host_idNo主机ID,不赋值时,查租户所有主机
severityNo风险等级,包含如下:
standardYes标准类型,包含如下:
check_nameYes配置检查(基线)的名称,例如SSH、CentOS 7、Windows
project_idYes项目ID
result_typeNo结果类型,包含如下:unhandled
check_rule_nameNo检查项(检查规则)名称,支持模糊匹配
enterprise_project_idNo主机所属的企业项目ID。

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 disclosure burden. It never states that the operation is read-only, how pagination behaves (defaults limit=10/offset=0, cap 200), or that host_id and enterprise_project_id narrow scope to one host or tenant-wide when omitted — all of which the schema hints at but the description ignores.

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 short, front-loaded sentence with zero padding and no repetition of the tool name. It is efficient, though the brevity borders on under-specification for a 10-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 10 parameters, 3 required, no annotations, and no output schema, the description should explain filtering semantics, pagination defaults, and scope behavior (tenant-wide vs single host). It covers only the bare purpose, so an agent must reconstruct everything else 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% across all 10 parameters, so the schema already explains limit, offset, host_id, severity, standard, result_type, and check_rule_name. The description adds nothing beyond the schema — not even clarifying that check_name is the path-scoped baseline selector it implicitly references. 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 names a concrete verb (查询/list) and resource (检查项列表, check-rule list) scoped to a specific 安全配置项, so an agent knows it returns rules belonging to one baseline check name. It does not distinguish itself from near siblings such as ListImageRiskConfigRules or ListCheckFeatureRule, leaving scoping ambiguity between host-level and image-level variants.

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 single clause implies usage (list rules under a named config item) but never states when to choose this tool over a sibling, nor any precondition such as needing a project_id or standard type first. No exclusions or alternative routing are provided.

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