Skip to main content
Glama

hcloud_create_primary_ip

Create a Hetzner Cloud Primary IP (IPv4 or IPv6), optionally assigning it to a server or leaving it unassigned in a specified location.

Instructions

Create a Primary IP

Create a new Primary IP.

Can optionally be assigned to a resource by providing an assignee_id and assignee_type.

If not assigned to a resource the location key needs to be provided. This can be either the ID or the name of the Location this Primary IP shall be created in.

A Primary IP can only be assigned to resource in the same Location later on.

Operation specific errors

Status

Code

Description

422

server_not_stopped

The specified Server is running, but needs to be powered off

422

server_has_ipv4

The Server already has an ipv4 address

422

server_has_ipv6

The Server already has an ipv6 address

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

A3.8/5.0
Behavior4/5

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

Beyond the annotations (which only declare non-destructive, open-world mutation) the description discloses operation-specific failure modes — server_not_stopped, server_has_ipv4, server_has_ipv6 — and the same-Location assignment constraint, which an agent could not infer from structured fields. It doesn't cover return shape or the wait/polling behavior, so not a 5.

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 core content is front-loaded and the error table is genuinely useful, but the prose is bloated by repeated '[Primary IP](#tag/primary-ips)' link markup that adds no information for an agent. Several sentences restate the same location-required rule already present in the schema.

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 mutating create with a nested request body, no output schema, and two top-level params, the description covers the creation rules, assignment prerequisites, and error conditions an agent needs. Missing only return-value expectation and the meaning of the `wait` polling flag.

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 50%, and the description mostly restates what the schema already says about `location` and `assignee_id`/`assignee_type` (ID-or-name, omit when unassigned). It adds no new semantics for `name`, `labels`, `auto_delete`, or the `wait` flag, so it only partially compensates for the coverage gap.

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 ('Create a new Primary IP') and immediately qualifies the creation semantics (assigned vs unassigned). It is distinguishable from the many other create_* siblings, though it never explicitly contrasts with hcloud_create_floating_ip, the closest alternative.

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?

Gives clear conditional guidance: an IP can be assigned via assignee_id/assignee_type, otherwise `location` is required, and a later assignment is restricted to the same Location. It omits explicit when-not-to-use/alternative routing (e.g. floating IP), so it falls short of a 5.

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