Skip to main content
Glama

Check Docker

cm_doctor_check_docker
Read-onlyIdempotent

Diagnose Docker/container environment issues by running real probes and returning per-check status, details, and remediation for inventory, Kubernetes, Docker, and Podman.

Instructions

Check docker (cm_doctor). Diagnose + get remediation for the inventory / kubernetes / docker / podman environment.

Runs real probes (constructs the same managers, loads the same inventory, reaches the same kubeconfig the server uses) and returns per-check {name, category, status: ok|warn|fail, detail, remediation} plus a summary.

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": "cm_doctor_check_docker"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNotunnel-manager host alias to probe (SSH reachability + Docker-over-SSH). Call cm_list_hosts to see aliases.
backendNoFor action='run': restrict to one surface — all|docker|podman|kubernetes|inventory (default all).
contextNokubeconfig context to probe for the kubernetes checks.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, but the description adds real value beyond them: it explains that probes are 'real' (constructs the same managers, loads the same inventory, reaches the same kubeconfig the server uses), which tells the agent this makes live connections. It also sketches the per-check result shape (name, category, status, detail, remediation) plus a summary.

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?

Two short, front-loaded sentences with the purpose first and the probe mechanics second; little waste. The parenthetical about managers/inventory/kubeconfig is dense but earns its place as behavioral context.

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, so the return-value sentence is redundant, while the genuinely useful missing piece, how this differs from the narrower doctor checks, is absent. For a multi-surface diagnostic tool with four sibling checks, the definition is adequate but leaves a real routing gap.

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 host, backend and context are already documented in the schema and the description adds no further semantics for them. The one param-related sentence it does include ('For action="run"...') references a nonexistent parameter, which is mildly misleading rather than additive.

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?

The description gives a concrete verb and scope: 'Diagnose + get remediation for the inventory / kubernetes / docker / podman environment', plus the mechanism ('runs real probes'). It is clear what the tool does, but it never distinguishes itself from the sibling doctor tools (cm_doctor_check_podman, cm_doctor_check_kubernetes, cm_doctor_check_inventory, cm_doctor_run), which the name 'check_docker' suggests should be a narrower check.

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 statement of when to use this tool versus the per-surface doctor siblings or cm_doctor_run; an agent must infer it. The backend parameter text also refers to "action='run'", an argument that does not exist in this schema, which adds confusion rather than routing guidance.

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

Deploy Server

Other Tools