Skip to main content
Glama

docker_volume_prune

Destructive

Remove unused Docker volumes to reclaim disk space and clean up orphaned storage. Use it to eliminate volumes no longer attached to containers.

Instructions

Prune unused Docker volumes

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "docker_volume_prune"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety profile is known. The description adds the meaningful qualifier 'unused', indicating that volumes still in use are not targeted, which goes modestly beyond the annotations. It does not state that deletion is irreversible or what happens when no volumes qualify.

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 words, front-loaded with the verb and no filler. The terseness is close to the limit, but nothing is redundant.

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 and there are no parameters, so those burdens are lifted. For a destructive, non-idempotent operation, though, the description never warns that volume data is permanently lost, which is the key fact an agent needs before invoking it.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4. There is nothing parameter-related the description could reasonably clarify.

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

Purpose3/5

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

The description names a specific verb ('Prune') and resource ('Docker volumes'), so the operation is identifiable. However, it does not distinguish itself from siblings such as docker_remove_volume or docker_system_prune, leaving the agent to infer the scope difference from names alone.

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 guidance on when to call this versus docker_remove_volume (targeted deletion) or docker_system_prune (broader cleanup), and no note of prerequisites or filters. The only implied usage is the word 'unused', which is not expanded into a condition an agent can act on.

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