Skip to main content
Glama

hss__ListProtectionPolicy

Retrieve ransomware protection policies from Huawei Cloud HSS, filtered by project, policy name, operating system, or policy ID, to review endpoint defense settings.

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

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示个数
offsetNo偏移量:指定返回记录的开始位置
project_idYes项目ID
policy_nameNo防护策略名称
operating_systemNo策略支持的操作系统,包含如下:
protect_policy_idNo防护策略id
enterprise_project_idNo主机所属的企业项目ID。0

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, yet it only implies a read operation via '查询'/'List'. It says nothing about pagination defaults, result ordering, permission requirements, or whether the list is scoped to a project or enterprise project — all of which matter for a 7-parameter list endpoint.

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 no filler or redundancy, prefixed by the '[HSS]' service tag. It is not verbose, though its brevity reflects under-specification rather than disciplined editing.

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?

For a 7-parameter list tool with no annotations and no output schema, the definition omits what an agent needs to invoke it well: whether filters combine as AND, how paging behaves, what the response contains, and how it differs from the many sibling policy-listing tools. The one-line description is inadequate at this complexity level.

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 (limit, offset, project_id, policy_name, operating_system, protect_policy_id, enterprise_project_id) is already documented in the schema. The description adds no filtering or paging semantics beyond that, which matches the baseline 3 when the schema does the heavy lifting.

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 gives a specific verb ('查询' / list) and a specific resource ('勒索病毒的防护策略列表' – ransomware protection policy list), which distinguishes it from the cluster-protection and antivirus-policy siblings. It stops short of naming or contrasting any sibling explicitly, so it is clear but not maximally disambiguating.

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 guidance on when to use this tool versus hss__ListClusterProtectionPolicy, hss__ListAntiVirusPolicy, or the various Detail/Add/Update/Delete policy tools. It also gives no preconditions (e.g., project must exist, whether paging is required). It is purely a statement of what the tool returns.

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