Skip to main content
Glama

hss__ListPolicies

Retrieves a paginated list of host policies for a specified agent in Huawei Cloud Host Security Service, helping you audit policy assignments and configuration.

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": {
      "agent_id": "<agent_id>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "hss__ListPolicies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数
offsetYes偏移量:指定返回记录的开始位置
agent_idYesagent ID
project_idYes**参数解释**:
enterprise_project_idNo**参数解释**:0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about read-only semantics, permission requirements, or pagination behavior. The verb '查询' weakly implies a safe read, but nothing about the required agent_id/project_id scope or how results are paged is disclosed. For a tool with zero annotation coverage, this is a substantial gap.

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

Conciseness3/5

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

The single bracketed sentence is front-loaded and free of filler, but its brevity reflects under-specification rather than disciplined conciseness. There is no structural layering of purpose, scope, or paging information.

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 five parameters (four required), no annotations, and no output schema, the definition should explain the required scoping identifiers and the paginated return behavior. It provides none of that, leaving the agent to rely entirely on the schema for a non-trivial list operation.

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 all five parameters, which sets the baseline at 3. The description adds no additional meaning about how agent_id, project_id, or the limit/offset pagination should be used, so it neither helps nor hurts beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and resource ('查询主机策略列表' – query host policy list), so the agent knows it is a list operation over host policies. However, it does not distinguish this from closely related siblings such as hss__ListRaspPolicies or hss__ListSecurityGroupPolicies, which are also policy listings under the same service. The purpose is understandable but not scoped.

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 the other HSS policy-listing tools, no prerequisites, and no exclusions. The agent must infer usage purely from the tool name and the one-line description.

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