Skip to main content
Glama

ims__GlanceListImages

Retrieves a list of IMS images with filters for ID, name, status, visibility, platform, and other attributes to query available images.

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

Input Schema

NameRequiredDescriptionDefault
idNo镜像ID
tagNo标签,用户为镜像增加自定义标签后可以通过该参数过滤查询
nameNo镜像名称
limitNo用于分页,表示查询几条镜像记录,取值为整数,默认返回25条镜像记录
ownerNo镜像属于哪个租户
markerNo用于分页,表示从哪个镜像开始查询,取值为镜像ID。
statusNo镜像状态。取值如下:queued:表示镜像元数据已经创建成功,等待上传镜像文件。saving:表示镜像正在上传文件到后端存储。deleted:表示镜像已经删除。killed:表示镜像上传错误。active:表示镜像可以正常使用
min_ramNo镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。
__os_bitNo操作系统位数,一般取值为32或者64
min_diskNo镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。取值为1~1024GB。取值为40~255GB
sort_dirNo用于排序,表示升序还是降序,取值为asc和desc。与sort_key一起组合使用,默认为降序desc
sort_keyNo用于排序,表示按照哪个字段排序。取值为镜像属性name,container_format,disk_format,status,id,size字段,默认为创建时间。
__os_typeNo镜像系统类型,取值为Linux,Windows,Other
protectedNo镜像是否是受保护,查询公共镜像时候取值为True,查询私有镜像可以不指定。
__platformNo镜像平台分类,取值为Windows,Ubuntu,RedHat,SUSE,CentOS,Debian,OpenSUSE, Oracle Linux,Fedora,Other,CoreOS和EulerOS
created_atNo镜像创建时间。支持按照时间点过滤查询,取值格式为“ 操作符:UTC时间”。
updated_atNo镜像修改时间。支持按照时间点过滤查询,取值格式为 “ 操作符:UTC时间”。
visibilityNo是否被其他租户可见,取值如下:
__imagetypeNo镜像类型,目前支持以下类型:公共镜像:gold私有镜像:private共享镜像:shared 市场镜像:market
disk_formatNo镜像格式,目前支持vhd,zvhd、raw,qcow2。默认值是vhd
__support_kvmNo如果镜像支持KVM,取值为true,否则无需增加该属性
__support_xenNo如果镜像支持XEN,取值为true,否则无需增加该属性
member_statusNo成员状态。目前取值有accepted、rejected、pending。accepted表示已经接受共享的镜像,rejected表示已经拒绝了其他用户共享的镜像,pending表示需要确认的其他用户的共享镜像。需要在查询时,设置“visibility”参数为“shared”
__isregisteredNo镜像是否是受保护,取值为true/false。一般查询公共镜像时候取值为true,查询私有镜像可以不指定。
container_formatNo容器类型bare
__support_xen_hanaNo如果镜像支持XEN虚拟化下HANA类型,取值为true。否则,无需添加该属性。该属性与“__support_xen”和“__support_kvm”属性不共存
__support_largememoryNo表示该镜像支持超大内存。如果镜像支持超大内存,取值为true,否则无需增加该属性
__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

D1.9/5.0
Behavior1/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, yet it discloses nothing about pagination behavior (limit/marker), sort defaults (sort_dir defaults to desc, sort_key defaults to creation time), the cost or volume of results, permission requirements, or whether this is a legacy Glance-compatible read. A single clause naming the operation is effectively zero disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, but the brevity stems from under-specification rather than discipline. The "[IMS]" prefix is a service tag that consumes part of an already minimal payload.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 32-parameter, filter-heavy list operation with no annotations and no output schema, one sentence is far from sufficient. An agent gets no sense of result shape, pagination continuation, default result set, or how to narrow the query safely.

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 32 parameters, including enums and defaults, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no meaning beyond the schema, notably nothing about how filter parameters interact (for example member_status requiring visibility=shared).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[IMS] 获取镜像列表" only restates the tool name (GlanceListImages) with a bracketed service tag. It does not distinguish this tool from the sibling ims__ListImages, which reads as the same operation, so an agent cannot choose between them from the text alone.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (tenant/owner scope, visibility), and no pointer to alternatives such as ims__ListImages or ims__ListImageByTags. Usage must be inferred entirely from the parameter list.

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