Skip to main content
Glama

as__CreateScalingConfig

Creates an Auto Scaling configuration that defines the instance template (flavor, image, disks, security groups, key pair) used to launch instances in scaling groups, reusable across multiple groups.

Instructions

[AS] 创建弹性伸缩配置。伸缩配置是伸缩组内实例(弹性云服务器云主机)的模板,定义了伸缩组内待添加的实例的规格数据。伸缩配置与伸缩组是解耦的,同一伸缩配置可以被多个伸缩组使用。默认最多可以创建100个伸缩配置。

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": {
      "project_id": "<project_id>"
    },
    "name": "as__CreateScalingConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_configNo实例配置信息
scaling_configuration_nameNo伸缩配置名称(1-64个字符),只能包含中文、字母、数字、下划线或中划线。
source_scaling_configuration_idNo源伸缩配置ID,通过该ID查询已有伸缩配置信息与instance_config中参数进行结合,创建新的伸缩配置。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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, and it does contribute real behavior: configurations are decoupled from scaling groups and reusable across them, and the default quota is 100 configurations. It omits other behavioral facts an agent would want, such as what is returned on success, whether creation is idempotent, or what happens when the quota is hit.

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?

Four short sentences, purpose front-loaded, with the remaining sentences building true context (template semantics, decoupling, quota). No filler or repetition, though the quota sentence is the only operational detail and the rest is conceptual framing.

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 create tool with four parameters, one required, and heavy nesting, the description is complete on the conceptual side and the schema covers all fields. What is missing is what the tool returns and any failure modes, which matters since there is no output schema to fall back on.

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 all four parameters, including the deeply nested instance_config fields. The description adds no parameter-level meaning, such as the instance_id vs flavorRef/imageRef/disk exclusivity, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('创建弹性伸缩配置') and immediately explains what a scaling configuration is, namely a template that defines the spec of instances to be added to a scaling group. This clearly separates it from siblings such as CreateScalingGroup and CreateScalingPolicy by resource type. It stops short of naming those siblings as alternatives, which keeps it at 4 rather than 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description conveys that the tool creates a reusable template, but never says when an agent should use this versus an existing-config copy path. The note that configurations are decoupled from groups and can serve multiple groups gives useful framing, yet there are no explicit exclusions or stated prerequisites beyond the quota.

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