Skip to main content
Glama

as__ListScalingPolicyExecuteLogs

Query and filter paginated history of Auto Scaling policy executions by log ID, resource type or ID, trigger type, and time range; returns up to 20 records by default.

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>",
      "scaling_policy_id": "<scaling_policy_id>"
    },
    "name": "as__ListScalingPolicyExecuteLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询记录数,默认20,最大100。
log_idNo日志ID。
end_timeNo查询的截止时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
project_idYes项目ID。
start_timeNo查询的起始时间,格式是“yyyy-MM-ddThh:mm:ssZ”。
execute_typeNo策略执行类型:SCHEDULED:自动触发(定时)。RECURRENCE:自动触发(周期)。ALARM:自动触发(告警)。MANUAL:手动触发。
start_numberNo查询的起始行号,默认为0。
scaling_policy_idYes伸缩策略ID。
scaling_resource_idNo伸缩资源ID。
scaling_resource_typeNo伸缩资源类型:伸缩组:SCALING_GROUP。带宽:BANDWIDTH

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the burden. It discloses pagination and the default 20-record limit (max via schema), which is useful, but it omits ordering of returned logs, whether it is strictly read-only, and any auth/scope expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and default behavior are front-loaded, but the middle sentence enumerates fields already fully described in the schema, adding redundancy. Reasonable length but with avoidable duplication.

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 10-parameter query tool with no output schema and no annotations, the description covers filtering and pagination defaults adequately. It leaves the return structure and log ordering unspecified, which is a moderate gap given no output schema exists.

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 parameters (limit, start_number, times, enums, IDs) are already fully documented. The description restates the filterable fields but adds no syntax or semantics beyond the schema, so it sits at the baseline.

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: filter-query of policy execution history logs, plus pagination. It does not differentiate from sibling log tools like ListScalingActivityLogs or ListScalingActivityV2Logs, so an agent must infer the difference from names 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?

It implies usage (filter by the listed conditions; default returns 20) but gives no explicit when-to-use vs when-not guidance and does not route to alternative log tools. Usage context is only implied.

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