Skip to main content
Glama

ims__CreateWholeImage

Creates a whole-system image from an ECS instance or cloud server backup for cloning or recovery; the request is async, so poll the job status to confirm completion.

Instructions

[IMS] 使用云服务器或者云服务器备份制作整机镜像。作为异步接口,调用成功,只是说明后台收到了制作整机镜像的请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态,具体请参考异步任务查询。

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": {
      "instance_id": "<instance_id>",
      "name": "<name>"
    },
    "name": "ims__CreateWholeImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes镜像名称。
tagsNo镜像标签列表。tags和image_tags只能使用一个。
max_ramNo表示镜像支持的最大内存,单位为MB,默认不设置。
min_ramNo表示镜像支持的最小内存,单位为MB,默认为0。
vault_idNo表示云服务器待加入的或已加入的存储库的ID。
backup_idNo使用云服务器备份创建整机镜像使用此参数且必填。
image_tagsNo新规范的镜像标签列表。默认为空。tags和image_tags只能使用一个。
descriptionNo镜像描述信息。
instance_idYes弹性云服务器ID。使用弹性云服务器制作整机镜像时使用此参数且必填。
whole_image_typeNo使用备份创建整机镜像时,该字段区分是CBR服务的备份还是CSBS服务的备份,取值为:CBR/CSBS。
enterprise_project_idNo表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。关于企业项目ID的获取及企业项目特性的详细信息,请参考《企业管理用户指南》。0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and usefully discloses the most important trait: a successful response only means the request was accepted, and the actual result must be retrieved via the async task query interface. That is genuine behavioral context beyond the schema. It still omits prerequisites (does the server need to be stopped?), failure semantics, and which concrete tool performs the async query.

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?

Front-loaded with the action and source, then the async caveat, with no filler. The async explanation is somewhat verbose and the trailing reference to the query interface is vague, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter creation tool with no annotations and no output schema, the description covers purpose and async polling but leaves out the practical follow-up (the concrete async-query tool name) and any preconditions for making a whole-machine image. Adequate but with clear gaps an agent would notice.

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 11 parameters is already documented, including the conditionality of instance_id and backup_id and the tags/image_tags exclusivity. The description only echoes the two source options without adding format, range, or selection guidance, so the baseline 3 applies.

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?

States a specific verb and resource (create a whole-machine image) and narrows the source to either a cloud server or a cloud server backup, which is meaningful against siblings such as CreateDataImage or CreateImage. It does not name any sibling explicitly or say how it differs from them, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does give usable context: it can be sourced from an ECS instance or a backup, and it is asynchronous so the result must be polled. It never states when to prefer this over CreateImage or CreateDataImage, nor any prerequisite such as instance state, leaving the agent to infer the choice 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