Skip to main content
Glama

ecs__ListCloudServers

Query and filter cloud servers by project, status, name, tags, and metadata to locate specific ECS instances and support paginated inventory checks.

Instructions

[ECS] 查询云服务器列表接口。

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": {
      "project_id": "<project_id>"
    },
    "name": "ecs__ListCloudServers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo云服务器ID,格式为UUID,匹配规则为精确匹配。
nameNo云服务器名称,匹配规则为模糊匹配。
tagsNo查询tag字段中包含该值的云服务器。
limitNo查询返回VM数量限制。
markerNo以单页最后一条server的ID作为分页标记。
statusNo云服务器状态。
spod_idNo共池裸机按整机柜发放的同一批次的批创id。
image_idNo镜像ID。
key_nameNo云服务器使用的密钥对名称。
metadataNo元数据过滤,支持key=value过滤。
not-tagsNo 查询tag字段中不包含该值的云服务器
project_idYes项目ID。
flavor_nameNo云服务器规格名称。
metadata-keyNo元数据key过滤。
charging_modeNo云服务器的计费类型。
expect-fieldsNo控制查询输出的字段。在默认字段的基础上选择是否查询。
in_recycle_binNo云服务器是否处于回收站中
launched_sinceNo过滤在launched_since时间之后启动的云服务器。格式为ISO8601时间格式,例如:2013-06-09T06:42:18Z。
availability_zoneNo云服务器所在的AZ,匹配规则为模糊匹配。
availability_zone_eqNo云服务器所在的AZ,匹配规则为精确匹配。
enterprise_project_idNo过滤绑定某个企业项目的云服务器。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, yet it adds nothing beyond the title. It does not mention that results are paginated (marker/limit), that filters are combinable, whether the call is read-only, or what volume of data a default limit returns.

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?

The single sentence is short and front-loaded with the domain tag [ECS] and the resource name, with zero wasted wording. It is concise to the point of under-specification, so brevity here reflects missing content rather than disciplined editing.

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 21-parameter list endpoint with pagination, extensive filters and no output schema or annotations, the description is far too thin. An agent gets no sense of filtering strategy, pagination workflow, or how the rich filter set relates to sibling list tools.

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%, with each of the 21 parameters individually documented including match rules (exact vs fuzzy) and pagination semantics. The description adds no parameter meaning on top of that, so the baseline 3 for a fully-described schema is appropriate.

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

Purpose3/5

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

"查询云服务器列表接口" gives a recognizable verb (query/list) and resource (cloud servers), so the basic intent is legible. However it offers nothing to distinguish it from near-identical siblings such as ecs__ListServersDetails, ecs__NovaListServers and ecs__NovaListServersDetails, leaving an agent unable to choose between them from the description 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 guidance on when to use this tool versus the many other server-listing tools, and no stated preconditions beyond the required project_id in the schema. The single sentence is purely a restatement of the tool's name, so selection is left entirely to inference.

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