Skip to main content
Glama

workspace__CreateOrder

Creates subscription orders for Huawei Cloud Workspace desktops, disks, desktop pools, and related resources to provision period-based cloud desktop services.

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": {
      "project_id": "<project_id>",
      "resources": "<resources>",
      "type": "<type>"
    },
    "name": "workspace__CreateOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes订单类型,createDesktops:创建桌面,addVolumes:添加磁盘,rebuildDesktops:重建系统盘,createDesktopPool 创建桌面池,expandDesktopPool 扩容桌面池,applyDesktopsInternet:开通桌面EIP上网,createExclusiveHosts:创建专享主机,subscribeUserSharer:订购用户协同资源,ApplySubnetBandwidth:开通云办公带宽。
resourcesYes包周期资源。
project_idYes项目ID。
extend_paramNo订单的扩展参数。
enterprise_project_idNo企业项目ID,默认"0。"0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden of disclosing behavior, but it does not. For a billing/ordering operation, it says nothing about cost impact, whether the order is auto-paid (the schema exposes an is_auto_pay field), whether it is reversible, or what happens to resources when the request fails. It only states that an order is placed.

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?

It is a single front-loaded sentence with no filler, and it leads with the scope marker '[WORKSPACE]' and the core action. However, that terseness is also the root of the definition's gaps, and the bracketed namespace prefix adds little for an agent already reading the qualified tool name.

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?

A five-parameter tool with deep nested objects, no annotations, and no output schema is not adequately described by one sentence. The critical relationship between `type` (createDesktops, addVolumes, rebuildDesktops, createDesktopPool, applyDesktopsInternet, subscribeUserSharer, etc.) and the corresponding payload object under `resources` is never mentioned, leaving the agent without the key to composing a valid request.

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 parameter, including the deeply nested order bodies, is already documented in the schema. The description adds no meaning beyond that: it does not explain that the top-level `type` determines which of the many mutually exclusive sub-objects inside `resources` should be populated, which is the single most important semantic for calling this tool. Baseline 3 applies because 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 names a specific verb-and-resource pair: placing an order ('下订单') for subscription/period-based resources ('包周期资源'), scoped to desktops and disks. That is clearly better than a tautology, but it does not distinguish this tool from closely-named siblings such as workspace__CreateDesktopOrder or workspace__CreateChangeOrder, so the agent must infer the difference from the name alone.

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?

The description gives no guidance on when to choose this tool over the several order-creation siblings (CreateDesktopOrder, CreateDesktopBatchOrder, CreateChangeOrder, CreateDesktopPoolChangeOrder, etc.). It also omits prerequisites for use, such as whether the resources must already exist or whether the order is paid immediately.

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