Skip to main content
Glama

as__BatchDeleteScalingPolicies

Batch deletes up to 20 Auto Scaling policies and optionally removes their alarm rules or forces deletion.

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

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 disclosure burden, yet it only states the batch size ceiling. It never says that delete is irreversible, what happens when a policy is actively attached to a scaling group, how delete_alarm/force_delete alter side effects, or whether the call is partial-failure or all-or-nothing across the 20 IDs.

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 with the action scope first and the quota second; nothing is padded or repeated. It is efficient but under-specified rather than tight, which keeps it just short of a 5.

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 destructive, five-parameter batch mutation with no annotations and no output schema, so the description should compensate for the missing safety signals. Instead it is silent on irreversibility, permission needs, and the return/partial-failure behavior, leaving an agent unable to predict consequences before deleting up to 20 policies.

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 every parameter, including the two enums, is documented in the schema, so the baseline is 3. The description adds only one schema-adjacent fact, the 20-element maximum on scaling_policy_id, and says nothing about project_id scoping or the delete-only conditional fields.

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 and batch verbs (enable/pause/delete scaling policies), so the general purpose is legible. But it claims enable and pause support that the schema's `action` enum (delete only) does not permit, and it does not distinguish itself from siblings as__BatchPauseScalingPolicies, as__BatchResumeScalingPolicies or as__DeleteScalingPolicy, so an agent cannot tell which entry point to use for which verb.

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 use this batch tool versus the single-policy as__DeleteScalingPolicy or the dedicated pause/resume batch siblings, and no prerequisites (permissions, group state, whether policies must be detached first). The only operational note is the 20-item cap, which is a limit rather than 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