Skip to main content
Glama

workspace__BatchUpdateTargetOfPolicyGroup

Add or remove application objects in bulk from a specified policy group, including users, desktops, OUs, and client IPs.

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

Input Schema

NameRequiredDescriptionDefault
addNo添加应用。
deleteNo删除应用。
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 provided, so the description carries the full behavioral burden, yet it only says that the operation is a batch mutation. It does not disclose permission or authorization requirements, whether the add and delete lists are applied atomically or can partially fail, whether deletion is irreversible, or what the limits are (the 5000-element cap appears only in the schema).

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 definition is a single compact sentence with no filler. However, it is so terse that important operational caveats are omitted rather than merely trimmed.

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?

For a tool with 4 parameters, nested arrays, required policy_group_id/project_id, and no output schema, the definition states the basic action but leaves the mutation's behavior (atomicity, failure semantics, permissions) unaddressed. An agent could invoke it, but not confidently predict the result.

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 every parameter, including target_id/name/type for both add and delete arrays, is already documented with constraints and enum values. The description adds only the framing that the objects are 应用对象 within a policy group, which is marginal over the schema.

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 verb pair (batch add/delete 批量增加、删除) and a specific resource (应用对象 targets) scoped to a named parent (指定策略组). This tells an agent exactly what the tool does, but it does not distinguish it from sibling mutation tools such as workspace__UpdateAccessPolicyObjects or workspace__UpdatePoliciesOfPolicyGroup.

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 preconditions, and no alternatives. It does not explain when to call this instead of UpdatePolicyGroup or the List... variants, or whether use this only after listing existing targets.

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