Skip to main content
Glama

elb__CreateLoadbalancer

Create a private enhanced load balancer on Huawei Cloud and return its ID, subnet ID, and VIP. Bind a floating IP to its VIP port for public access.

Instructions

[ELB] 创建私网类型的增强型负载均衡器。创建成功后,该接口会返回创建的增强型负载均衡器的ID、所属子网ID、负载均衡器IP等详细信息。若要创建公网类型的增强型负载均衡器,还需调用创建浮动IP的接口,将浮动IP与私网负载均衡器的vip_port_id绑定。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
loadbalancerYes负载均衡器对象

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/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. It does useful work by disclosing the return payload (LB ID, subnet ID, IP) and the multi-step public-network workflow, but it says nothing about permissions, quotas, idempotency, or what happens if vip_subnet_id is invalid.

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?

Three sentences, front-loaded with the core purpose, then the return behavior, then the public-network caveat. Every sentence carries information, with only slight redundancy between naming the private type and explaining the public alternative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nested-object creation tool with no output schema, the description covers the essentials: what is created, what the response contains, and the follow-up step for public exposure. Remaining gaps (auth requirements, error behavior) are secondary but prevent a perfect score.

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% and the nested loadbalancer object documents each field, so the schema already does the parameter work. The description adds only indirect context via the returned subnet ID and vip_port_id binding; it does not clarify the required vip_subnet_id or the meaning of nested fields.

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 and resource ('创建私网类型的增强型负载均衡器') and scopes it to the private-network enhanced load balancer, which distinguishes it from public-network creation and from the many tag/listener/pool siblings. It does not explicitly contrast with near-neighbors like elb__BatchCreateLoadBalancers, so it stops short of a 5.

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

Usage Guidelines4/5

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

It clearly states the use case (creating a private-network enhanced LB) and adds the important condition for the public-network case: a separate floating-IP creation call plus binding to vip_port_id. That is actionable when-to-use guidance, though it does not rule out or point to any sibling such as the batch-create variant.

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