Skip to main content
Glama

workspace__DeleteDesktopVolumes

Deletes specified data volumes from a Huawei Cloud Workspace desktop; use when you need to permanently remove desktop data disks, as deletion is irreversible.

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": {
      "desktop_id": "<desktop_id>",
      "project_id": "<project_id>"
    },
    "name": "workspace__DeleteDesktopVolumes"
  }
}

Input Schema

NameRequiredDescriptionDefault
desktop_idYes桌面ID。
project_idYes项目ID。
volume_idsNo待删除的桌面数据盘ID列表。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the single most important trait: deletion is irreversible (删除后无法恢复). However, it does not say what permissions are needed, whether the operation is atomic across up to 10 volumes, what happens on partial failure, or how the desktop behaves afterward — notable gaps for a destructive mutation.

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?

Two short clauses, front-loaded with the action and immediately followed by the destructive consequence — no wasted wording. The [WORKSPACE] tag adds minimal value but the rest is tight and purposeful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter destructive tool with no annotations and no output schema, the description communicates the essential risk but leaves open the optional volume_ids behavior and any permission/state preconditions. It is minimally adequate rather than complete.

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 desktop_id, project_id, and volume_ids are already documented, setting the baseline at 3. The description adds no meaning beyond the schema — in particular it does not explain the optional volume_ids (minItems 1, maxItems 10, not in required), i.e. what happens if it is omitted or whether all data volumes are then targeted.

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 names a specific verb+resource: deleting a desktop's data volumes (删除桌面数据盘). This is distinguishable from the sibling DeleteDesktop (which deletes the whole desktop) or DeleteDesktopPoolVolumes (pool-scoped), though the description does not explicitly call out that distinction. A clear purpose but without explicit sibling differentiation.

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 DeleteDesktopSubResources, DeleteDesktop, or the pool-volume variants, nor any prerequisites (permissions, desktop state) for deletion. The only usage-relevant signal is the irreversibility warning, which implies caution but gives no selection criteria.

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