Skip to main content
Glama

attach_volume

Attach a Cinder volume to a Nova server to add block storage to an instance. Use it when a running server needs extra persistent disk capacity.

Instructions

Attach a Cinder volume to a Nova server.

Service: Nova volume attachment (the supported path for Cinder attach). Mutates state.

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": {
      "server_id": "<server_id>",
      "volume_id": "<volume_id>"
    },
    "name": "attach_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo
server_idYes
volume_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does usefully declare 'Mutates state', which is the single most important trait to disclose. However it omits permissions required, idempotency when the volume is already attached, failure modes, and any zone/state constraints, so the disclosure is a bare minimum for a destructive infrastructure change.

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?

Short and front-loaded: the identifying sentence comes first, followed by two terse qualifier lines. The fragmented 'Service:' / 'Mutates state.' lines are slightly staccato but each carries information and there is no padding.

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

Completeness2/5

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

An output schema exists so return values need not be explained, but for a three-parameter mutation tool with zero schema coverage and zero annotations, the description should cover the device parameter and attach prerequisites. Those gaps leave an agent unable to construct a correct call without external knowledge.

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% across three parameters, and the description says nothing about server_id, volume_id, or the optional 'device' parameter. The 'device' argument in particular (presumably a device name like /dev/vdb, defaulting to null/auto-assign) needs explanation that is absent from both schema and description.

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

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and both resources ('Attach a Cinder volume to a Nova server'), and the 'Service: Nova volume attachment' line clarifies which API surface is being used. An agent can distinguish this from detach_volume or create_volume without opening any schema.

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 parenthetical '(the supported path for Cinder attach)' implies this is preferred over alternatives, but never names an alternative or states when not to use it. No prerequisites are given (volume must be available, server state, same availability zone), which are essential for an attach operation.

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