Skip to main content
Glama

as__BatchUnprotectScalingInstances

Removes instance protection from multiple Auto Scaling group instances in one request, allowing them to be scaled in or removed when policies require it.

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

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

C2/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 behavioral burden, yet it says nothing about required permissions, reversibility, or what happens to the instances' protection state after the call. It also hides the fact that only UNPROTECT is accepted, which is the single most important behavioral fact about this tool.

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?

One run-on Chinese sentence chains four unrelated capabilities with no front-loading of the actual function and no structure to separate them. The volume of text works against clarity rather than adding information.

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?

With no annotations, no output schema and six parameters, the description should clarify the single permitted action and the effect on instance protection. Instead it aggregates other tools' capabilities and leaves the actual contract of this call undeclared.

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 coverage is 100% and the enum descriptions are rich, so the schema already does this work. Worse, the description advertises ADD, REMOVE, PROTECT, ENTER_STANDBY and EXIT_STANDBY while the schema constrains action to the single value UNPROTECT, giving an agent a false model of the input space.

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 lists four distinct capabilities (add/remove instances, set/cancel protection, enter/leave standby), which is the union of several sibling tools rather than the purpose of this one. It never states that this tool performs only the UNPROTECT action, so an agent cannot distinguish it from as__BatchProtectScalingInstances or as__BatchRemoveScalingInstances.

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?

There is no when-to-use guidance at all and no mention of alternatives, despite several directly overlapping siblings in the catalog. The listed operations actively point an agent toward sibling behavior instead of routing it correctly.

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