Skip to main content
Glama

workspace__BatchDeleteDesktops

Deletes multiple Huawei Cloud Workspace desktops in one batch, with optional user removal, force deletion, and email notification; 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_ids": "<desktop_ids>",
      "project_id": "<project_id>"
    },
    "name": "workspace__BatchDeleteDesktops"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
desktop_idsYes待删除的桌面ID列表。
delete_usersNo删除桌面后,如果当前用户没有其它桌面,可以删除桌面用户。true:删除用户,false:不删除用户,默认为false。
is_force_deleteNo是否强制删除,true:强制删除,false:不强制删除。
email_notificationNo是否邮件通知,true:邮件通知,false:不通知,默认值true。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the single most critical behavioral trait: deletion is permanent and unrecoverable. However it omits other consequential behavior — notably that the delete_users flag can remove desktop users entirely, and that email notifications fire by default — leaving an agent unaware of secondary destructive effects.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the dangerous consequence is stated immediately after the action. Nothing is redundant or padded.

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 destructive 5-parameter batch operation with no annotations and no output schema, the description covers the headline risk but not the side effects, required permissions, or how partial failures are reported for a batch of up to 100 IDs. It is minimally adequate but has real gaps an agent would want filled.

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 all five parameters (project_id, desktop_ids, delete_users, is_force_delete, email_notification) are already documented in the schema, including defaults and semantics. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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 and resource ("批量删除桌面" – batch delete desktops) plus the consequence ("删除后无法恢复" – irreversible). It is clearly a destructive bulk operation, though it does not explicitly differentiate itself from similarly named siblings such as BatchDeleteDesktopsTags or BatchDeleteDesktopSnapshot — the distinguishing word 'tags/snapshot' lives only in those siblings' names.

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, no prerequisites, and no exclusions beyond the irreversibility warning. An agent must infer from the name alone that this is the bulk-destroy path and that safer read-only siblings (ListDesktops, ListUnusedDesktops) should precede it.

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