Skip to main content
Glama

workspace__BatchUpdateAppAuthorizations

Batch update Huawei Cloud Workspace application authorizations by adding or removing user accounts for multiple app IDs within a project.

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": {
      "app_ids": "<app_ids>",
      "authorization_type": "<authorization_type>",
      "project_id": "<project_id>"
    },
    "name": "workspace__BatchUpdateAppAuthorizations"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersNo新增授权用户列表,一次请求数量区间 [0, 100]。
app_idsYes批量唯一标识请求列表,一次请求数量区间 [1, 20]。
del_usersNo取消授权用户列表,一次请求数量区间 [0, 100]。
project_idYes项目ID。
authorization_typeYes* `ALL_USER` - 全部用户

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and provides almost none. It indicates a batch authorization mutation, but does not disclose whether existing authorizations are replaced or merged, what del_users does, whether the operation is reversible, or what permissions are required.

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 front-loaded sentence with no wasted words. However, for a five-parameter nested batch mutation, it is under-structured: it omits the add/remove distinction between users and del_users, so it is concise but not appropriately sized for the operation's complexity.

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 schema is rich at 100% coverage, but the tool has no annotations, no output schema, and a complex nested mutation surface. The description should still explain the operation's scope and side effects, yet it leaves the agent to infer the critical add/remove behavior from parameter names and schema descriptions.

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 coverage is 100%, so the schema already documents all five parameters, making 3 the baseline. The description adds no parameter-level meaning beyond 'application authorization' and does not explain users vs. del_users, the ALL_USER vs. ASSIGN_USER authorization types, or the project_id constraint.

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 (批量设置 / batch set) and resource (应用授权 / application authorization), so the agent knows this mutates app-level authorization in bulk. It does not explicitly distinguish itself from the sibling workspace__UpdateAppAuthorizations or clarify what 'batch' covers, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 批量 (batch) and 设置 (set), suggesting this is for multiple applications rather than a single authorization update. However, the description gives no explicit when-to-use/when-not conditions and never names alternatives such as UpdateAppAuthorizations or ListAppAuthorizations.

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