Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

checkov_iac_scan

Run infrastructure-as-code security scans to detect misconfigurations and policy violations across Terraform, CloudFormation, Kubernetes, and other frameworks.

Instructions

Execute Checkov for infrastructure as code security scanning.

Args: directory: Directory to scan framework: Framework to scan (terraform, cloudformation, kubernetes, etc.) check: Specific check to run skip_check: Check to skip output_format: Output format (json, yaml, cli) additional_args: Additional Checkov arguments

Returns: Infrastructure as code security scanning 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": "checkov_iac_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkNo
directoryNo.
frameworkNo
skip_checkNo
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?

With no annotations, the description carries the full behavioral burden and does not state that this is a read-only analysis, whether it writes any files or reports, or how it behaves when no framework is detected (framework defaults to empty). It also gives no indication of runtime cost or failure semantics.

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?

Front-loaded one-liner followed by a tidy Args list, but several lines are tautological ("directory: Directory to scan", "check: Specific check to run") and the Returns line duplicates the existing output schema.

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?

The output schema covers return values, so the description needn't explain them. But for a six-parameter tool with zero schema coverage and no annotations, missing detail on check-ID syntax, framework auto-detection, and safety profile leaves real gaps for correct invocation.

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 so partially: it enumerates framework values (terraform, cloudformation, kubernetes) and output formats (json, yaml, cli), which the schema lacks via enums. However, check/skip_check formats (single ID vs comma-separated list) and additional_args syntax are left unexplained.

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 engine and verb: "Execute Checkov for infrastructure as code security scanning." This is clearly a distinct tool from siblings like terrascan_iac_scan by virtue of naming the engine, though the description never contrasts the two.

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 statement of when to choose this over the sibling IaC scanners (terrascan_iac_scan), no prerequisites such as requiring a config/checkov install, and no guidance on defaults. The Args block is a parameter list, not usage 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