Skip to main content
Glama

workspace__ChangeDesktopToImage

Converts a specified cloud desktop into a reusable image, with options for image name, tags, memory limits, and system preparation.

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>",
      "image_name": "<image_name>",
      "project_id": "<project_id>"
    },
    "name": "workspace__ChangeDesktopToImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_ramNo表示镜像支持的最大内存,单位为MB。
min_ramNo表示镜像支持的最小内存,单位为MB,默认为0,表示不受限制。
desktop_idYes用于制作镜像的云桌面的InstanceID。
image_nameYes镜像名称。
image_tagsNo镜像标签列表。
project_idYes项目ID。
execute_sysprepNo是否执行系统封装步骤。
image_descriptionNo镜像描述信息。
enterprise_project_idNo表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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 about side effects. It does not say that the desktop may be stopped/restarted, that execute_sysprep defaults to true and generalizes the OS image, that the produced image persists as a billable resource, or whether the operation is reversible.

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?

Eight characters plus a bracketed prefix does not qualify as concise — it is under-specified. There is no structure to speak of and no front-loaded statement of intent or effect.

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

Completeness1/5

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

For a 9-parameter mutating operation with no annotations and no output schema, the description is grossly incomplete. An agent has no way to know the consequences of invoking it, what state the desktop must be in, or what the call returns.

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 every one of the 9 parameters (including min_ram/max_ram, image_tags, enterprise_project_id, execute_sysprep) is already documented in the schema. The description adds no meaning on top, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"桌面转镜像" is a direct restatement of the tool name ChangeDesktopToImage — it names the resource pair (desktop → image) but adds no scope, precondition, or distinction from siblings like workspaceapp__ChangeServerImage. The verb/resource is inferable from the name alone, so this is effectively a tautology.

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?

No when-to-use, when-not-to-use, or alternative guidance is present. An agent cannot tell from the description whether this differs operationally from EstimateDesktopPoolChangeImage or workspaceapp__ChangeServerImage, nor what prerequisites (desktop state, project scope) apply.

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