Skip to main content
Glama

css__ListImages

Retrieves the target image IDs available for upgrading a specified cluster, helping you identify compatible upgrade options using the project ID and upgrade type.

Instructions

[CSS] 该接口用于获取当前集群的可升级目标镜像ID。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>",
      "upgrade_type": "<upgrade_type>"
    },
    "name": "css__ListImages"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes待升级的集群的ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
upgrade_typeYes升级目标版本类型:

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 behavioral burden. It implies a read that returns image IDs, but says nothing about permissions, whether the result is filtered by upgrade_type, pagination, or what an empty result means. For a tool with zero annotation coverage this leaves real gaps.

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 short sentence with the key concept front-loaded and zero filler. It is arguably too terse for the information it needs to convey, but nothing in it is wasted.

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?

With a fully described three-parameter schema and no output schema, the description is minimally sufficient to call the tool. However, for a tool whose name suggests generic image listing, it should do more to explain the upgrade-target scope and the expected return shape.

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 the three required parameters are already documented in the schema and the baseline of 3 applies. The description adds only the loose notion of 'current cluster' for cluster_id and nothing about upgrade_type semantics, so it does not exceed the schema.

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 states a specific verb-plus-resource: retrieve the IDs of upgradeable target images for the current cluster. This meaningfully narrows the generic name 'ListImages' (which could be confused with ims__ListImages or workspace__ListImages) toward an upgrade-planning operation, though it does not name or explicitly rule out those siblings.

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 guidance beyond the implicit upgrade context, no prerequisites, and no mention of alternatives or when not to use it. An agent must infer that this belongs to a cluster-upgrade flow from the word '可升级' 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