Skip to main content
Glama

as__PauseScalingPolicy

Pauses a specified Auto Scaling policy to stop it from executing; use when the scaling group and policy are IN-SERVICE to avoid failed pause requests.

Instructions

[AS] 立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。

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

Input Schema

NameRequiredDescriptionDefault
actionYes执行或启用或停止伸缩策略操作的标识。执行:execute。启用:resume。停止:pause。
project_idYes租户标识。
scaling_policy_idYes伸缩策略ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior3/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. It does disclose a real behavioral fact — the INSERVICE state requirement and the failure mode when that isn't met — which is valuable beyond structure. However, it says nothing about idempotency, permissions, effects on in-flight scaling activities, or whether the pause is reversible/HOW a policy is resumed.

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 tight sentences with the operation front-loaded and the precondition second — efficient and easy to scan. The only flaw is that the opening enumeration is inaccurate rather than that the text is bloated.

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 3-required-param tool with a fully documented schema and no output schema, the coverage is adequate: the agent gets the resource, the precondition, and the failure mode. What's missing is the accurate scope statement (pause-only, not execute/resume), which is the most decision-relevant fact about this tool.

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 coverage is 100% and the schema itself documents project_id, scaling_policy_id (with pattern and example), and spells out the execute/resume/pause meanings of action. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 claims the tool "立即执行或启用或停止" (executes, resumes, or pauses) a scaling policy, but the schema's action enum is restricted to ["pause"]. That over-broad framing overlaps with and muddies the distinction against siblings as__ExecuteScalingPolicy and as__ResumeScalingPolicy, leaving an agent unsure whether this tool covers all three operations.

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 description gives a useful precondition (the scaling group and policy must be in INSERVICE or the call fails), but offers no guidance on when to pick this tool over as__ExecuteScalingPolicy, as__ResumeScalingPolicy, or as__BatchPauseScalingPolicies. The single-call vs. batch distinction and the pause-only scope are left to inference.

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