Skip to main content
Glama

ecs__ListFlavors

Lists Huawei Cloud ECS flavors and retrieves specification details by project, optionally filtered by flavor ID or availability zone.

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

Input Schema

NameRequiredDescriptionDefault
flavor_idNo规格id
project_idYes项目ID。
availability_zoneNo可用区,需要指定可用区(AZ)的名称或者ID或者code。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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-only listing, but says nothing about pagination, result volume, permission requirements, or what 'extended information' concretely contains, which leaves the agent guessing about call behavior.

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 front-loaded sentence with no filler, though the phrasing '规格详情信息和规格扩展信息列表' is somewhat redundant and could state the resource and scope more crisply.

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 no annotations and no output schema, the description is the only source of behavioral and return-shape context, yet it does not describe the response structure, pagination, or the distinction between detail and extended flavor data. For a list tool in a crowded sibling namespace, this is under-specified.

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 all three parameters (flavor_id, project_id, availability_zone) are already documented with descriptions and examples. The description adds no meaning beyond the schema — it does not explain how flavor_id narrows results or what form the AZ identifier takes.

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?

The description gives a specific verb (查询/list) and resource (云服务器规格, ECS flavors) and indicates it returns both detail and extended flavor information. However, it offers no differentiation from the many sibling flavor-listing tools (ecs__ListResizeFlavors, ecs__NovaListFlavors, ecs__ListFlavorSellPolicies), so an agent cannot tell which flavor tool to pick 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 when-to-use guidance, no statement of when this tool is preferable to NovaListFlavors or ListResizeFlavors, and no mention that project_id is mandatory. The availability_zone filter's effect on results is left entirely unexplained.

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