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

attach_volume

Idempotent

Attach a volume to a server in the same location and return an Action for tracking the operation.

Instructions

Attach a volume to a server (must be in the same location). Returns an Action

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>",
      "server": "<server>"
    },
    "name": "attach_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
serverYes
automountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, idempotentHint=true and openWorldHint=true, so safety is largely covered. The description contributes the location prerequisite and the fact that it returns an Action (an async job handle), which is genuinely useful beyond the annotations, but it says nothing about what happens if the volume is already attached.

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, front-loaded with the action and followed by the key constraint and return type. No filler, though the parenthetical constraint would read better as a separate sentence.

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 low-complexity three-parameter mutation the description covers the core action, the main prerequisite and the async return type. It remains incomplete on the automount parameter and on behavior when the volume is already attached, and there is no output schema to fill that gap.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and it largely does not. It names the volume and server implicitly but leaves the third parameter 'automount' (boolean) completely undiscussed, including its default behavior.

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 pair ('Attach a volume to a server'), which is clearly separable from detach_volume, create_volume, and the attach_iso / attach_server_to_network siblings. It does not explicitly name those alternatives, but the object of the action is unambiguous.

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?

Adds one real precondition — the volume and server must be in the same location — which prevents a class of bad calls. However, it gives no guidance on when to use this versus detach_volume, create_volume, or attach_iso, and no exclusion or failure conditions are described.

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