Skip to main content
Glama

hss__ChangeCheckRuleAction

Apply ignore, unignore, fix, or verify actions to failed HSS configuration check items for a specified project.

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": {
      "action": "<action>",
      "project_id": "<project_id>"
    },
    "name": "hss__ChangeCheckRuleAction"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes动作ignore
host_idNo主机ID,不赋值时,查租户所有主机
check_cceNo是否校验cce
project_idYes项目ID
check_rulesNo检查项ID列表
enterprise_project_idNo主机所属的企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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, yet it says nothing about permissions required, whether fix operations are irreversible, what happens on partial batch failure, or that fix requires fix_values while ignore/verify do not. The only behavioral hint is that operations target failing items, which is thin for a batch mutation tool.

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 front-loaded sentence with a bracketed product tag and zero filler. It is efficient, though the terseness leaves no room for the prerequisite or return-value clarifications an agent would want.

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

Completeness3/5

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

For a 6-parameter tool with a nested check_rules array of up to 10000 items and no output schema, the definition is only adequate. The schema does carry the pointer to the endpoint that produces check_rule_id, which offsets some of the gap, but the description never explains batch semantics or the fix_values requirement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds real value: the schema's action parameter is documented only as '动作' with no enum, and the description effectively supplies the action vocabulary (ignore/unignore/fix/verify). It still does not explain the interaction between action=fix and the fix_values array.

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 specific resource (failed configuration check items, 未通过的配置检查项) and four concrete actions (ignore/unignore/fix/verify), which is far more informative than the tool name alone. It does not explicitly contrast itself with read-only siblings such as ShowCheckRuleDetail or ListRiskConfigCheckRules, so sibling differentiation is left implicit.

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 implied by the qualifier 'failed' check items — the tool is clearly meant to act on results after a scan — but there is no explicit when-to-use/when-not guidance, no statement that check_rule_id must first be retrieved from another endpoint, and no note on which action values are valid in which situations.

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