Skip to main content
Glama

hss__ShowRaspPolicyDetail

Retrieves detection-rule and configuration details for a Huawei Cloud HSS RASP protection policy using policy, project, and enterprise project IDs.

Instructions

[HSS] 查询防护策略详情:查询防护策略配置的相关检测规则信息,包含14种检测规则

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": {
      "enterprise_project_id": "<enterprise_project_id>",
      "policy_id": "<policy_id>",
      "project_id": "<project_id>"
    },
    "name": "hss__ShowRaspPolicyDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYes策略ID
project_idYes项目ID
enterprise_project_idYes企业项目ID,查询所有企业项目时填写:all_granted_eps0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 burden; it does imply a read-only detail query and tells the agent the response contains 14 kinds of detection rule info, which is genuinely useful return context. However, it omits permission requirements, regional/enterprise-project scoping behavior beyond the schema default, and whether a not-found policy errors or returns empty.

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 compact sentence with the key scope (detection rule configuration, 14 rule types) front-loaded; there is no filler. The bracketed product prefix and the restatement of '防护策略' twice make it slightly redundant.

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 three-required-parameter read tool with full schema coverage and no output schema, the core is covered: what entity is fetched and what the payload contains. It still lacks guidance on prerequisites (policy must exist, project scoping), error behavior, and differentiation from the many sibling policy-detail tools.

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%, and each of the three required parameters carries its own description plus examples and patterns, so the baseline of 3 applies. The prose adds nothing about parameter meaning; notably the special value 'all_granted_eps' for enterprise_project_id is documented only in the schema, not reinforced in the description.

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 states a specific verb and resource: querying protection policy details, specifically the detection rule configuration, and notes it covers 14 detection rule types. That scope distinguishes it from list-type siblings such as hss__ListRaspPolicies, though it does not explicitly name an alternative to contrast with hss__ShowRaspServerDetail or other Show* detail tools.

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?

It gives no explicit when-to-use or when-not-to-use guidance and never mentions alternatives like ListRaspPolicies for enumeration versus this tool for a single policy's detail. The agent must infer from the name and the required IDs that a specific policy must already be known.

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