Skip to main content
Glama

as__ListScalingInstances

Query and filter instances in an Auto Scaling group with pagination, using lifecycle state, health status, or protection status to find specific group members.

Instructions

[AS] 根据输入条件过滤查询弹性伸缩组中实例信息。查询结果分页显示。可根据实例在伸缩组中的生命周期状态,实例健康状态,实例保护状态,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认查询组内最多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>",
      "scaling_group_id": "<scaling_group_id>"
    },
    "name": "as__ListScalingInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询的记录条数,默认为20。
project_idYes项目ID。
start_numberNo查询的起始行号,默认为0。
health_statusNo实例健康状态:INITIALIZING:初始化。NORMAL:正常。ERROR:异常
life_cycle_stateNo实例在伸缩组中的生命周期状态:INSERVICE: 正在使用。PENDING:正在加入伸缩组。REMOVING:正在移出伸缩组。PENDING_WAIT:正在加入伸缩组:等待。REMOVING_WAIT:正在移出伸缩组:等待。
scaling_group_idYes伸缩组ID。
protect_from_scaling_downNo实例保护状态:true:已设置实例保护。false:未设置实例保护。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that results are paginated and that an unfiltered call caps at 20 records. However, those defaults are already expressed by the schema's limit=20 and start_number=0 parameters, so the added value is modest; nothing is said about maximum page size, permission requirements, or behavior with invalid ids.

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?

The purpose is front-loaded, followed by pagination behavior and then the enumerable filter dimensions, with no filler sentences. It is compact and scannable for a seven-parameter list tool.

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?

For a 7-parameter list tool with no output schema and no annotations, the description covers purpose, pagination, and filter dimensions but never describes the shape of returned instance records or how this differs from sibling instance-listing tools. It is adequate to invoke but not complete for an agent deciding between the several List* options.

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, including enum values for health_status, life_cycle_state, and protect_from_scaling_down, is already documented. The description recaps the filterable dimensions (lifecycle state, health status, protection status, start row, count) without adding format or semantics beyond the schema, which matches the baseline of 3.

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 names a specific verb and resource in Chinese: filter-query instance information inside an auto scaling group, which an agent can recognize as a read/list operation on scaling instances. It is not explicitly differentiated from nearby siblings such as as__ListResourceInstances or as__ListHookInstances, so the agent must rely on the 'instances in a scaling group' wording to tell them apart.

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 states one useful usage condition — with no filters it returns at most 20 instances in the group — which implies the tool is a scoped list with optional filtering. It gives no explicit guidance on when to pick this over the other List* siblings or what preconditions are required beyond the required ids.

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