Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

docker_bench_security_scan

Runs Docker Bench for Security checks to assess Docker host configuration, identify risky settings, and write assessment results to a file.

Instructions

Execute Docker Bench for Security for Docker security assessment.

Args: checks: Specific checks to run exclude: Checks to exclude output_file: Output file path additional_args: Additional Docker Bench arguments

Returns: Docker security assessment results

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

Input Schema

NameRequiredDescriptionDefault
checksNo
excludeNo
output_fileNo/tmp/docker-bench-results.json
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, yet it says nothing about whether the scan is read-only, that it typically requires binding the Docker socket or privileged access, how long it takes, or how failures surface. Only a one-line 'Returns' statement is given, and an output schema already covers that.

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?

Short and front-loaded with the purpose in the opening sentence. The Args block is boilerplate name-restating rather than wasted prose, so it is compact though not maximally informative.

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

Completeness2/5

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

Four parameters at 0% schema coverage with no annotations and no behavioral caveats means an agent cannot tell what a valid 'checks' value looks like or what access is required. The existence of an output schema excuses explaining return format, but the input side is underspecified.

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 0%, but the description only restates parameter names: 'checks: Specific checks to run' and 'exclude: Checks to exclude' are near-tautologies, and output_file/additional_args add nothing beyond the schema's own titles and defaults. No syntax, format, or accepted values are supplied, so it 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?

The first sentence names a specific verb (Execute) and a specific resource (Docker Bench for Security) for a stated goal (Docker security assessment). It is distinguishable from the Kubernetes-flavored siblings by the Docker scope, though the description never explicitly contrasts itself with them.

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?

No guidance on when to run this versus kube_bench_cis, kube_hunter_scan, or checkov_iac_scan, and no mention of prerequisites such as Docker host access or running the bench container. The agent is told what it does but not when to choose it.

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