Skip to main content
Glama
hetzner-mcp-server
by lazyants

Create Volume

hetzner_create_volume

Creates a new Hetzner Cloud volume by specifying a name and size; provide a location or assignee to determine placement and optionally attach it to a server.

Instructions

Create a new volume. Either location or assignee must be provided to determine placement.

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>",
      "size": "<size>"
    },
    "name": "hetzner_create_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the volume
sizeYesSize of the volume in GB
formatNoFilesystem format for the volume
labelsNoLabels as key-value pairs
serverNoDeprecated alias for assignee {id: server, type: "server"}; do not combine with assignee
assigneeNoResource to attach the volume to once created; the volume is created in its location
locationNoLocation name (e.g. "fsn1"). Required if no assignee is set
automountNoAuto-mount the volume after attaching it to the assignee

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.1.0
    • addedInput schema / properties / assignee
      Added value: +{
      +  "description": "Resource to attach the volume to once created; the volume is created in its location",
      +  "properties": {
      +    "id": {
      +      "description": "ID of the resource",
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "type": {
      +      "const": "server",
      +      "description": "Type of the resource (currently only \"server\")",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "type"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / automount / description
      Previous value: -"Auto-mount the volume after attaching to a server"New value: +"Auto-mount the volume after attaching it to the assignee"
    • changedInput schema / properties / location / description
      Previous value: -"Location name (e.g. \"fsn1\"). Required if server is not set"New value: +"Location name (e.g. \"fsn1\"). Required if no assignee is set"
    • changedInput schema / properties / server / description
      Previous value: -"Server ID to attach the volume to. Required if location is not set"New value: +"Deprecated alias for assignee {id: server, type: \"server\"}; do not combine with assignee"
  2. First observedv2.2.0

TDQS

B3.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, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds only the placement rule; it does not mention that automount requires an assignee, that the deprecated server alias must not be combined with assignee, or that placement is fixed at creation and cannot be changed later (only via resize/update tools).

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 short sentences with zero filler, and the placement constraint is front-loaded where it matters most. It is tight to the point of terseness but no sentence is wasted.

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 an eight-parameter creation tool with a nested assignee object and no output schema, the description should do more: format selection, automount behavior, and the deprecated server alias are all unmentioned. Full schema coverage and the supplied annotations compensate substantially, leaving a definition that is adequate but thin on lifecycle behavior.

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%, so all eight parameters are already documented, including the location/assignee relationship and the server deprecation. The description's placement sentence restates in condensed form what the schema already says, adding no format, sizing, or format-selection detail beyond it. Baseline 3 is appropriate when the schema carries the full burden.

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 volume") that clearly separates it from sibling operations like hetzner_attach_volume, hetzner_resize_volume, and hetzner_delete_volume. No sibling is named explicitly, so differentiation relies on the reader inferring the lifecycle role.

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?

The second sentence gives a placement constraint (location or assignee required), which is a prerequisite rather than when-to-use guidance. It never says whether to pick location vs assignee, when automount should be used instead of the separate attach tool, or what to do afterward. Usage context is implied by the create verb rather than stated.

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