Skip to main content
Glama

docker_resource

Read-only

List Docker images, volumes, and networks, and analyze disk usage to identify where space is consumed, including unused bytes.

Instructions

images, volumes and networks list what a host holds; disk counts what they take, with unused bytes apart from the total. An empty list means asked and found nothing, which is not the same as never asked. What a running container consumes right now is docker_container with stats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesimages, volumes and networks each list what the host holds — volumes with their size and how many containers hold them. disk answers where the space went: four groups, each with what it takes and what nothing uses.
profileNoWhich Docker host, by profile name. Default: the profile marked as default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
diskNo
countNo
actionNo
imagesNo
legendNoWhat the words in this answer mean. A key names the field before the value — "state=running", "containers[].health=unhealthy" — and only the values this answer used are listed.
reasonNo
volumesNo
networksNo
total_bytesNo

Schema Changelog

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

  1. First observedv2.0.1

TDQS

A4.3/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes safety, so the description adds meaningful extra context: an empty list means the query ran and found nothing rather than never having been executed. It also clarifies the semantic difference between listing resources and measuring disk usage.

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

Conciseness5/5

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

Three tightly written sentences convey purpose, scope, empty-list semantics, and the sibling alternative with no wasted words. The core distinction is front-loaded and every sentence earns its place.

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?

With a full input schema, a readOnlyHint annotation, and an output schema present, the description covers the key behavioral nuance and the main alternative tool. Nothing an agent needs to select and invoke this tool correctly is missing.

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%, so the schema already documents both the action enum and profile parameter. The description adds little beyond the schema for parameters, which matches the baseline of 3.

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 a specific verb and resource for each action: images, volumes, and networks list what the host holds, while disk measures usage. It also explicitly distinguishes itself from the docker_container sibling by noting that current running-container consumption belongs to docker_container with stats.

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

Usage Guidelines4/5

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

The description gives clear context on what the tool is for and explicitly points to docker_container as the right tool for live container consumption. It does not enumerate every sibling alternative, but the main decision boundary is stated clearly.

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/hypnosis/docker-mcp-server'

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