Skip to main content
Glama

ims__CreateDataImage

Creates a data disk image from an external image file stored in an OBS bucket and submits an asynchronous image creation request; query the task to confirm completion.

Instructions

[IMS] 使用上传至OBS桶中的外部数据卷镜像文件制作数据镜像。作为异步接口,调用成功,只是说明后台收到了制作请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态。具体请参考异步任务查询。

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>"
    },
    "name": "ims__CreateDataImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes镜像名称。
tagsNo镜像标签列表。默认为空。
cmk_idNo创建加密镜像的用户主密钥,具体取值请参考《密钥管理服务用户指南》获取。
os_typeNo操作系统类型。只能是Windows、Linux二者之一,默认Linux。
min_diskYes最小数据盘大小。取值范围40-2048GB。
image_urlYesOBS桶中外部镜像文件地址。格式为<OBS桶名>:<OBS镜像文件名称>。 此处的OBS桶和镜像文件的存储类别必须是OBS标准存储。
image_tagsNo新规范的镜像标签列表。默认为空。
descriptionNo镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
enterprise_project_idNo表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目;取值为UUID,表示属于该UUID对应的企业项目。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 supplied, the description carries the full behavioral burden, and it does disclose the critical async contract: a successful call only means the backend accepted the request, and the real outcome must be polled through the async task query interface. It omits what identifier the call returns to feed that query, and any quota/permission prerequisites, which keeps it below a 5.

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?

Two sentences, front-loaded with the purpose and followed by the async caveat; nothing is redundant. The trailing pointer to the async query doc is useful, though slightly boilerplate.

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 a nine-parameter creation tool with no annotations and no output schema, the description covers purpose and async semantics but says nothing about the return value (image ID vs. job ID) or what state the image is in before the task completes. An agent would still have to infer the follow-up flow from external docs.

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 nine parameters — including image_url format, min_disk range, and os_type enum — are already documented in the schema. The description adds no additional parameter meaning, 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?

The description names a specific verb and resource — creating a data image (数据镜像) from an external data-volume image file stored in an OBS bucket — which distinguishes it from siblings like CreateWholeImage or RegisterImage. It stops short of explicitly naming those alternatives, but the resource scope is concrete enough for an agent to select correctly.

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?

It implies when to use it (you have an external image file in OBS and want a data image), but offers no explicit when-not-to-use guidance and never routes the agent to a sibling such as CreateImage or CreateWholeImage. Usage is inferable rather than stated.

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