Skip to main content
Glama

as__ResumeScalingPolicy

Resumes a specified Auto Scaling policy so it can be enforced when the scaling group and policy are in service; otherwise execution fails.

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

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.9/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 behavioral burden. It usefully discloses the INSERVICE prerequisite and that execution fails otherwise, but says nothing about permissions, idempotency, what happens to an in-flight execution, or the response shape for a mutation-style call.

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 sentences, front-loaded with the action and followed by the precondition, with no filler. The only economy problem is that enumerating execute/enable/stop spends words on capabilities this tool does not expose.

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-parameter, fully documented schema with no output schema and no annotations, the precondition note is the key contribution. Completeness falls short on distinguishing this tool from its execute/pause/batch siblings and on describing the effect of a successful resume.

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 schema already documents project_id, scaling_policy_id and the action enum. The description adds no semantics beyond that, and its three-operation framing is actually less accurate than the schema's own enum of ['resume'], so baseline 3 is the ceiling here.

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 states a verb and resource ('execute or enable or stop a specified auto-scaling policy'), but the tool name is ResumeScalingPolicy and the schema enum admits only 'resume'. Advertising three operations the tool does not perform muddies rather than sharpens the purpose, and no sibling (as__ExecuteScalingPolicy, as__PauseScalingPolicy, as__BatchResumeScalingPolicies) is named to disambiguate.

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 usage condition given is a state precondition ('伸缩组、伸缩策略状态处于INSERVICE时'), which explains why a call may fail rather than when to pick this tool. With three near-identical siblings in the catalog, there is no guidance on choosing single-policy resume over batch resume or over execute/pause.

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