Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

kube_bench_cis

Run kube-bench CIS Kubernetes benchmark checks across master, node, etcd, and policy targets to identify configuration risks and produce JSON or YAML results.

Instructions

Execute kube-bench for CIS Kubernetes benchmark checks.

Args: targets: Targets to check (master, node, etcd, policies) version: Kubernetes version config_dir: Configuration directory output_format: Output format (json, yaml) additional_args: Additional kube-bench arguments

Returns: CIS Kubernetes benchmark 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": "kube_bench_cis"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetsNo
versionNo
config_dirNo
output_formatNojson
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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the check is read-only against the cluster, whether it shells out to an external binary or container, what permissions are needed, or how long a run takes. Only the 'Returns: CIS Kubernetes benchmark results' line hints at output shape, which the output schema already covers.

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?

The purpose sentence is front-loaded and the Args block is terse with no filler. The 'Args:'/'Returns:' docstring scaffolding is slightly boilerplate, and the Returns section partially duplicates the existing output schema, but nothing is verbose.

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 return values need no elaboration, and all five parameters are at least named. The gap is behavioral: with no annotations and a 0%-covered schema, an agent still cannot tell what environment or privileges the execution requires, which matters for a cluster benchmark runner.

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%, so the description must compensate, and it does partially: 'targets' is glossed with concrete values (master, node, etcd, policies) and 'output_format' with (json, yaml), which the bare schema titles do not provide. However 'version', 'config_dir', and 'additional_args' get only restatements of their titles, leaving format, expected values, and interaction between targets and config_dir undocumented.

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?

Names a specific tool and resource: 'Execute kube-bench for CIS Kubernetes benchmark checks.' That is enough to separate it from the binary-analysis and web-scanning siblings, but it never explicitly contrasts itself with adjacent scanners such as kube_hunter_scan, checkov_iac_scan, or docker_bench_security_scan, so an agent must infer the boundary.

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 description contains no when-to-use or when-not-to-use guidance, no prerequisites (cluster access, kubeconfig, running as root), and never names an alternative. An agent knows what the tool does but not under what conditions to choose it over the many other security-scan siblings.

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