Skip to main content
Glama

ims__GlanceCreateImageMetadata

Creates image metadata in Huawei Cloud IMS without uploading the actual image file; use it to define image properties before adding the image data.

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__GlanceCreateImageMetadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo镜像名称,如果未指定name的取值,则默认为空,但是使用该镜像创建虚拟机会失败。名称的长度为1-255位。
tagsNo镜像标签列表。长度为1-255位。默认为空。
min_ramNo镜像运行需要的最小内存,单位为MB。参数取值依据云主机云服务器的规格限制。默认取值为0。
min_diskNo镜像运行需要的最小磁盘,单位为GB 。必须大于镜像系统盘容量,否则创建云主机云服务器可能失败。
protectedNo镜像是否被保护,保护后的镜像不可删除。默认取值为false。
visibilityNo其他租户是否可见。默认取值为private。创建镜像元数据时,visibility取值只能为private。private
disk_formatNo镜像文件格式。目前支持vhd,zvhd、zvhd2、raw,qcow2。默认取值为vhd
__os_versionNo镜像的操作系统具体版本,如果未指定__os_version,则默认设置为Other Linux(64 bit),不保证该镜像能成功创建虚拟机以及通过该镜像创建的虚拟机能够正常使用。
container_formatNo容器格式。默认取值为bare。bare

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose one high-value behavioral fact — the resulting image has metadata only and no backing file — but says nothing about permissions, whether the metadata is immutable, or what identifier is returned.

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 short sentences with no filler, and the important caveat is placed immediately after the purpose statement so it is read before any call is made. The bracketed '[IMS]' prefix is minor noise but does not impede scanning.

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 output schema, the definition covers the single most dangerous misconception (that an image file exists) but leaves out prerequisites such as needing to upload the file afterwards and what the response contains. It is adequate rather than complete.

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% and every one of the nine parameters has an inline description, so the schema already does the explanatory work. The description adds no parameter-level meaning, which is acceptable at this coverage level but earns only 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?

The description names a specific verb and resource ('创建镜像元数据') and adds a crucial scope qualifier: only metadata is created, no actual image file. That separates it in spirit from file-creating siblings, though it never names an alternative such as ims__CreateImage or ims__RegisterImage.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The caveat that the image file will not exist is a useful implicit hint that a separate upload step is required, but the agent must infer that on its own.

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