Skip to main content
Glama

docker_create_volume

Create a named Docker volume with an optional driver and labels to persist container data and manage storage independently of container lifecycles.

Instructions

Create a Docker volume

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

Input Schema

NameRequiredDescriptionDefault
nameYesVolume name
driverNoVolume driverlocal
labelsNoVolume labels

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare openWorldHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is carried structurally. The description adds nothing beyond that: it does not say what happens if a volume of the same name exists, whether a partial failure leaves state behind, or what driver/label side effects occur. No annotation contradiction, but no value added either.

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?

A single front-loaded sentence with zero filler. It is appropriately sized for a simple create tool, though the terseness leaves room that the other dimensions mark as missing content.

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 and the schema fully documents parameters, so the description needs only to establish purpose and behavior. It establishes purpose but leaves behavioral detail (duplicate-name handling, driver semantics) implicit, which is a gap for a mutating tool even a low-stakes one.

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% and all three parameters carry inline descriptions and defaults (driver defaults to "local", labels default to null). The description adds no meaning beyond that, so the baseline of 3 applies. It misses the chance to explain that driver selects a volume plugin.

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?

"Create a Docker volume" gives a specific verb plus resource, which is enough to tell it apart from docker_create_container and docker_create_network by resource name alone. It stops short of an explicit contrast with those siblings, so it is clear but not differentiated in prose.

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 usage is implied by the name: call it when a new volume is needed. There is no explicit when-to-use, no mention of when a volume already exists, and no pointer to docker_volume_inspect or docker_list_volumes for the read path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.