Skip to main content
Glama

as__BatchResumeScalingPolicies

Batch resume up to 20 Auto Scaling policies by policy ID to restore paused scaling actions.

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": {
      "action": "<action>",
      "project_id": "<project_id>",
      "scaling_policy_id": "<scaling_policy_id>"
    },
    "name": "as__BatchResumeScalingPolicies"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes批量操作伸缩策略action标识:删除:delete。启用:resume。停止:pause。
project_idYes租户标识。
delete_alarmNo是否删除告警策略使用的告警规则。可选值为yes或no,默认为no。 只有action为delete时,该字段才生效。
force_deleteNo是否强制删除伸缩策略。默认为no,可选值为yes或no。只有action为delete时,该字段才生效。
scaling_policy_idYes伸缩策略ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short: it never states that delete is irreversible, what permissions are required, what happens if the batch exceeds 20, or what the response contains. It does add one genuinely useful fact not in the schema (max 20 policies per call), but it simultaneously advertises pause/delete actions the schema forbids, which misleads rather than informs.

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?

Two short sentences, front-loaded with the resource and operation plus the batch cap. Nothing is padded, though the first sentence spends its words on an inaccurate scope claim.

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?

Placeholder.

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 enum values, project_id, scaling_policy_id array, and the delete-only delete_alarm/force_delete flags are already documented. The description adds only the batch limit of 20 relevant to scaling_policy_id and nothing about the action enum's actual constraint.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says the tool batch-enables, disables, and deletes scaling policies, but the name is BatchResumeScalingPolicies and the action enum admits only "resume". An agent reading this cannot tell whether the tool can actually pause or delete, and the sibling tools BatchPauseScalingPolicies/BatchDeleteScalingPolicies make the stated scope look duplicated rather than distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to choose this tool over the dedicated pause/delete siblings or the single-policy as__ResumeScalingPolicy. The only usable constraint given is the batch-size cap of 20, which is helpful but is a limit, not usage guidance.

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