Skip to main content
Glama

as__ListScalingGroups

Filters and retrieves Auto Scaling group lists by name, configuration ID, status, or enterprise project, with pagination support for targeted queries.

Instructions

[AS] 根据输入条件过滤查询弹性伸缩组列表。查询结果分页显示。可根据伸缩组名称,伸缩配置ID,伸缩组状态,企业项目ID,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认最多查询租户下20条伸缩组信息。

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": "as__ListScalingGroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询的记录条数,默认为20。取值范围为:0~100。
project_idYes项目ID
start_numberNo查询的起始行号,默认为0。最小值为0,最大值没有限制。
scaling_group_nameNo伸缩组名称
scaling_group_statusNo伸缩组状态,取值如下:
enterprise_project_idNo企业项目ID,当传入all_granted_eps时表示查询该用户所有授权的企业项目下的伸缩组列表,如何获取企业项目ID,请参考[查询企业项目列表](https://support.huaweicloud.com/api-em/zh-cn_topic_0121230880.html)。说明:华为云帐号和拥有全局权限的IAM用户可以查询该用户所有伸缩组列表。授予部分企业项目的IAM用户,如果拥有超过100个企业项目,则只能返回有权限的前100个企业项目对应的伸缩组列表。
scaling_configuration_idNo伸缩配置ID,通过查询弹性伸缩配置列表接口获取,详见[查询弹性伸缩配置列表](https://support.huaweicloud.com/api-as/as_06_0202.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does add real context: results are paginated and an unfiltered call caps at 20 records under the tenant. It does not disclose authentication/enterprise-project permission behavior (though that detail lives in the parameter schema) or any rate limits, retry behavior, or ordering of results.

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?

Three front-loaded sentences: purpose, pagination, then the filter list and default cap. Every sentence carries information; the enumeration of filters is slightly redundant with the schema but keeps the definition self-contained.

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

Completeness4/5

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

For a 7-parameter read/filter tool with a fully described schema and no output schema, the description covers purpose, pagination, and the default result cap. The main remaining gap is the absence of any output-shape hint and of usage comparison against the other list endpoints, but nothing essential to calling it correctly is missing.

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 at the schema level and the baseline is 3. The description restates the filterable fields and adds the 20-record default for the unfiltered case, but contributes no syntax or format detail not already present in 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 and resource ('查询弹性伸缩组列表' – query the scaling group list) and immediately lists the filterable dimensions, so the agent knows exactly what is returned. Sibling tools like ListScalingConfigs and ListScalingInstances operate on different resources, but the description never draws that contrast explicitly.

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?

It explains the no-filter case ('若不加过滤条件默认最多查询租户下20条伸缩组信息'), which is useful for choosing to supply filters or not. However, it offers no guidance on when to prefer this tool over other list endpoints, no prerequisite/permission conditions, and no mention of how to page beyond the first 20 results.

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