Skip to main content
Glama

ims__ImportImageQuick

Create a private image from a RAW or ZVHD2 file stored in an OBS bucket by specifying the image URL, minimum disk size, and OS version, for ECS, BMS, or data disk images.

Instructions

[IMS] 使用上传至OBS桶中的超大外部镜像文件制作私有镜像,目前仅支持RAW或ZVHD2格式镜像文件。且要求镜像文件大小不能超过1TB。

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_url": "<image_url>",
      "min_disk": "<min_disk>",
      "name": "<name>",
      "os_version": "<os_version>"
    },
    "name": "ims__ImportImageQuick"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes镜像名称
tagsNo镜像标签列表。默认为空。
typeNo制作的镜像类型。系统盘镜像为ECS/BMS,数据盘镜像为DataImage.ECS
os_typeNo操作系统版本。
min_diskYes最小系统盘大小。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。取值为1至1024GB。
image_urlYesOBS桶中外部镜像文件地址。在使用OBS桶的外部镜像文件制作镜像时生效且为必选字段。格式为<OBS桶名>:<OBS镜像文件名称>。注意:此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。
image_tagsNo新规范的镜像标签列表。默认为空。
os_versionYes操作系统版本。使用上传至OBS桶中的外部镜像文件制作镜像时生效
descriptionNo镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
architectureNo镜像的架构类型。取值包括:x86
license_typeNo操作系统使用的许可证类型。取值范围:
hw_firmware_typeNo云主机云服务器的启动方式。目前支持:
enterprise_project_idNo表示当前镜像所属的企业项目。0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses prerequisites and limits that the schema does not (RAW/ZVHD2 only, 1TB ceiling, file must already reside in OBS), but it omits whether the operation is asynchronous and returns a job to poll, what permissions are required, and whether it is idempotent – all material for a creation tool.

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?

It is a single well-formed sentence that front-loads the action and then appends the two hard constraints; nothing is redundant. It is arguably too terse for a 13-parameter mutation, but there is no wasted wording to trim.

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?

For a 13-parameter asynchronous image-creation tool with no annotations and no output schema, the description is thin. It says nothing about the return value or job/polling flow, about failure handling, or about which parameters become mandatory in this specific OBS-import path (min_disk and os_version are required only in this mode).

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 13 parameters, including enums for type/os_type/architecture/hw_firmware_type, are already documented in the schema. The description adds no per-parameter meaning beyond what is structured, which is the expected baseline 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.

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 private image) plus the source ('上传至OBS桶中的超大外部镜像文件'), so the operation is unambiguous. It also encodes what makes this tool distinct in practice (very large external files from OBS, RAW/ZVHD2 only), but it never names a sibling such as RegisterImage or CreateImage to make the boundary explicit.

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?

Applicability is only implied through constraints: the file must already be in an OBS bucket, must be RAW or ZVHD2, and must not exceed 1TB. There is no explicit statement of when to pick this over the other image-creation siblings, nor any exclusion beyond the format/size limits.

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