Skip to main content
Glama

create_volume

Create a Cinder block storage volume of a given size in GiB, optionally from an image, snapshot, or source volume, to provision persistent storage for OpenStack workloads.

Instructions

Create a Cinder volume. Service: Cinder (block storage). Mutates state.

size_gb is the size in gibibytes. image_id, snapshot_id, and source_volume_id are optional sources. The call returns when the API accepts the volume; status may still be creating.

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": {
      "size_gb": "<size_gb>"
    },
    "name": "create_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
size_gbYes
image_idNo
descriptionNo
snapshot_idNo
volume_typeNo
source_volume_idNo
availability_zoneNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two most important traits: it mutates state and returns as soon as the API accepts the request while status may still be 'creating'. It does not mention quota limits, required permissions, or idempotency, which leaves some behavioral gaps for a write operation.

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?

Four short sentences, front-loaded with the action and the mutation warning, with no filler. Minor redundancy in repeating 'Cinder' in both the first sentence and the service tag.

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?

An output schema exists, so return values need not be explained, and the async-status note is a useful bonus. However, for an 8-parameter mutation tool with zero schema description coverage, the definition leaves too many parameters and preconditions (quota, permissions, source selection) undocumented.

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 0% across 8 parameters, so the description must compensate and it only partially does: it gives units for size_gb ('gibibytes') and identifies three optional source parameters. name, description, volume_type, and availability_zone receive no explanation beyond their self-describing property names, and no guidance is given on how the sources interact.

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 Cinder volume') plus the service domain (block storage), which clearly separates it from attach_volume, extend_volume, delete_volume, and create_snapshot. It never names an alternative explicitly, so the differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing says to prefer create_snapshot versus a volume from source_volume_id, or to use extend_volume instead of provisioning larger. The only hint is that image_id, snapshot_id, and source_volume_id are 'optional sources', but mutual exclusivity or selection rules are not 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