Skip to main content
Glama

ims__ExportImage

Exports a private IMS image to a specified OBS bucket in qcow2, vhd, zvhd, or vmdk format, with an option for quick export.

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": {
      "bucket_url": "<bucket_url>",
      "file_format": "<file_format>",
      "image_id": "<image_id>"
    },
    "name": "ims__ExportImage"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_idYes镜像ID。
bucket_urlYes目的文件的URL,格式:<bucket>:<file>。
file_formatYes文件格式,支持qcow2、vhd、zvhd和vmdk。
is_quick_exportNo是否使用快速导出,取值为true或者false。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. Calling it an '扩展接口' hints that it is a non-standard extension, but it does not say whether the export is asynchronous, what happens on failure, what permissions are required on the OBS bucket, or whether it can be repeated safely.

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?

A single compact sentence with the action and destination front-loaded, and no wasted wording. Its brevity is deliberate, though it leaves the completeness gaps noted elsewhere.

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 4-parameter operation that writes files into an external OBS bucket, with no annotations and no output schema, the definition is too thin. It does not cover the async behavior or result handling, permission requirements, or quick-export tradeoffs that an agent would need before invoking it.

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 image_id, bucket_url, file_format, and is_quick_export are already fully documented in the schema. The description adds no extra meaning about format compatibility, quick-export constraints, or bucket_url syntax beyond what the schema provides, so it meets the baseline.

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 concrete verb and resources: export a private image to a specified OBS bucket. It is distinguishable from siblings such as CopyImageInRegion or ImportImageQuick, even though none of them are named.

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?

Usage is implied through '用于用户将自己的私有镜像导出到指定的OBS桶中', which scopes it to private images and an OBS destination. There is no explicit guidance on when to prefer this over the copy/import siblings, and no stated prerequisites such as bucket permissions or image state.

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