Skip to main content
Glama

workspace__UpdateDesktopPool

Modify Huawei Cloud Workspace desktop pool properties such as name, description, tags, autoscaling policy, maintenance mode, and disconnected retention settings using pool and project 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": {
      "pool_id": "<pool_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__UpdateDesktopPool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo桌面池名称,桌面池名称必须保证唯一。桌面名称只允许输入中文、大写字母、小写字母、数字、中划线,长度范围为1~255。
tagsNo标签列表。
ou_nameNoOU名称,在对接AD时使用,需提前在AD中创建OU。
pool_idYes桌面池ID。
project_idYes项目ID。
descriptionNo桌面池描述。
autoscale_policyNo弹性伸缩策略。
enable_autoscaleNo桌面池是否开启弹性伸缩类型,为false则表示不开启弹性伸缩,为true则表示开启弹性伸缩。
availability_zoneNo桌面池的可用区。桌面池的可用区是边缘可用区时,不支持修改。
in_maintenance_modeNo是否处于管理员维护模式。
desktop_name_policy_idNo策略id,用于指定生成桌面名称策略。
disconnected_retention_periodNo桌面断连多少分钟内,保留用户与桌面的绑定关系,超时后自动解绑。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies mutation through the verb 修改. It says nothing about permissions, whether the update is a partial patch or full replacement, what happens to unset fields, or the fact that availability_zone cannot be changed for edge zones. The mutation implication is the only behavioral signal present.

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?

A single short sentence with no filler and the resource is front-loaded. Its brevity is efficient, though it shades into under-specification rather than genuine economy.

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?

For a 12-parameter mutation tool with nested objects and no annotations or output schema, a one-line description is far too thin. An agent gets no help on which of the many optional fields are typically changed together, the autoscale interaction between enable_autoscale and autoscale_policy, or the availability-zone restriction called out in the schema.

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 already documents all 12 parameters including the nested autoscale_policy and tags. The description adds no meaning beyond the schema, so the 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?

The description states a verb and resource ("修改桌面池属性" / modify desktop pool attributes), so the purpose is decipherable, but it essentially restates the tool name UpdateDesktopPool and gives no detail about which attributes are modifiable. It does not distinguish this from sibling mutations such as ExecuteDesktopPoolAction or ResizeDesktopPool beyond the generic verb.

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 guidance on when to use this tool versus alternatives such as ResizeDesktopPool, ExpandDesktopPool, ExecuteDesktopPoolAction, or UpdateDesktopNamePolicy, all of which also mutate pool state. No prerequisites, no exclusions, and no indication of when a partial property update is appropriate.

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