Skip to main content
Glama

workspaceapp__ListPolicyTemplate

Lists policy template summaries, including policy and application object details, so you can review existing templates and adjust configurations to create policy groups.

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询的数量,值区间[1-100]。
offsetNo查询的偏移量。
project_idYes项目ID。
policy_group_nameNo根据策略模板名字过滤结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/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. It usefully discloses that the return is summary-level ('概要信息列表') including policy and applied-object info, which is meaningful since there is no output schema. However, it omits pagination behavior, whether the result is read-only by nature, and any filtering/total-count semantics.

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?

Two sentences, front-loaded with the purpose and resource. The second sentence is motivational context rather than operational detail, but it is short and does reinforce the tool's role in the create-policy-group workflow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a straightforward list tool with 4 fully documented parameters and no output schema, the description covers purpose and return content adequately. The only gap is that pagination/result-size behavior is left entirely to the schema, but that is minor here.

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 four parameters (limit, offset, project_id, policy_group_name) are already documented in the schema. The description adds no syntax or format detail beyond what the schema provides, 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?

States a specific verb+resource: query the list of policy template summary information. It also clarifies the return content (policy info + applied object info) and distinguishes itself from the Create/Update/Delete siblings named in the catalog. It does not explicitly name a sibling alternative, so it sits below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides contextual usage: when users create a policy group, they can reference existing policy templates and adjust configurations. That implies when to use it, but it gives no explicit when-not guidance and never names a differentiated alternative such as ShowPolicyTemplate/detail listing.

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