Skip to main content
Glama

workspace__AddDesktopSubResources

Purchases add-on resources for existing Workspace desktops by specifying desktop IDs, project ID, and sub-resource SKU.

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>",
      "sub_resource_sku": "<sub_resource_sku>"
    },
    "name": "workspace__AddDesktopSubResources"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idNo订单ID。
project_idYes项目ID。
desktop_idsYes桌面ID列表。
sub_resource_skuYes桌面协同资源SKU码。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses only that this is a purchase (implying a billable, mutating transaction); it says nothing about whether it creates an order, whether it is idempotent, whether the optional order_id must be supplied for retries, or what happens on partial failure across up to 100 desktop_ids.

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?

A single short sentence with a workspace prefix and zero redundant wording - appropriately front-loaded. It is terse rather than padded, so it loses a point only because the brevity tips into under-specification for a billing operation.

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?

This is a four-parameter purchasing mutation with billing consequences, no annotations, and no output schema, yet the description is one clause long. An agent cannot tell from it what an invocation commits to, what the result contains, or how it relates to the estimate/add/delete siblings.

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 each of the four parameters is already documented, meeting the baseline of 3. The description adds only the notion that the target desktops must already exist; it offers no clarification of order_id versus the purchase flow or of SKU selection.

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 names a specific action ('购买' - purchase) and object ('附属资源' - sub-resources) scoped to existing desktops ('存量桌面'), so the general intent is graspable. However, '附属资源' is left unexplained (the schema calls it a 桌面协同资源SKU), and nothing distinguishes this tool's outcome from EstimateAddResources or AddDesktopVolumes beyond the word 'purchase'.

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 guidance on when to call this versus the sibling EstimateAddResources (cost preview) or DeleteDesktopSubResources (removal), and no stated prerequisites such as needing an existing desktop or a prior order. The phrase '存量桌面' weakly implies existing rather than new desktops, but the agent must infer that.

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