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

create_primary_ip

Create a location-scoped primary IPv4 or IPv6 address, then assign it to a powered-off server by ID or leave it unassigned at a location.

Instructions

Create a Primary IP (location-scoped; server must be off to assign). Provide location OR assignee_id (server).

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

Input Schema

NameRequiredDescriptionDefault
nameYes
typeYes
labelsNo
locationNoLocation name or ID, e.g. fsn1 (omit if assignee_id set)
assignee_idNoServer ID to assign to immediately (omit if location set)
auto_deleteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • changedInput schema / properties / assignee_id / description
      Previous value: -"Server ID to assign to immediately (omit if datacenter set)"New value: +"Server ID to assign to immediately (omit if location set)"
    • removedInput schema / properties / datacenter
      Removed value: -{
      -  "description": "ID or name of datacenter (omit if assignee_id set)",
      -  "type": "string"
      -}
    • addedInput schema / properties / location
      Added value: +{
      +  "description": "Location name or ID, e.g. fsn1 (omit if assignee_id set)",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world, non-idempotent create. The description adds a genuinely useful behavioral constraint beyond that: the target server must be powered off before assignment. It does not cover whether the IP persists independently of the server, or whether creation counts against a quota.

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?

Two compact clauses with the precondition placed before the parameter rule, so the reader hits the constraint first. The dense parenthetical phrasing is efficient, though slightly telegraphic.

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?

For a six-parameter mutation with no output schema and low schema coverage, the description covers the critical constraint but omits what a successful call returns and how the required name/type fields are used. Adequate to avoid misuse of the location/assignee pair, but not complete.

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 coverage is only 33%, so the description must carry weight; it does clarify the location-vs-assignee_id mutual exclusion, which is the highest-risk ambiguity among the six params. The remaining parameters (name, type, labels, auto_delete) get no added meaning beyond the schema, leaving a partial 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+resource ('Create a Primary IP') and adds the scoping trait ('location-scoped'), which is more than the name alone conveys. It does not distinguish itself from sibling creation tools such as create_floating_ip, 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 Guidelines3/5

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

Gives one concrete precondition ('server must be off to assign') and a mutual-exclusivity rule ('Provide location OR assignee_id'), which is real usage guidance. It offers no guidance on when to choose a primary IP over a floating IP, nor what happens if neither location nor assignee is supplied.

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