Skip to main content
Glama

ims__CreateImage

Create private images from cloud servers, external image files, or data disks in Huawei Cloud IMS, with options for name, type, architecture, tags, and encryption.

Instructions

[IMS] 本接口用于制作私有镜像,支持:

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ims__CreateImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo镜像名称
tagsNo镜像标签列表。默认为空。tags和image_tags只能使用一个。
typeNo镜像的类型。ECS
cmk_idNo创建加密镜像的用户主密钥,具体取值请参考《密钥管理服务用户指南》获取。
max_ramNo表示镜像支持的最大内存,单位为MB。
min_ramNo表示镜像支持的最小内存,单位为MB,默认为0,表示不受限制。
min_diskNo最小系统盘大小。
image_urlNoOBS桶中外部镜像文件地址。
is_configNo是否自动配置。
volume_idNo数据盘的卷ID。当数据盘创建系统盘镜像时,该参数必选
image_tagsNo新规范的镜像标签列表。默认为空。tags和image_tags只能使用一个。
os_versionNo操作系统版本。
data_imagesNo需要转换的数据盘信息,其中,当使用云服务器上的数据盘进行私有数据盘镜像创建时,该字段必选。
descriptionNo镜像描述信息。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
instance_idNo需要转换的云服务器ID。使用instance_id字段,从云服务器制作私有镜像时,该字段填写云服务器ID。
architectureNo镜像的架构类型。取值包括:x86
is_quick_importNo是否使用镜像文件快速导入方式,导入系统盘镜像。
hw_firmware_typeNo云主机云服务器的启动方式。目前支持:
enterprise_project_idNo表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。

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 permissions, quotas, cost, idempotency, or what the three mutually exclusive creation sources (instance_id, image_url, volume_id/data_images) imply. A single clause identifies the operation as a provisioning write, which is the only behavioral signal present.

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 text is short but not concise in a useful sense: it is a truncated sentence ending in a colon, so the structure is broken rather than front-loaded. Brevity here reflects missing content, not disciplined editing.

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?

For a 19-parameter creation tool with zero annotations and no output schema, the description omits every behaviorally significant fact: the mutually exclusive source modes, required-per-mode fields, and the effect of creating a persistent image. Nothing an agent needs beyond the raw schema is provided.

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 all 19 parameters, including the tags/image_tags and instance_id/image_url/volume_id mutual exclusions, are documented in the schema itself. The description contributes no additional parameter meaning, which matches the baseline 3 when the schema does the heavy lifting.

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 concrete verb and resource ('制作私有镜像' / create a private image), so the basic purpose is identifiable. However, it ends mid-sentence on '支持:' with no content following, and it does not distinguish this tool from siblings such as ims__CreateDataImage or ims__CreateWholeImage, which are the obvious near-neighbors for image creation.

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, and no mention of which alternative tool to pick for data-disk or whole-image creation. The dangling '支持:' strongly suggests the enumerations of supported scenarios were meant to appear here but are absent.

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