Skip to main content
Glama

ecs__ListServersDetails

Filter and list Huawei Cloud ECS servers by name, IP, status, tags, flavor, or project, returning detailed server information for inventory and troubleshooting.

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

Input Schema

NameRequiredDescriptionDefault
ipNoIPv4地址过滤结果,匹配规则为模糊匹配。
nameNo云服务器名称,匹配规则为模糊匹配。
tagsNo查询tag字段中包含该值的云服务器。
ip_eqNoIPv4地址过滤结果,匹配规则为精确匹配。
limitNo查询返回云服务器当前页面的大小。每页默认值是25,最多返回1000台云服务器的信息。
flavorNo云服务器规格ID,已上线的规格请参见《弹性云服务器用户指南》的“实例和应用场景”章节。
markerNo以单页最后一条server的id作为分页标记。
offsetNo页码。
statusNo云服务器状态。
not-tagsNo查询tag字段中不包含该值的云服务器。
server_idNo云服务器ID,格式为UUID,匹配规则为精确匹配
project_idYes项目ID。
reservation_idNo批量创建弹性云服务器时,指定返回的ID,用于查询本次批量创建的弹性云服务器。
enterprise_project_idNo查询绑定某个企业项目的弹性云服务器。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 discloses only that records come from a database query and that related tables are joined to return details; it says nothing about read-only semantics, required permissions, or how pagination behaves across the 14 parameters.

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?

One compact sentence with the resource and the filtering-plus-detail behavior front-loaded; nothing is redundant. The clause about joining related tables is somewhat vague but does not waste space.

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 tool with 14 parameters, no annotations, and no output schema, the description is thin – it does not explain result shape, paging interaction, or how it differs from the several near-identical sibling list tools. The schema covers parameters, but the description has to cover everything else and does not.

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 every parameter is already documented in the schema, including fuzzy vs exact IP matching, limit/marker/offset paging, and tag filters. The description adds no meaning beyond that baseline, so a 3 is appropriate.

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?

States a specific verb-and-resource pair: it filters and queries all elastic cloud servers by user-supplied conditions and joins related tables to return detail. An agent can grasp that this is the detail-returning ECS list. It does not separate the tool from siblings such as ecs__NovaListServersDetails or ecs__ListCloudServers, which sound nearly identical.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase '根据用户请求条件' (per the user's request conditions) – the agent can infer it should call this when it needs a filtered ECS list. There is no statement of when NOT to use it, no prerequisites, and no named alternative for the sibling detail/list tools.

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