Skip to main content
Glama

hcloud_create_load_balancer

Creates a Hetzner Cloud load balancer with specified name, type, location, network, targets, and services to distribute traffic across servers.

Instructions

Create a Load Balancer

Creates a Load Balancer.

Operation specific errors

Status

Code

Description

412

source_port_already_used

The source port you are trying to add is already in use

412

primary_ip_version_mismatch

The specified Primary IP has the wrong IP version

422

ip_not_owned

The IP is not owned by the owner of the project of the Load Balancer

422

load_balancer_not_attached_to_network

The Load Balancer is not attached to a network

422

resolve_cloud_private_targets_error

The server you are trying to add as a target is not attached to the same network as the Load Balancer

422

resolve_cloud_public_targets_error

The server that you are trying to add as a public target does not have a public IPv4 address

422

target_already_defined

The Load Balancer target you are trying to define is already defined

422

primary_ip_assigned

The specified Primary IP is already assigned to a resource

422

primary_ip_blocked

The specified Primary IP is blocked

422

primary_ip_location_mismatch

The specified Primary IP is bound to a different Location than the Load Balancer

Input Schema

NameRequiredDescriptionDefault
bodyYes
waitNoPoll the resulting action until success/error or timeout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the agent knows this is a non-destructive write operation. The description adds useful operation-specific errors, but it does not explain creation behavior, idempotency, required permissions, or what the 'wait' parameter actually changes beyond the schema.

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

Conciseness2/5

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

The first two lines are redundant ('Create a Load Balancer' / 'Creates a Load Balancer'), wasting the only prose sentence on a restatement. The bulk of the description is an error table with no front-loaded explanation of what the tool does or how to call it correctly.

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 complex creation tool with nested targets, services, and health checks, the description provides only API error codes. It omits prerequisites, core creation semantics, how the wait parameter behaves, and any integration guidance with sibling tools like hcloud_load_balancer_add_target_action or hcloud_load_balancer_add_service_action.

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?

The input schema is deeply documented for nested properties, with descriptions for fields like name, labels, network, targets, services, algorithm, and public_net. The description itself contributes no parameter meaning beyond the schema. At 50% schema description coverage, the schema still carries most of the semantic load, so a baseline 3 is appropriate.

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

Purpose2/5

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

The description is essentially a tautology: 'Create a Load Balancer' followed by 'Creates a Load Balancer.' It restates the tool name and title without adding scope, distinguishing it from siblings like hcloud_list_load_balancers or hcloud_update_load_balancer, or clarifying what a load balancer creation entails.

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 guidance on when to use this tool versus alternatives, no prerequisites (e.g., required permissions, network/location constraints), and no exclusions. The operation-specific error table is not usage guidance; it only lists API failure cases.

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