Skip to main content
Glama

as__ListScalingV2Policies

Lists scaling policies for a specified scaling group using filters like policy name, type, or ID, with pagination support. Returns V2 policy details including scaling resource type.

Instructions

[AS] 根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。查询弹性伸缩策略V2版本与V1版本的区别在于,V2版本响应含伸缩资源类型。可根据伸缩策略名称,策略类型,伸缩策略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_resource_id": "<scaling_resource_id>"
    },
    "name": "as__ListScalingV2Policies"
  }
}

Input Schema

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

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 disclosure burden and does contribute real behavior: pagination, a default cap of 20 records, and the V2-only response field. It omits whether the operation is read-only in explicit terms, any permission requirements, and whether the resource/tenant path parameters are mandatory constraints.

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 compact paragraph that front-loads the core operation and then adds the V2-vs-V1 distinction and the no-filter default. There is minor redundancy from repeating 伸缩策略 several times, but no wasted sentences.

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 list tool with 100% schema coverage and no output schema, the description covers the essential facts an agent needs: filtering is optional, results are paginated, the default page size is 20, and the response differs from V1. Only the relationship to sibling list tools remains unaddressed.

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 the schema already documents every parameter and the baseline is 3. The description enumerates the filterable fields (name, type, policy ID, start row, record count) and matches them to the schema, but adds no meaning beyond it — notably it does not explain the truncated scaling_policy_type values.

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 concrete verb and resource (filter/query scaling policies), states that results are paginated, and explicitly distinguishes V2 from V1 by noting the response includes the scaling resource type. It does not, however, differentiate itself from the closely named sibling as__ListAllScalingV2Policies or as__ListScalingPolicies, so an agent must infer the boundary.

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: the description says filtering is optional and that without filters it returns at most 20 policies under the given resource, which hints at the default path. It never states when to prefer this tool over the 'ListAll' or V1 siblings that appear in the catalog.

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