Skip to main content
Glama

workspace__ListPoliciesOfPolicyGroup

List policies in a specified Huawei Cloud Workspace policy group, optionally filtered by policy type, to inspect or audit policy assignments.

Instructions

[WORKSPACE] 查询指定策略组内的策略项。

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": {
      "policy_group_id": "<policy_group_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__ListPoliciesOfPolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_typeNo根据策略类型过滤结果,不传则查询所有策略。
policy_group_idYes策略组id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but only the word 'query' hints that this is a read-only listing. It does not disclose pagination behavior, result limits, permission requirements, or whether the returned list is flat or nested.

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 the resource scope stated immediately and zero filler. It is terse but well-structured; the [WORKSPACE] prefix usefully marks the product area.

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 three-parameter listing tool with no annotations and no output schema, the description omits the return shape (fields per policy item), pagination, and how filtering by policy_type affects results. The schema covers the inputs, but an agent still cannot predict the response.

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 all three parameters (project_id, policy_group_id, policy_type) are already documented in the schema, including that policy_type acts as an optional filter. The description adds no meaning beyond that, so the baseline of 3 applies.

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 specific verb+resource pair: querying policy items scoped to a given policy group, which is clearer than a bare name restatement. However, it offers no differentiation from very similar siblings such as workspaceapp__ListPolicyOfPolicyGroup or workspace__ListTargetOfPolicyGroup, leaving the agent to infer which one applies.

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 alternatives, nor any stated preconditions. The only implied usage is 'when you want the policies of a group', which the name already conveys.

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