Skip to main content
Glama

security_cloudformation_check

Read-only

AWS CloudFormation template security check — Static security review of an AWS CloudFormation template (template= JSON or YAML, or url=). Flags public S3 buckets/policies, Principal * policies, admin wildcards, iam:PassRole on *, open security groups (SSH/RDP/DB ports), public or unencrypted RDS, hard-coded passwords and AWS keys, missing NoEcho, IMDSv1, deprecated Lambda runtimes, public Lambda invoke/URLs, CloudTrail off, KMS rotation, weak ALB/CloudFront TLS, OpenSearch encryption, public EKS API and ECR scanning. Returns findings with fixes, score, A-F grade and PASS/REVIEW/FIX BEFORE DEPLOY/FAIL. 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": {
      "template": "<template>"
    },
    "name": "security_cloudformation_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateYese.g. {"Resources":{"Web":{"Type":"AWS::EC2::SecurityGroup","Properties":{"SecurityGroupIngress":[{"IpProtocol":"tcp","FromPort":22,"ToPort":22,"CidrIp":"0.0.0.0/0"}]}}}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so safety is covered. The description adds genuine context beyond that: what the response contains (findings with fixes, score, A–F grade, PASS/REVIEW/FIX BEFORE DEPLOY/FAIL) and the metered cost of $0.006 USDC via x402 on Base, which matters for an agent deciding whether to pay. It stops short of stating rate limits or whether the target URL is fetched synchronously.

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?

Front-loaded with the purpose, then the input forms, then the check list, then the return shape and price — a sensible ordering. The long taxonomy of checks is dense but each item is a distinct, meaningful coverage claim rather than filler; it could still be tightened (the check list borders on a run-on).

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 one-parameter read-only scanner with no output schema, the description covers inputs, the categories of issues detected, the response shape (findings + fixes + score + grade), and the payment model. What remains unstated — pagination/limits, behavior on malformed templates, or whether `url` must be fetchable — is modest but not covered elsewhere.

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% and the single `template` parameter is documented with a concrete JSON example, so the baseline is 3. The description adds one useful detail the schema does not — that YAML is also accepted and that a URL can be supplied — but the schema only exposes a `template` property while the text advertises a separate `url=` form, leaving how a URL is actually passed slightly ambiguous.

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?

Names a specific verb and resource — static security review of an AWS CloudFormation template — and then enumerates the exact classes of findings (public S3, Principal *, admin wildcards, open SSH/RDP security groups, IMDSv1, CloudTrail off, etc.). The resource is unambiguously distinct from sibling file-type scanners like security_compose_check or security_k8s_check.

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 description implies usage by stating accepted input forms (template= JSON or YAML, or url=) and the verdict scale, but never says when to reach for this tool versus a neighboring scanner or when it is not appropriate. No prerequisites, no prerequisites about template completeness or partial/child stacks are given, so the agent must infer the selection context.

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