Skip to main content
Glama
hcloud-mcp
by Xodus-CO

add_load_balancer_target

Idempotent

Add a server, label selector, or IP address as a target to a Hetzner Cloud load balancer to route traffic to the intended backend.

Instructions

Add a target to a load balancer

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": {
      "id": "<id>",
      "type": "<type>"
    },
    "name": "add_load_balancer_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
ipNo
typeYes
serverNo
label_selectorNo
use_private_ipNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that — it does not say what happens on duplicate targets (relevant given idempotentHint), whether the target takes effect immediately, or what permissions are needed. With annotations doing all the work, the description contributes no behavioral context.

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 single sentence is front-loaded and free of padding, but its brevity comes from omission rather than efficiency. Given six parameters and an enum-driven polymorphism, a slightly longer description would have earned its space.

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

Completeness1/5

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

For a six-parameter mutation tool with nested objects, a discriminating enum, and no output schema, this one-line description is inadequate. An agent cannot tell from it which parameters to supply for each target type, nor what the call returns or how failures behave.

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

Parameters1/5

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

Schema description coverage is 0% across six parameters, including nested objects (ip.ip, server.id, label_selector.selector) and a type enum whose values determine which other parameters are meaningful. The description mentions none of this, so an agent gets no guidance on the required id/type pairing or the conditional fields.

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

Purpose3/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 (add a target to a load balancer), which is enough to distinguish it from remove_load_balancer_target. However, 'target' is never defined, and the schema reveals three very different target kinds (server, label_selector, ip) that the description does not acknowledge. It is clear at a high level but vague about the actual object being added.

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 when-to-use guidance, no prerequisites, and no mention of what state the load balancer must be in or which sibling to use for related operations. The only differentiation from remove_load_balancer_target comes from the verb itself, not from the description.

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