Skip to main content
Glama

Docker Daemon Health

docker_daemon_health

Checks Docker daemon health and reports container counts to verify Docker availability and assess host container load.

Instructions

Check Docker daemon health and container counts.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNo
imagesNo
warningsNo
availableYes
server_versionNo
containers_pausedNo
containers_runningNo
containers_stoppedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. 'Check' implies a read-only diagnostic and 'container counts' hints at the returned payload, but it says nothing about behavior when the daemon is unreachable, whether it times out, or whether it targets a local or remote host.

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?

A single front-loaded sentence with no filler; the health-check purpose comes before the secondary detail about container counts. Slightly compressed to the point where the 'counts' portion is underspecified rather than wasteful.

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?

The tool is a no-argument diagnostic with an output schema, so return values need not be described and there are no parameters to document. The only meaningful omissions are access prerequisites and unreachable-daemon behavior, which are minor for a read-only probe.

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?

The tool takes zero parameters, which would normally set the baseline at 4. However, the description adds no meaning beyond the schema: the phrase 'container counts' is ambiguous about which container states are counted (running vs. total), leaving the agent to rely on the output schema for interpretation.

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?

States a specific verb and resource: 'Check Docker daemon health'. The 'daemon' qualifier distinguishes it from the sibling docker_container_health, so an agent can reasonably tell daemon-level from container-level checks without opening a schema. It does not name that sibling explicitly, which keeps it short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no prerequisites (e.g., that a reachable Docker socket is required). The agent must infer that this is the top-level daemon probe and that docker_container_health covers individual containers.

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