Skip to main content
Glama

remove_volume

Delete a Docker volume by name after user confirmation. Preview the deletion first; pass confirm=True to permanently remove data. Fails if the volume is in use.

Instructions

Deletes a Docker volume by name. Data stored in it is permanently lost. Fails if the volume is currently in use by a container. The first call (confirm=False, the default) does NOT delete anything — it only previews what would happen. Only pass confirm=True after the user has explicitly agreed to the deletion. Args: volume_name: name of the volume to remove confirm: must be True to actually perform the deletion (default False)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
volume_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The description warns that data is permanently lost, making the destructive nature explicit. It also explains the two-step confirmation behavior, which is a significant side-effect control. Since no annotations are provided, the description carries the full burden of transparency, and it does so effectively.

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?

The description is a bit verbose but each sentence adds necessary warnings or behavioral details. The structure clearly separates the action, the preview behavior, and the parameter explanations. It is well-organized, though the confirm behavior is slightly repeated in the Args section.

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

Completeness5/5

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

The description covers the core behavior, the preview mode, the failure condition, and the permanent data loss. It also explains the confirm flag clearly. Given the output schema is present, the description does not need to detail return values. It is sufficiently complete for an agent to use the tool correctly.

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

Parameters5/5

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

The description explains volume_name as the name of the volume to delete, and confirm as a boolean that must be True to perform the deletion, with a default of False. This fully covers both parameters despite the schema having no descriptions. The semantics are clear and actionable.

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

Purpose5/5

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

The description clearly states the action: 'Deletes a Docker volume by name.' It also specifies the resource and distinguishes it from related operations like removing stacks or containers. The verb is specific and unambiguous.

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

Usage Guidelines5/5

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

The description explicitly explains the confirm flag behavior, noting that the first call only previews and that confirm=True is required to actually delete. It also states a key failure condition: the volume must not be in use by a container. This gives clear guidance on how to invoke the tool safely.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Chandrakant1988/https-github.com-Theo-Gkisis-mcpdockery'

If you have feedback or need assistance with the MCP directory API, please join our Discord server