Skip to main content
Glama

hss__ListRaspPolicies

Lists HSS protection policies with their names, detection rules, and associated server counts. Filter by OS type, policy name, or enterprise project to review policy coverage.

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

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示个数,默认10
offsetNo偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
os_typeNo操作系统类型,包含如下2种。
project_idYes租户项目ID
policy_nameNo策略名称
enterprise_project_idNo企业项目ID,查询所有企业项目时填写:all_granted_eps0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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 usefully states the payload contents (name, detection rules, server count) for a tool with no output schema, but says nothing about pagination behavior, permission requirements, or scope (tenant/project), which matters given the project_id and enterprise_project_id parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the [HSS] tag, action, and returned fields front-loaded. Every phrase earns its place with no redundancy.

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

Completeness4/5

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

For a six-parameter read-only listing tool with a fully documented schema and stated return contents, the definition is close to complete. The remaining gap is the absence of any hint about filtering combinations or pagination expectations, though the schema mitigates much of that.

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 the schema already documents limit, offset, os_type, policy_name, project_id and enterprise_project_id with defaults, ranges, and patterns. The description adds no filtering semantics (e.g., that policy_name narrows results or os_type restricts by platform), so the baseline of 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?

States a specific verb and resource ('查询防护策略列表' – query protection policy list) and even names the fields returned: policy name, detection rules, and associated server count. It does not distinguish itself from siblings like hss__ShowRaspPolicyDetail or the generic hss__ListPolicies, so it stops short of a 5.

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 description contains no when-to-use guidance, no mention of alternatives such as ShowRaspPolicyDetail for a single policy, and no prerequisites. Usage is only implied by the tool name and the word 'list'.

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