Skip to main content
Glama

as__BatchPauseScalingPolicies

Pauses multiple Auto Scaling policies in one request, letting you suspend scaling actions for up to 20 policies at once.

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__BatchPauseScalingPolicies"
  }
}

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?

No annotations are supplied, so the description carries the full burden, and it discloses only the 20-item batch limit. It does not say that pausing is reversible, what happens to instances under paused policies, how errors are returned when more than 20 IDs are passed, or that delete_alarm/force_delete are inert for this tool. Worse, the advertised delete capability is not actually reachable, which actively misleads about behavior.

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 operation and followed immediately by the hard limit; nothing is padded. The efficiency is undercut only by the misleading first sentence, not by length or structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with no annotations and no output schema, so the description should fully explain scope, limits and side effects; it supplies only the batch cap. The mismatch between the described enable/disable/delete surface and the schema's single-valued 'pause' enum leaves an agent unable to call the tool confidently without opening the schema, and even then the description conflicts with it.

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%, and the schema already explains action, project_id, scaling_policy_id, delete_alarm (delete-only) and force_delete (delete-only). The description adds nothing per-parameter beyond repeating that the resource is a policy, so the baseline of 3 applies.

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

Purpose3/5

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

The description names a specific resource (弹性伸缩策略 / scaling policies) and a batch verb, but the verb set it announces (启用、停用、删除 = resume/pause/delete) does not match the tool name BatchPauseScalingPolicies or the schema's action enum, which permits only 'pause'. An agent reading only the description would think this tool can also delete and resume policies, which are in fact served by the sibling tools BatchDeleteScalingPolicies and BatchResumeScalingPolicies.

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?

The only guidance is the quantitative cap of 20 policies per call, which is a constraint rather than a when-to-use rule. Nothing tells the agent when to pick this over BatchDeleteScalingPolicies or BatchResumeScalingPolicies, nor that action is effectively fixed to 'pause' here. With three near-identical siblings present, that omission is costly.

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