Skip to main content
Glama

Remove volume

docker_remove_volume
Destructive

Remove a named Docker volume with optional force and confirmation to clean up unused storage or discard persisted container data.

Instructions

Invoke the remove_volume operation.

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_remove_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
forceNo
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds nothing about the consequence — permanent data loss for the named volume, whether removal fails if the volume is in use, or how force/confirm interact. The text does not contradict the annotations, but it contributes zero behavioral context on a destructive operation.

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?

One short sentence with no filler, but it is under-specified rather than concise; the brevity buys nothing because the sentence carries no information beyond the tool name.

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

Completeness1/5

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

For a destructive, open-world tool with 4 parameters, half of them undocumented in the schema, and no output schema, the description does not provide the minimum an agent needs — irreversible data loss and force semantics go unstated.

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 coverage is only 50%: name and force have no descriptions in the schema, and the description supplies no meaning for them either — notably force, whose blast radius matters for a destructive call. Only confirm and context are documented, and that documentation lives in the schema, not the description.

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?

"Invoke the remove_volume operation" is a near-tautology that restates the tool name and title without saying what a volume is, what gets removed, or how it differs from siblings like docker_remove_container or docker_compose_down.

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?

No when-to-use guidance, no prerequisites, and no mention of when to prefer an alternative such as docker_compose_down for stack cleanup. The agent must infer everything from the name alone.

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