Skip to main content
Glama

workspace__ResizeDesktopPool

Resizes a Huawei Cloud Workspace desktop pool by changing its product specification, optionally using STOP_DESKTOP mode to shut down running desktops before the resize.

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>",
      "product_id": "<product_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__ResizeDesktopPool"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo是否支持开机状态下执行变更规格操作。固定传值STOP_DESKTOP,如果桌面处于开机状态,会先关机再变更规格。
pool_idYes桌面池ID。
flavor_idNo产品规格ID。可用区是边缘可用区时,必填此参数。
product_idYes目标规格产品ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/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 discloses nothing: not that this is a mutating operation, not that desktops may be powered off, not that it creates a change order or is cost-incurring, not whether it is reversible. The only hint about the power-off behavior lives in the mode parameter schema, not the description.

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?

It is only a single bracketed tag plus a four-character phrase, which is under-specification rather than useful conciseness. There is nothing to front-load because nothing substantive is stated.

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 disruptive mutation tool with five parameters, three required, no annotations and no output schema, the description is not sufficient to call it safely. It omits the power-off implication, prerequisites, and where it sits relative to the Estimate/CreateChangeOrder siblings.

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?

Input schema description coverage is 100% and every parameter, including mode=STOP_DESKTOP and flavor_id being required for edge availability zones, is documented in the schema itself. The description adds no meaning beyond that, so the baseline 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?

Names a verb and resource ("桌面池变更规格" = resize/change the specification of a desktop pool), so the general purpose is graspable. But it is a bare restatement of the tool name with no scope or differentiation from close siblings such as workspace__EstimateDesktopPoolResize, workspace__ExpandDesktopPool, or workspace__ResizeDesktop.

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?

Provides no when-to-use guidance, no prerequisites, and no comparison to alternative resize/expand tools. An agent must guess whether this is the quoting, estimation, or actual execution step in the resize workflow.

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