Skip to main content
Glama

workspace__RunActionsOnGroup

Add or delete users in Huawei Cloud Workspace desktop user groups by providing the project, group ID, operation type, and user IDs.

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": {
      "group_id": "<group_id>",
      "op_type": "<op_type>",
      "project_id": "<project_id>",
      "user_ids": "<user_ids>"
    },
    "name": "workspace__RunActionsOnGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
op_typeYes操作类型。
group_idYes桌面用户组ID。
user_idsYes要添加或移除的用户Id列表。
project_idYes项目id。

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 is responsible for the whole behavioral profile. It implies a mutation but says nothing about what permissions are required, whether adding an existing member is idempotent or errors, whether removing a user from a group affects their privileges, or whether the operation is reversible. That is a real gap for a write tool with zero annotation coverage.

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 description is a single short sentence, so it is front-loaded and free of filler. Its brevity costs it specificity: the examples are given in place of actual scope or behavior. It is efficiently written but under-informative.

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 4-required-parameter write tool with no annotations and no output schema, so the description must carry the burden of behavioral context. It does not cover the required project_id scoping, the effect of the operation on group membership, error behavior, or return values. That is insufficient for a mutation tool of this shape.

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 schema documents op_type, group_id, user_ids, and project_id already; the baseline is 3. The description names add/remove as the two operations, consistent with the ADD/DELETE enum, but adds no syntax, constraints, or meaning beyond that. At worst, its wording slightly obscures that DELETE removes users from the group rather than deleting them.

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 and resource ('操作用户组' / operate on user groups) and names two example operations (add users, delete users). However, '删除用户' suggests deleting user accounts outright, while the schema shows op_type is an ADD/DELETE toggle over group membership with a user_ids list. That ambiguity, plus no differentiation from sibling group tools such as workspace__ChangeUserPrivilegeGroup or workspace__ListUsersOfGroup, keeps this at a vague-but-usable level.

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 guidance on when to call this rather than a sibling. It does not mention prerequisites, that project_id is required, or that the operation is a membership change. There is also no exclusion, so the agent must infer everything from the name and schema.

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