Skip to main content
Glama

docker_remove_volume

Destructive

Remove a Docker volume by name, optionally forcing deletion when needed. Use it to clean up unused storage and reclaim disk space.

Instructions

Remove 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": {
      "volume_name": "<volume_name>"
    },
    "name": "docker_remove_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce remove the volume
volume_nameYesVolume name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds nothing on top: it does not say that removing a volume deletes its data permanently, that the operation fails if the volume is in use, or that a missing volume errors out (which is what idempotentHint=false implies).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence with no wasted words, but this is under-specification rather than conciseness — the sentence adds essentially zero information beyond the tool name, so there is no useful front-loaded content.

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. However, for a destructive mutation exposing a force flag, the description should at minimum warn about irreversible data loss and in-use volume failures; it offers none of that.

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%, with both force and volume_name documented inline, so the baseline of 3 applies. The description contributes no additional meaning about what force overrides or what happens to attached volumes.

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

Purpose2/5

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

"Remove a Docker volume" restates the tool name verbatim and adds no scope, constraints, or contrast with siblings. The resource noun does implicitly distinguish it from docker_remove_container or docker_remove_image, but that distinction comes from the name, not the description.

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 guidance, no mention of prerequisites (e.g. the volume must not be in use), and no pointer to docker_list_volumes or docker_volume_inspect for verifying a volume before deletion. The agent must infer all invocation context.

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