Skip to main content
Glama

elb__DeleteLoadBalancerCascade

Deletes a load balancer and cascades deletion to its listeners and backend servers, with options to remove associated EIPs and backend server groups.

Instructions

[ELB] 删除负载均衡器且级联删除其下子资源(删除负载均衡器及其绑定的监听器、后端服务器等一系列资源)。以及根据需要删除或解绑后端服务器组和LB关联的EIP。

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": {
      "loadbalancer": "<loadbalancer>",
      "loadbalancer_id": "<loadbalancer_id>",
      "project_id": "<project_id>"
    },
    "name": "elb__DeleteLoadBalancerCascade"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes负载均衡器所在的项目ID。
loadbalancerYes负载均衡器对象。
loadbalancer_idYes负载均衡器ID。

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?

With no annotations, the description carries the full burden, and it does disclose the key behavioral trait: the deletion cascades to listeners, backend servers and related resources, and that the EIP may be deleted or merely unbound. It omits irreversibility, permission requirements, failure/partial-deletion behavior, and whether the resource can be recovered (a recycle-bin sibling exists), which are material for a destructive tool.

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?

The cascade scope is front-loaded, which is correct for a destructive tool. However, the parenthetical repeats the opening clause almost verbatim (delete the LB and its listeners, backend servers...), so roughly a third of the text is restatement rather than new information.

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?

There is no output schema and no annotations, so the description must stand alone; it adequately covers what gets destroyed and the two optional side effects. It stops short of the operational context an agent needs for a destructive call, such as permissions, irreversibility, and recovery options.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description goes slightly beyond it by explaining that backend server group and EIP handling happens 'as needed', which maps to the public_ip and unbounded_pool switches. It still does not clarify the delete-versus-unbind distinction that the schema itself leaves ambiguous for the EIP flag.

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 states a specific verb and resource (delete load balancer) and makes the cascade scope explicit by enumerating the child resources that go with it (listeners, backend servers). It does not differentiate itself from close siblings such as elb__DeleteLoadBalancer, elb__DeleteLoadBalancerForce or elb__DeleteRecycleLoadBalancer, so the agent cannot tell from the text alone which delete variant to pick.

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 only implied: the word 'cascade' signals this is the aggressive variant that removes dependent resources, which is a usable cue. There is no explicit when-to-use / when-not-to-use statement, no mention of the non-cascade or force alternatives, and no prerequisite or confirmation guidance for a destructive operation.

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