Skip to main content
Glama

workspaceapp__CreateServerGroup

Creates a server group with specified image, VPC, subnet, disk, and product settings to organize cloud servers for application delivery.

Instructions

[WORKSPACEAPP] 创建服务器组。

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>",
      "os_type": "<os_type>",
      "product_id": "<product_id>",
      "project_id": "<project_id>",
      "subnet_id": "<subnet_id>",
      "system_disk_size": "<system_disk_size>",
      "system_disk_type": "<system_disk_type>",
      "vpc_id": "<vpc_id>"
    },
    "name": "workspaceapp__CreateServerGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes服务器组名称,名称需满足如下规则:
tagsNo标签信息,最多包含20个key,不允许重复
is_vdiNo是否为vdi单会话模式。
vpc_idYes虚拟私有云ID。
os_typeYes系统类型,当前仅支持Windows。
ou_nameNo默认组织名称。
app_typeNo服务器组应用类型:
image_idYes服务器组关联的镜像ID,用于创建对应组下的云服务器。
flavor_idNo规格ID。
subnet_idYes网卡对应的子网ID。
cluster_idNo云服务器系统盘对应的存储池的ID。
image_typeYes镜像类型:
ip_virtualNo虚拟IP功能选项。
product_idYes产品ID。
project_idYes项目唯一标识。
descriptionNo服务器组描述。
route_policyNo路由策略
image_product_idNo服务器组的镜像产品ID,当镜像为云市场镜像时,该字段必填。
system_disk_sizeYes磁盘容量,单位GB。
system_disk_typeYes磁盘类型,获取可用磁盘类型详见接口磁盘管理ListVolumeType。
availability_zoneNo可用分区。
extra_session_sizeNo付费会话数,单位/个。
extra_session_typeNo付费会话类型
server_group_statusNo是否启用服务器组。
enterprise_project_idNo企业项目ID,仅企业项目需配置(字段为空或者0表示使用默认default企业项目)
primary_server_group_idNo主服务器组id,绑定主服务器组,则创建的是备服务器。

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 burden of behavioral disclosure, and it discloses nothing. It does not say the call provisions billable cloud servers, which fields are immutable after creation, what permissions or quota it needs, or what happens to related resources under primary_server_group_id. For an irreversible provisioning mutation this is a complete gap.

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?

The single sentence is short but underspecified, not concise. It is front-loaded trivially because there is nothing else, and no sentence earns extra credit for clarifying the operation. Space was available and went unused.

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?

With 26 parameters, 10 of them required, nested objects, five enums, and no output schema, an agent needs substantial context to invoke this correctly. The description provides none of it, leaving the agent to reverse-engineer the workflow from the schema alone. This is far below the burden such a complex provisioning tool demands.

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 26 parameters, including the nested tags, route_policy, and ip_virtual objects, is documented in the schema itself. The description adds no parameter meaning beyond that, which is acceptable here but earns only the baseline. A note on which fields are conditional (image_product_id for marketplace images, cluster_id, availability_zone) would have added real value.

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?

The description "[WORKSPACEAPP] 创建服务器组。" restates the tool name (CreateServerGroup → create server group) with no scope, no resource qualifiers, and no differentiation from siblings such as ecs__CreateServerGroup or workspaceapp__CreateAppGroup. An agent learns the verb and resource but nothing that distinguishes this tool from the similarly named creation tools in the catalog.

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 guidance, no prerequisites (project, VPC, subnet, image must exist first), and no mention of the alternative creation tools. A reader must infer everything from the name alone. This falls short of even implied usage guidance.

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