Skip to main content
Glama

docker_list_volumes

Read-onlyIdempotent

List Docker volumes to inspect their names and metadata, choosing summary for a compact row or full for detailed inspect-level output.

Instructions

List 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_list_volumes"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput verbosity. `summary` returns a compact `docker ps`-style row (no health-check logs, labels or image digests); `full` returns the inspect-level object. Defaults to `summary` for listings.summary

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds nothing on top of that: no statement about whether the listing covers all volumes, includes dangling ones, or is paginated. With annotations carrying the safety burden the bar is lower, but zero added context keeps this at a 2.

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

Conciseness3/5

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

The one-line description has zero waste but also almost no content; the single short phrase is front-loaded but under-specified rather than efficiently concise. It reads more like a title than an operational description.

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 annotations are rich, so return values and safety need not be explained. However, for a listing tool the description still says nothing about what set of volumes is returned or how format affects the shape, leaving the definition adequate but thin.

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 the single optional format enum is fully documented in the schema, including the difference between summary and full output. The description contributes no additional parameter meaning, so this sits at the baseline 3.

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?

"List Docker volumes" restates the tool name almost verbatim, giving a verb and resource but nothing an agent couldn't infer from the identifier itself. It does not distinguish this tool's output or scope from siblings like docker_create_volume or docker_system_df beyond what the name already implies.

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 alternatives for volume inspection, and no exclusions. The agent is left to infer that this is the read-only counterpart to the create/remove volume tools purely from naming conventions.

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