Skip to main content
Glama

as__BatchRemoveScalingInstances

Removes multiple instances from a Huawei Cloud Auto Scaling group in one request, with options to delete the underlying cloud servers when needed.

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

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.4/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, and it says nothing about permissions required, whether removal is reversible, or what happens to the underlying cloud servers. Critically, the schema exposes instance_delete=yes (delete the ECS instance on removal), a destructive side effect the description never surfaces; instead the description spends its words on operations the enum forbids.

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

Conciseness3/5

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

Three parallel sentences are readable and front-loaded, but every one of them lists operations outside this tool's actual enum, so the brevity comes at the cost of accuracy. Roughly two-thirds of the content does not apply to any valid invocation.

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 batch mutation tool with no annotations and no output schema, the definition should at least pin down destructive behavior (instance deletion on REMOVE) and batch limits. It omits both, and its scope claim conflicts with the action enum, leaving an agent with an inaccurate mental model of what a call will do.

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%, so a 3 would be the baseline, but the description actively conflicts with the schema: it advertises ADD/PROTECT/UNPROTECT/ENTER_STANDBY/EXIT_STANDBY while action is enum-restricted to REMOVE, and it never explains the conditional fields instance_delete or instance_append. The text misleads rather than adds meaning about parameters.

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 concrete verbs and a concrete resource (batch remove/add instances, set/unset protection, enter/exit standby on a scaling group), so it is more than a tautology. However, it describes a superset of what this tool actually accepts — the schema's action enum permits only REMOVE — and it does not differentiate itself from siblings like as__BatchAddScalingInstances or as__BatchProtectScalingInstances that own the other verbs it claims.

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 or when-not-to-use guidance, no mention of prerequisites such as scaling group state or instance membership, and no routing to the sibling tools that handle ADD, PROTECT, or standby operations. The agent is left to infer selection purely from the tool name.

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