Skip to main content
Glama

workspace__ListTargetOfPolicyGroup

List the objects a specified policy group applies to, with optional filtering by target name or type and pagination to review 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__ListTargetOfPolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页数量。范围0-1000。
offsetNo偏移量。
project_idYes项目ID。
target_nameNo对象名称,支持模糊查询。
target_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 provided, so the description carries the full burden, and it discloses almost nothing beyond the verb: nothing about read-only nature, permission requirements, pagination behavior for the limit/offset pair, or what the response contains. Only the word 'query' implies a non-mutating operation, which is minimal disclosure for a six-parameter listing tool.

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 sentence with no wasted words and the resource front-loaded. The '[WORKSPACE]' tag is a minor overhead but aids scoping, and brevity is not achieved at the cost of clarity here.

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 six-parameter paginated listing tool with no annotations and no output schema, the description should at least note that results are paginated and what is returned. It omits both, leaving the agent to discover pagination and response shape from the schema alone.

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 every parameter (limit, offset, project_id, target_name, target_type, policy_group_id) is documented in the schema including the fuzzy-match behavior of target_name. The description adds no parameter meaning beyond the schema, 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 and resource: it queries the objects a given policy group is applied to, which is distinguishable from siblings that list policies of a group (ListPoliciesOfPolicyGroup) or list policy groups themselves. It is clear but does not explicitly differentiate itself from the similar workspaceapp__ListTargetsOfPolicyGroup.

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?

The description gives no when-to-use guidance, no prerequisites (e.g. that project_id and policy_group_id must identify an existing group), and no mention of alternatives or exclusions. The agent must infer usage entirely from the name.

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