Skip to main content
Glama

security_docker_daemon_check

Read-only

Docker daemon.json security audit — Offline security audit of Docker's /etc/docker/daemon.json (CIS Docker Benchmark section 2): Docker API exposed on tcp:// without TLS or with TLS but no client-certificate verification (root on the host), missing tlscacert/tlscert/tlskey, icc, userns-remap, no-new-privileges, unconfined seccomp, insecure registries and HTTP mirrors, iptables/ip6tables off, default bind ip, live-restore, userland-proxy, log driver and log rotation, debug/experimental, deprecated keys (graph, cluster-store). Returns PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score, grade, API exposure, findings with fixes and a hardened daemon.json. Params: text= (the JSON) or url=. Price: $0.006 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "security_docker_daemon_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes{"hosts":["unix:///var/run/docker.sock","tcp://0.0.0.0:2375"]}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true; the description goes further by naming the CIS section, enumerating the specific config keys checked, and describing the verdict ladder and returned artifacts (score, grade, findings with fixes, hardened daemon.json). It also discloses the payment requirement ($0.006 USDC via x402), which is behavior an agent cannot get from structured fields. Minor tension: 'Offline' sits awkwardly beside openWorldHint=true and an advertised url= input.

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?

Purpose and scope are correctly front-loaded, but the body is one long run-on sentence carrying a dense 20-plus-item enumeration of checked keys. The check list aids selection, yet much of it could be compressed without losing decision-relevant meaning.

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?

For a single-input read-only audit with no output schema, the description supplies what an agent needs: the artifact, the standard applied, the verdict tiers, and the shape of the returned report. The gaps are the phantom url= parameter and no statement of what happens on malformed JSON.

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 100% for the single parameter, so the schema already documents 'text', and the description's 'text= (the JSON)' adds only modest framing. The description also advertises a 'url=' input that does not exist in the input schema, which could lead an agent to attempt an unsupported call form.

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?

States a specific verb and resource: 'Offline security audit of Docker's /etc/docker/daemon.json (CIS Docker Benchmark section 2)'. That is clearly distinguishable from the sibling security_dockerfile_check and security_compose_check, since the artifact audited is named exactly.

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

Usage Guidelines3/5

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

The word 'Offline' and the verdict 'FIX BEFORE DEPLOY' imply this is a pre-deployment static audit, and the input hint ('text= (the JSON)') tells the agent what to supply. But there is no explicit statement of when to prefer this over the Dockerfile or compose siblings, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources