Skip to main content
Glama

workspace__ChangeUserPrivilegeGroup

Modify user privilege groups in bulk for specified Workspace desktops; assign users or groups and apply a fallback privilege group when per-desktop details are omitted.

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

Input Schema

NameRequiredDescriptionDefault
desktopsYes桌面信息列表。
project_idYes项目ID。
user_privilege_groupNo桌面用户所属的用户权限组。desktops参数中,各个桌面所属的未传的桌面用户将应用该权限组。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, and it discloses almost nothing. For a bulk mutation affecting up to 1000 desktops it says nothing about required permissions, whether existing assignments are replaced or merged, partial-failure behavior, or reversibility. The fallback rule that unlisted desktops inherit the top-level user_privilege_group is documented only in the schema, not surfaced here.

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?

The single sentence is front-loaded and free of filler, so nothing needs trimming. However, for a tool with deeply nested parameters and batch limits, one sentence is undersized rather than appropriately sized, leaving the definition under-structured.

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?

The tool is complex (nested arrays, up to 1000 desktops and 500 attachment entries each), has no annotations and no output schema. With only a one-line description, an agent cannot tell the blast radius, the replacement semantics, or the result shape; only the input schema itself provides any grounding.

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 fields (desktop_id, attach_user_infos, type, user_name, user_privilege_group) are all documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema, but it also does not mislead about parameters.

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 gives a verb+resource ("批量修改用户权限组" / batch modify user privilege groups), but it is ambiguous about what is actually being modified: the schema shows this tool assigns a privilege group to users/groups attached to desktops, not editing the privilege group itself. Sibling tools such as workspace__UpdateUserGroup and workspace__CreateUserGroup make that distinction critical, and the description does nothing to separate them.

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 guidance, no prerequisite or permission context, and no mention of alternatives. The agent must infer from the schema alone that this is the bulk-assignment path versus the privilege-group-management siblings.

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