Skip to main content
Glama

workspaceapp__CreatePolicyGroup

Creates a WorkspaceApp policy group to control client access and redirection policies such as files, clipboard, sessions, peripherals, and bandwidth.

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": "<policy_group>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__CreatePolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_groupYes策略组信息。

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 of behavioral disclosure. It states that a policy group is added but does not disclose side effects, permission requirements, idempotency, duplicate-name behavior, or what the call returns.

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?

The description is a single sentence, front-loaded with the verb and resource. The '[WORKSPACEAPP]' prefix and the phrase '灵活地控制' are slightly promotional but do not waste significant space.

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?

Given the very rich nested schema, the description is adequate for understanding the tool's purpose. However, for a create tool with no annotations and no output schema, it lacks behavioral context such as return values or permissions, and offers no usage guidance.

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 both parameters are fully documented in the input schema. The description adds no additional meaning about parameter syntax, constraints, or required fields beyond naming the resource and giving examples of policy areas.

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 names a specific action (新增, create) and resource (策略组, policy group), and explains the resource's role in controlling client access policies such as files, clipboard, and sessions. It does not explicitly differentiate itself from sibling create tools like CreatePolicyTemplate, but the action and resource are clear.

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 provides no guidance on when to use this tool versus UpdatePolicyGroup or other create tools, and does not mention prerequisites such as permissions or project context. The purpose statement explains what policy groups do, but that is context rather than usage guidance.

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