Skip to main content
Glama

workspaceapp__BatchChangeServerImage

Batch updates the images of multiple Workspace application servers by specifying a new image ID, image type, and OS type for coordinated server image changes.

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>",
      "os_type": "<os_type>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__BatchChangeServerImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
os_typeYes系统类型,当前仅支持Windows。
image_idYes镜像id,要求与服务器原有镜像id不相同。
image_typeYes镜像类型:
project_idYes项目唯一标识。
server_idsNo应用服务器id集合。
image_product_idNo镜像的产品id,当镜像是市场镜像时候,该字段必传。
update_access_agentNo是否自动升级hda版本。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden, yet it says nothing about whether the image swap is destructive or reversible, whether servers must be stopped first, or whether it applies to up to 50 servers in one call. The only behavioral signal is the verb '修改', which the agent already reads from the name.

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 front-loaded and free of padding, but it is under-specified rather than concise. Nothing extra has been packed in; essential context is simply absent.

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?

A seven-parameter batch mutation with no annotations and no output schema needs far more than one sentence. Preconditions, scope limits (server_ids max 50), and irreversibility are all unaddressed.

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% and each parameter carries its own description and enums, so the schema does the heavy lifting. The description adds no meaning beyond it, which is the expected baseline here.

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 states a verb and resource ('批量修改服务器的镜像') and the batch scope is explicit, so an agent knows it is a bulk image-change operation. However, it does not distinguish itself from the sibling ChangeServerImage tool that performs the same action on a single server, leaving the agent to infer the difference from the name prefix 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?

There is no guidance on when to use this versus ChangeServerImage, RecreateServerImage, or BatchReinstallServer, and no stated prerequisites. Usage is only loosely implied by the tool name.

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