Skip to main content
Glama

workspace__CreateDesktopPool

Creates a Workspace desktop pool assignable to users or user groups, with each user bound to one desktop upon login.

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": {
      "image_id": "<image_id>",
      "image_type": "<image_type>",
      "name": "<name>",
      "product_id": "<product_id>",
      "project_id": "<project_id>",
      "root_volume": "<root_volume>",
      "size": "<size>",
      "subnet_ids": "<subnet_ids>",
      "type": "<type>"
    },
    "name": "workspace__CreateDesktopPool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes桌面池名称,桌面池名称必须保证唯一。桌面名称只允许输入中文、大写字母、小写字母、数字、中划线,长度范围为1~255。
sizeYes桌面池大小:当前桌面池要创建多少台桌面。
tagsNo标签列表。
typeYes桌面池类型,DYNAMIC:动态池,STATIC:静态池。
vpc_idNo创建桌面时的VPC ID。
ou_nameNoOU名称,在对接AD时使用,需提前在AD中创建OU。
image_idYes镜像ID,用于私有镜像创建桌面场景,配合product_id使用。
flavor_idNo产品规格ID。可用区是边缘可用区时,必填此参数。
image_typeYes镜像类型。默认值为private。private
product_idYes套餐ID。
project_idYes项目ID。
subnet_idsYes创建桌面使用的子网ID。
descriptionNo桌面池描述。
root_volumeYes系统盘。
data_volumesNo数据盘列表。
security_groupsNo桌面使用的安全组,如果不指定则默认使用桌面代理中指定的安全组。
autoscale_policyNo弹性伸缩策略。
enable_autoscaleNo桌面池是否开启弹性伸缩类型,为false则表示不开启弹性伸缩,为true则表示开启弹性伸缩。
availability_zoneNo可用分区。将桌面创建到指定的可用分区。如果不指定则使用系统随机的可用分区。
authorized_objectsNo要授权的用户/用户组列表。
enterprise_project_idNo企业项目ID,默认"0。"0
desktop_name_policy_idNo策略id,用于指定生成桌面名称策略。
disconnected_retention_periodNo动态池桌面断连多少分钟内,保留用户与桌面的绑定关系,超时后自动解绑。

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?

With no annotations, the description carries the full behavioral burden. It does disclose that a pool can be assigned to users/groups and that login binds a user to one desktop, which is useful pool semantics. But for a 23-parameter creation tool it says nothing about permissions required, whether the operation is asynchronous, idempotency, name-uniqueness enforcement, or what happens on partial failure.

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 efficient sentence with the verb front-loaded and no redundant wording. It is perhaps too terse for the complexity of the tool, but that is an under-specification issue captured in contextual completeness rather than a conciseness problem.

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 complex creation tool with 23 parameters, nine required fields, nested objects, and no annotations or output schema. One sentence about assignment and login binding is far short of what an agent needs to invoke it confidently, particularly around prerequisites, side effects, and expected outcome.

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 nested objects and the enum-bearing `type` field is documented in the schema itself. The description adds no parameter-level meaning beyond that, so the baseline 3 is appropriate.

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 states a specific verb and resource (创建桌面池 / create a desktop pool) and adds a sentence about the pool being assignable to users and groups. It clearly separates this tool from siblings like DeleteDesktopPool, UpdateDesktopPool, or ExpandDesktopPool by the create verb, though it never explicitly names an alternative.

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 or when-not-to-use guidance, no mention of prerequisites such as needing an existing image, product, project, or VPC, and no routing to related siblings like CreateDesktopPoolAuthorizedObjects. The agent must infer all of this from the schema.

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