Skip to main content
Glama
aws-security-mcp

aws-security-mcp

by jowhee327

scan_and_report

Run a full AWS security scan and generate reports in one step, avoiding large data transfers between tools; reports are saved to ~/.aws-security/reports/.

Instructions

Run a full security scan AND generate reports in one step. Avoids large data transfer between tools. Reports are saved to ~/.aws-security/reports/

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": "scan_and_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage: zh or en (default: zh)
regionNoAWS region (default: server region)
reportsNoReport types to generate (default: all)
org_modeNoEnable multi-account org scanning
providerNoCloud provider to scan (default: aws). With huaweicloud, `region` is a Huawei Cloud region ID (e.g. cn-north-4); omit it or pass "all" to scan every region project of the account. Huawei Cloud Phase 1 is single-account (org_mode falls back to the current account with a warning). With alicloud (EXPERIMENTAL — not yet validated against a live account), region is an Alibaba Cloud region ID (e.g. cn-hangzhou); omit or "all" to scan every region; single-account only in this phase. With azure (EXPERIMENTAL — not yet validated against a live account), the China cloud (21Vianet) is the default; set AZURE_CLOUD=global for public cloud. region is an Azure subscription ID; omit or "all" to scan every visible subscription.
role_nameNoIAM role name for cross-account scanning
ai_summaryNoOptional pre-generated AI executive summary (Markdown/plain text). Rendered in reports + dashboard if present; omit to hide.
account_idsNoFilter to specific account IDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.10.0
    • changedInput schema / properties / provider / description
      Previous value: -"Cloud provider to scan (default: aws). With huaweicloud, `region` is a Huawei Cloud region ID (e.g. cn-north-4); omit it or pass \"all\" to scan every region project of the account. Huawei Cloud Phase 1 is single-account (org_mode falls back to the current account with a warning)."New value: +"Cloud provider to scan (default: aws). With huaweicloud, `region` is a Huawei Cloud region ID (e.g. cn-north-4); omit it or pass \"all\" to scan every region project of the account. Huawei Cloud Phase 1 is single-account (org_mode falls back to the current account with a warning). With alicloud (EXPERIMENTAL — not yet validated against a live account), region is an Alibaba Cloud region ID (e.g. cn-hangzhou); omit or \"all\" to scan every region; single-account only in this phase. With azure (EXPERIMENTAL — not yet validated against a live account), the China cloud (21Vianet) is the default; set AZURE_CLOUD=global for public cloud. region is an Azure subscription ID; omit or \"all\" to scan every visible subscription."
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "aws",
      -  "huaweicloud"
      -]New value: +[
      +  "aws",
      +  "huaweicloud",
      +  "alicloud",
      +  "azure"
      +]
  2. Changed1 schema field changedv0.9.0
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "Cloud provider to scan (default: aws). With huaweicloud, `region` is a Huawei Cloud region ID (e.g. cn-north-4); omit it or pass \"all\" to scan every region project of the account. Huawei Cloud Phase 1 is single-account (org_mode falls back to the current account with a warning).",
      +  "enum": [
      +    "aws",
      +    "huaweicloud"
      +  ],
      +  "type": "string"
      +}
  3. First observedv0.7.6

TDQS

B3.4/5.0
Behavior3/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. It does disclose two useful traits: the tool writes files to ~/.aws-security/reports/ and it exists to avoid transferring large result payloads between tools. It says nothing about required credentials, expected runtime, whether the scan is read-only against the account, or how the multi-provider/org modes affect behavior.

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?

Three short sentences, front-loaded with the action and followed by the two pieces of genuinely non-obvious context (transfer savings, output path). No filler, though it is arguably too terse for an eight-parameter, multi-cloud tool.

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 schema fully documents all eight parameters and there is no output schema to explain, which covers a lot of ground. However, for a tool that scans four cloud providers and can write report artifacts, the description omits what the scan actually covers, what credentials or prerequisites are needed, and what an agent gets back besides file paths.

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 100%, with per-parameter prose covering defaults, enum values, and provider-specific region semantics, so the schema already does the heavy lifting. The description adds no parameter meaning beyond it, which is the expected baseline when coverage is complete.

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?

States a specific compound action: run a full security scan and generate reports in one step, plus where output lands (~/.aws-security/reports/). This distinguishes it from the standalone scan_all and generate_report siblings by making the bundling explicit, though it never names those siblings to close the loop.

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 phrase 'in one step' and 'avoids large data transfer between tools' implies this should be preferred over calling scan_all and generate_report separately, but the when-to-use is left to inference. There is no guidance on when NOT to use it (e.g., when you only want a report from an existing scan, or only want scan findings without files written).

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