Skip to main content
Glama

as__ListScalingPolicies

Filters and lists Auto Scaling policies in a scaling group by name, type, or ID, with pagination. Use it to find specific policies or review up to 100 records per query.

Instructions

[AS] 根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。可根据伸缩策略名称,策略类型,伸缩策略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>",
      "scaling_group_id": "<scaling_group_id>"
    },
    "name": "as__ListScalingPolicies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询记录数,默认20,最大100。
project_idYes租户标识。
start_numberNo查询的起始行号,默认为0。
scaling_group_idYes伸缩组ID。
scaling_policy_idNo伸缩策略ID。
scaling_policy_nameNo伸缩策略名称。
scaling_policy_typeNo策略类型。

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?

No annotations are supplied, so the description carries the full burden. It does disclose pagination behavior and the default cap of 20 records scoped to the tenant's scaling group, which is useful. It omits auth requirements, error behavior, and response shape, so the disclosure is only partial.

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?

Front-loaded with the purpose and pagination note, then the filterable fields and default behavior. It is efficient overall, though the enumeration of filter fields partially repeats what the schema already states.

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 full schema coverage and no output schema, the description covers purpose, pagination, and default scoping adequately. It still lacks any differentiation from the V2 policy-list siblings, which is the main completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description restates the filterable fields (name, type, ID, start row, record count), confirming their intent but adding little beyond the already-documented schema; the default-20 note echoes the limit default.

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+resource: filter-query scaling policies (弹性伸缩策略) within a scaling group, with paginated results. This is clear and actionable. However, it does not distinguish itself from sibling list tools like ListScalingV2Policies or ListAllScalingV2Policies, so an agent cannot tell them apart 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 Guidelines3/5

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

Indicates filtering is optional and that with no filters it defaults to at most 20 policies in the specified group. This implies when to use it, but it gives no explicit exclusions or guidance on choosing between this and the V2 policy-listing siblings, leaving that inference to the agent.

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