Skip to main content
Glama

workspaceapp__ListPolicyOfPolicyGroup

Lists policy items contained in a specified policy group, optionally filtered by policy type. Use it to inspect which policies are assigned to that group.

Instructions

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

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": "workspaceapp__ListPolicyOfPolicyGroup"
  }
}

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.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 behavioral burden. The verb 查询 implies a read-only operation, but nothing is said about permissions required, pagination/result limits, whether an empty group returns an empty list or an error, or what the response contains.

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 resource and scope front-loaded and no filler. It is efficient, though it omits structure that would help with usage routing.

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 simple read-only list tool with a fully documented schema and no output schema, the definition is minimally adequate. It still lacks any statement of return shape or filtering behavior that an agent would want before calling it.

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 project_id, policy_group_id, and the optional policy_type filter are already documented in the schema. The description adds no extra meaning about parameter interaction (e.g., that omitting policy_type returns all policy types), so the baseline 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?

The description states a specific verb (查询/list) and resource (指定策略组内的策略项), so an agent knows it returns policy items scoped to a policy group. It does not distinguish itself from near-identical siblings such as ListTargetsOfPolicyGroup or ListPoliciesOfPolicyGroup, leaving the boundary implicit.

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 when-to-use guidance, no statement of when this tool is preferable to the sibling listing tools, and no prerequisites (e.g., needing an existing policy group id). The agent must infer the selection criteria from the name alone.

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