Skip to main content
Glama

workspace__UpdatePoliciesOfPolicyGroup

Updates selected or all policy items in a Workspace policy group by ID and project ID, enabling targeted changes to desktop security, session, and peripheral settings without replacing the group.

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__UpdatePoliciesOfPolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
policiesNo策略。
project_idYes项目ID。
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. It does not disclose permissions required, whether omitted policy fields are preserved or reset, whether this is destructive, or what the response looks like. The phrase 部分或者所有 hints at partial updates but does not resolve the critical merge 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?

The description is a single front-loaded sentence with no wasted words. Its brevity is appropriate structurally, though it leaves important behavioral details unstated for a complex mutation tool.

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?

This is a complex mutation tool with a very large nested schema, no annotations, and no output schema. A single sentence stating that policy items are modified is not enough to convey partial-update behavior, required permissions, or the effect on omitted fields.

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 the nested policy schema documents parameters in detail. The description adds only a high-level hint that the policies object may be partially or fully specified; it does not explain project_id, policy_group_id, or the structure of the nested policy object beyond what the schema already provides.

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 (策略组), and clarifies that some or all policy items can be changed. This is enough to distinguish the operation from read-only siblings such as ListPoliciesOfPolicyGroup, but it does not explicitly contrast with UpdatePolicyGroup or other update tools.

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 explicit when-to-use guidance, no prerequisites, and no mention of alternatives such as UpdatePolicyGroup or ListPoliciesOfPolicyGroup. The update intent is only implied by the verb 修改.

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