Skip to main content
Glama

ims__ListImages

Query and filter Huawei Cloud IMS images by ID, name, status, platform, visibility, disk format, tags, and other attributes to retrieve matching image records for provisioning or inventory tasks.

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

Input Schema

NameRequiredDescriptionDefault
idNo镜像ID
tagNo标签,用户为镜像增加自定义标签后可以通过该参数过滤查询。
nameNo镜像名称
limitNo用于分页,表示查询几条镜像记录,取值为整数,默认取值为500。
ownerNo镜像属于哪个租户
markerNo用于分页,表示从哪个镜像开始查询,取值为镜像ID。
statusNo镜像状态。取值如下:
min_ramNo镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
__os_bitNo操作系统位数,一般取值为32或者64。
min_diskNo镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。
sort_dirNo用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc。desc
sort_keyNo用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status ,id,size字段,默认为创建时间。created_at
__os_typeNo镜像系统类型,取值为Linux,Windows,Other。
flavor_idNo用于通过云服务器规格过滤出可用公共镜像,取值为规格ID。
protectedNo镜像是否是受保护,取值为true/false,一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
__platformNo镜像平台分类
created_atNo镜像创建时间。支持按照时间点过滤查询,取值格式为“操作符:UTC时间”。
updated_atNo镜像修改时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。
visibilityNo是否被其他租户可见,取值为public、private或shared
__imagetypeNo镜像类型,目前支持以下类型:
disk_formatNo镜像格式,目前支持vhd,zvhd、raw,qcow2,zvhd2。默认值是vhd。
architectureNo镜像架构类型。取值包括:
__support_kvmNo如果镜像支持KVM,取值为true,否则无需增加该属性。
__support_xenNo如果镜像支持XEN,取值为true,否则无需增加该属性。
member_statusNo成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时设置“visibility”参数为“shared”。
__isregisteredNo镜像是否可用,取值为true,扩展接口会默认为true,普通用户只能查询取值为true的镜像。true
container_formatNo容器类型
virtual_env_typeNo镜像使用环境类型:FusionCompute,Ironic,DataImage。如果弹性云服务器镜像,则取值为FusionCompute,如果是数据卷镜像则取值是DataImage,如果是裸金属服务器镜像,则取值是Ironic。
__support_xen_hanaNo如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
__support_largememoryNo表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性。
enterprise_project_idNo表示查询某个企业项目下的镜像。0
__support_kvm_gpu_typeNo表示该镜像是支持KVM虚拟化平台下的GPU类型,如果不支持KVM虚拟机下GPU类型,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存。
__support_xen_gpu_typeNo表示该镜像是支持XEN虚拟化平台下的GPU优化类型,如果不支持XEN虚拟化下GPU类型,无需添加该属性 。该属性与“__support_xen”和“__support_kvm”属性不共存。
__support_diskintensiveNo表示该镜像支持密集存储。如果镜像支持密集存储性能,则值为true,否则无需增加该属性。
__support_kvm_infinibandNo如果镜像支持KVM虚拟化下Infiniband网卡类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”属性不共存。
__support_highperformanceNo表示该镜像支持高计算性能。如果镜像支持高计算性能,则值为true,否则无需增加该属性。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden of disclosure, and it delivers almost none: it does not state that this is a read-only operation, how results are paginated (the schema's limit/marker pair), what the response shape is, or any permission scoping. It adds essentially nothing beyond restating the operation name.

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 front-loaded clause with zero padding and no repetition. The brevity is efficient rather than sloppy, though it is arguably too terse to earn a 5 given how complex the underlying query surface is.

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?

With 36 optional parameters, no annotations, and no output schema, the definition is thin: it never explains pagination behavior, default filtering (e.g. __isregistered defaulting to true), or what the returned list contains. The rich schema mitigates this for input construction, but an agent still lacks the behavioral picture needed to call it confidently.

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% across all 36 parameters, including enum meanings and defaults, so the input schema already does all the semantic work. The description contributes no additional parameter meaning (no filter-combination rules, no interaction such as member_status requiring visibility=shared), 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 clear verb (查询) and resource (镜像列表), so an agent immediately knows this is a filtered list-read of images. It does not, however, distinguish itself from several closely related siblings such as ims__GlanceListImages, ims__ListImageByTags, or ims__ListImagesTags, which is exactly the gap that separates a 4 from a 5.

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?

The phrase 根据不同条件 hints that filters are available, but there is no statement of when to choose this tool over the Glance variant or the tag-based list tools, and no prerequisites (e.g. tenant/owner scope) are given. The agent must infer the selection rule from the schema alone.

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