Skip to main content
Glama

workspace__BatchRebuildDesktopsSystemDisk

Rebuilds system disks for multiple cloud desktops in batch using a specified image to recover or reset desktop OS environments.

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>",
      "image_id": "<image_id>",
      "image_type": "<image_type>",
      "project_id": "<project_id>"
    },
    "name": "workspace__BatchRebuildDesktopsSystemDisk"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo下发重建系统盘任务时,给用户发送的提示信息。
os_typeNoos类型。
image_idYes模板ID。
order_idNo订单ID,包周期桌面重建系统盘,涉及收费镜像时需传。
delay_timeNo立即重建时给用户预留的保存数据的时间(单位:分钟)。
image_typeYes镜像类型。
project_idYes项目ID。
desktop_idsYes计算机id列表。
enterprise_project_idNo企业项目ID,默认"0。"0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 discloses none of the critical traits: this is a destructive operation that replaces the system disk (data loss risk on the system volume), may require desktops to be shut down, and can involve billing when a paid image is used. The only implicit signal is the word 'rebuild', which hints at replacement but says nothing about consequences, reversibility, or permissions.

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

Conciseness3/5

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

The single short sentence is front-loaded and free of padding, but its brevity reflects under-specification rather than deliberate economy. Nothing in the sentence earns extra credit because nothing beyond the name is conveyed.

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 nine-parameter batch, destructive mutation with no annotations and no output schema, the description is far too thin — an agent has no basis to judge risk, preconditions, or expected outcome. The richly documented schema partly compensates for parameter meaning, but the operational context is missing.

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% across all nine parameters, including non-obvious ones like delay_time (data-saving grace window) and order_id (required for paid images in yearly/monthly desktops), so the schema does the heavy lifting. The description adds no additional meaning beyond what the schema already documents, which is the baseline case for high coverage.

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 (批量重建 / batch rebuild) and a resource (桌面系统盘 / desktop system disk), so the basic action is identifiable. However, it is essentially a restatement of the tool name with no scope detail (e.g., that it applies to a list of desktop IDs, that it replaces the OS image), so it does not distinguish itself meaningfully from siblings such as RebuildDesktopPool.

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 when-to-use guidance, no prerequisite or precondition (such as desktop must be powered off or stopped), and no mention of when to pick this over RebuildDesktopPool or other batch operations. The agent must infer all usage context from the name alone.

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