Skip to main content
Glama

workspace__UpdateAppAuthorizations

Sets or updates application authorizations for Huawei Cloud Workspace apps, adding or removing users and user groups by account type 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_id": "<app_id>",
      "authorization_type": "<authorization_type>",
      "project_id": "<project_id>"
    },
    "name": "workspace__UpdateAppAuthorizations"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersNo新增授权用户列表,一次请求数量区间 [0, 100]。
app_idYes应用ID。
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

C2.4/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden, but it does not say this is a mutating operation, that it both grants and revokes access, whether changes are additive or replacing, whether the 100-item cap applies, or what permissions are needed. The verb "设置" only weakly implies mutation, and the destructive revoke path via del_users is completely unmentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is technically concise and front-loaded, but its brevity comes from omitting information rather than from efficiency. For a five-parameter mutation with nested objects, this level of brevity is under-specification.

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?

Given five parameters, nested user objects, no annotations, and no output schema, a one-line description leaves the agent without the context it needs. An agent could not infer from the description alone that this call both grants and revokes authorization, or how it relates to the sibling batch or list tools.

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 each parameter, including the nested account objects and the ALL_USER/ASSIGN_USER enum, is documented in the schema itself. The description adds no meaning beyond that baseline, so the default baseline of 3 applies.

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?

"设置应用授权" (set app authorization) gives a verb plus a resource, so the broad intent is clear. However, it never says what "setting" entails — the schema shows it both adds users and removes users in one call — and it does not distinguish the tool from the sibling workspace__BatchUpdateAppAuthorizations or workspace__ListAppAuthorizations.

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 use this tool, no prerequisites, and no conditions selecting it over the sibling batch-update or list variants. The only usage information an agent has is the required-parameter list in the 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