Skip to main content
Glama

workspace__CreateChangeOrder

Creates a change order to resize a cloud desktop's specification or expand its disk volume, letting you adjust compute and storage resources through a single Workspace API call.

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>",
      "type": "<type>"
    },
    "name": "workspace__CreateChangeOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes类型 resizeDesktops(变更规格)、expandVolumes(扩容磁盘)。
desktop_idYes桌面id。
period_numNo周期数。
project_idYes项目ID。
period_typeNo周期类型,2:包月;3:包年。
extend_paramNo订单的扩展参数。
new_quantityNo专享主机变更桌面数后桌面路数的总大小,当是jobType是resizeExclusiveLites,必传。
expand_new_sizeNo扩容后云硬盘的总大小,当是expandVolumes,必传。范围10-32760,大小为10的倍数。
expand_volume_idNo扩容的云硬盘的ID,当是expandVolumes,必传。
resize_product_idNo变更后规格产品ID,当是resizeDesktops,必传。
enterprise_project_idNo企业项目ID。
exclusive_lites_product_idNo专享主机桌面数的productId,当是resizeExclusiveLites,必传。

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 and delivers almost nothing: it doesn't disclose that this is a mutating, billing-relevant order creation, whether payment is triggered (is_auto_pay), whether changes are reversible, or what permissions are required.

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 phrase is compact and front-loaded with the action, but its brevity comes from under-specification rather than efficient information density.

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 12-parameter mutating tool with a nested object, conditional required fields, and no annotations or output schema, one short phrase is far short of complete; an agent cannot tell cost implications, ordering semantics, or the distinction from sibling order tools.

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%, including conditional requirements (resize_product_id for resizeDesktops, expand_volume_id/expand_new_size for expandVolumes), so the schema does the heavy lifting and a 3 baseline is appropriate. The description adds no parameter meaning of its own.

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?

"[WORKSPACE] 变更规格、扩容磁盘" names the two operations but never states that the tool creates an order (CreateChangeOrder), nor distinguishes it from siblings such as CreateDesktopOrder or CreateDesktopPoolChangeOrder. An agent can guess the domain but not the exact action performed.

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 the many sibling order-creation tools, no prerequisite conditions, and no mention of how the type value selects between resize and expand flows beyond what the schema already says.

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