Skip to main content
Glama

as__BatchSetScalingInstancesStandby

Batch moves specified cloud server instances in a scaling group into standby status, with an option to add replacement instances.

Instructions

[AS] 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。

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>",
      "instances_id": "<instances_id>",
      "project_id": "<project_id>",
      "scaling_group_id": "<scaling_group_id>"
    },
    "name": "as__BatchSetScalingInstancesStandby"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes批量操作实例action标识:添加:ADD 移除: REMOVE 设置实例保护: PROTECT 取消实例保护: UNPROTECT;转入备用状态:ENTER_STANDBY 移出备用状态:EXIT_STANDBY
project_idYes项目ID。
instances_idYes云服务器ID。
instance_appendNo将实例移入备用状态时,是否补充新的云服务器。取值如下:no:不补充新的实例,默认情况为no。yes:补充新的实例。只有action为ENTER_STANDBY时,这个字段才生效。
instance_deleteNo从伸缩组中移出实例时,是否删除云服务器。默认为no;可选值为yes或no。只有action为REMOVE时,这个字段才生效。
scaling_group_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/5.0
Behavior1/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it says nothing about permissions, side effects, reversibility, batch limits, or what happens when instances enter standby. It also suggests unsupported operations, so it cannot reliably guide safe invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The three sentences list many unrelated batch operations instead of front-loading the actual standby-only scope. The repeated broad enumeration wastes space and creates ambiguity rather than clarity.

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

Completeness1/5

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

For a six-parameter mutating batch operation with no annotations or output schema, the description omits permissions, action constraints, and side effects. Its scope also conflicts with the schema's single-value action enum, leaving an agent without reliable guidance.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so a baseline of 3 would normally apply, but the description mentions ADD, REMOVE, PROTECT, UNPROTECT, and EXIT_STANDBY even though the action enum only allows ENTER_STANDBY. That conflicting information adds no useful meaning for the actual parameters.

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 enumerates batch add, remove, protect, unprotect, enter standby, and exit standby, while the tool name and action enum indicate only ENTER_STANDBY. It does not isolate this tool's standby-specific purpose from its sibling batch tools, so an agent could easily select it for unsupported operations.

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

Usage Guidelines1/5

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

No when-to-use guidance or alternatives are provided, even though dedicated siblings such as BatchAddScalingInstances, BatchProtectScalingInstances, BatchRemoveScalingInstances, and BatchUnprotectScalingInstances exist. Worse, the broad operation list implies this tool covers those sibling operations, which the single-value action enum does not support.

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