Skip to main content
Glama

docker_stats

Displays live CPU, memory, and network usage for running Docker containers on a specified host so you can monitor resource use and troubleshoot performance.

Instructions

Show CPU, memory and network use of running containers right now.

Input Schema

NameRequiredDescriptionDefault
hostNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden: 'Show' and 'running containers' imply a non-destructive read limited to active containers, which is useful. However it says nothing about whether the call blocks or how long sampling takes, whether a Docker daemon/host connection must be configured, or multi-host behavior.

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?

One sentence, front-loaded with the verb and resource, with the temporal constraint at the end. No filler.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and for a simple live-stats tool the description covers the essentials. The remaining gap is the undocumented host parameter and lack of any note on sampling behavior.

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 coverage is 0% for the single 'host' parameter, and the description never mentions it or explains that it selects which Docker host to query. The param is simple enough that a baseline 3 is defensible, but the description does not compensate for the coverage gap.

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

Purpose4/5

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

Specific verb ('Show') plus resource ('CPU, memory and network use of running containers') and scope qualifier ('right now'). It is clearly distinguishable from docker_ps (container listing) and docker_logs, though it never names a sibling explicitly.

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?

The phrase 'right now' implies a live snapshot as opposed to historical metrics, but there is no statement of when to prefer this over docker_ps, docker_inspect, or docker_disk_usage, and no prerequisites or exclusions.

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