Skip to main content
Glama

Infrastructure Scan (AWS/IaC)

infra_scan
Read-onlyIdempotent

Scan infrastructure-as-code for misconfigurations using Trivy, detecting public S3 buckets, wildcard IAM policies, unencrypted volumes, privileged containers, and exposed ports.

Instructions

AWS / Azure / GCP / Kubernetes / Docker infrastructure-as-code misconfiguration scanning via Trivy. Catches public S3 buckets, wildcard IAM policies, unencrypted volumes, privileged containers, exposed ports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the repository root
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description adds context about the scanning scope and Trivy but does not disclose additional behavioral traits beyond what annotations convey. It is consistent with annotations, showing no contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no waste: the first front-loads the core purpose and technology, the second lists concrete examples. Every element earns its place without redundancy.

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 tool with a single parameter and strong annotations, the description adequately conveys what it scans and where to point it. However, it does not describe the output format or any operational prerequisites, though these are minor gaps given the tool's simplicity.

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?

The schema's only parameter, 'path', is fully described as 'Absolute path to the repository root'. The tool description does not add any additional meaning to this parameter, so the baseline of 3 applies given 100% schema description coverage.

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?

The description clearly states a specific verb (scanning) and resource (infrastructure-as-code) across AWS, Azure, GCP, Kubernetes, and Docker, and lists concrete misconfiguration types like public S3 buckets and wildcard IAM policies. This distinguishes it from sibling scanners like secret_scan and cve_scan.

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 provides no guidance on when to use this tool versus other security scanners, nor does it mention any prerequisites, exclusions, or alternative tools. An agent would have to infer usage from the description alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CerisonAutomation/argus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server