Skip to main content
Glama

elb__UpgradeLoadbalancer

Upgrade a shared load balancer to dedicated using start, complete, or rollback actions; downgrading dedicated instances to shared is not supported.

Instructions

[ELB] 升级负载均衡器类型。支持将共享型ELB升级为独享型ELB,但不支持独享型降级为共享型。

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>",
      "loadbalancer_id": "<loadbalancer_id>",
      "project_id": "<project_id>"
    },
    "name": "elb__UpgradeLoadbalancer"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes升级操作:
project_idYes负载均衡器所在的项目ID。
l4_flavor_idNo四层规格ID。仅action为start时生效。
l7_flavor_idNo七层规格ID。仅action为start时生效。
loadbalancer_idYes负载均衡器ID。
prepaid_optionsNo参数解释:创建负载均衡器实例的预付费计费配置。若传入该结构体,则创建预付费类型的负载均衡器实例。
ipv6_vip_addressNo负载均衡器的IPv6虚拟IP。该地址必须包含在所在子网的IPv6网段内,且未被占用。
elb_virsubnet_idsNo下联面子网的网络ID列表。仅action为start时生效。
ipv6_vip_virsubnet_idNo双栈类型负载均衡器所在子网的IPv6网络ID。
availability_zone_listNo可用区列表。仅在action为start时生效。且action为start时,该字段必传

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose the important irreversibility fact (no downgrade), but says nothing about permissions required, billing impact of the flavor/prepaid changes, or that the operation is a resumable multi-step process.

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 short sentences with zero filler; the supported-direction statement is front-loaded and the exclusion follows immediately. The extreme brevity is efficient but leaves nothing to guide the 10-parameter call.

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?

For a 10-parameter mutation with a nested prepaid billing object, a three-value action lifecycle, and no annotations or output schema, the description covers only upgrade direction. It omits the workflow semantics (that 'start' takes the flavor/subnet/AZ inputs while 'complete'/'rollback' finalize or undo) and the cost implications of switching flavors.

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 every parameter, including the nested prepaid_options fields and the action enum, is already documented in the schema. The description adds no parameter-level meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

States a specific verb and resource: upgrade the load balancer type, and specifies the exact transformation (shared ELB -> dedicated ELB). It does not name any sibling tool (e.g. UpdateLoadbalancer, ChangeLoadbalancerChargeMode) to distinguish itself, so differentiation still relies on the reader knowing the catalog.

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?

Provides one applicability constraint (downgrade from dedicated to shared is not supported), which is real when-not guidance. However, it never mentions that the required 'action' parameter drives a multi-phase start/complete/rollback workflow, nor points to any alternative tool, leaving the main usage decision unguided.

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