Skip to main content
Glama

workspace__CreatePolicyGroup

Creates a Workspace policy group that applies desktop, user, and session policies to targets in a Huawei Cloud project. Use it to define access, peripheral, and audit controls for managed workspaces.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 burden, and it discloses nothing beyond the implied write. It says nothing about required permissions, whether creation is reversible, what happens if the name collides, or the 5000-target ceiling; only the verb 'add' hints at mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short front-loaded sentence with zero padding, but the brevity is under-specification rather than disciplined concision. There is no structure to speak of because there is essentially one clause.

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

Completeness1/5

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

The tool takes an enormous nested policy-group object with audio, display, session, peripheral and audit sub-trees, has no annotations and no output schema, yet the description conveys nothing about what creation entails or what is returned. For a mutation of this complexity the one-line description is wholly inadequate.

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 the nested policy tree is heavily self-documented, so the schema does the heavy lifting. The description contributes no additional meaning for project_id or the policy_group object beyond what the schema already states, which is the baseline expectation at full coverage.

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 "[WORKSPACE] 新增策略组" does state a verb (create/add) plus the resource (policy group), which lets an agent distinguish it from UpdatePolicyGroup, DeletePolicyGroup and ListPolicyGroup siblings. However, it stops at the bare name restatement and adds no scope, no target domain, and no explicit sibling contrast; the '[WORKSPACE]' prefix only marks the service family.

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 or when-not-to-use guidance, no mention of prerequisites such as whether the project must exist or whether a group name must be unique. An agent must infer from the sibling names alone that this is the creation path rather than the update path.

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