Skip to main content
Glama
jowhee327

aws-security-mcp

by jowhee327

list_org_accounts

List all AWS Organization accounts to identify targets for multi-account security scanning. Read-only operation returns the account list.

Instructions

List all accounts in the AWS Organization. Useful for discovering accounts before multi-account scanning. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNoAWS region (default: server region)
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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. First observedv0.7.6

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden for behavioral disclosure. It explicitly states 'Read-only,' which is the most important safety trait for this tool. It does not mention pagination, required IAM permissions, or response shape, but for a simple list operation the core behavior is adequately conveyed.

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 three short sentences with no filler. It front-loads the action, then adds the use-case and the read-only trait. Every sentence earns its place.

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 simple list operation with zero required parameters and rich schema coverage, the description gives sufficient context: what it lists, why it's useful, and its safety profile. It does not describe the exact return fields, but no output schema exists and the phrase 'List all accounts' makes the general return type clear.

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%, and the schema already documents both 'region' and 'provider' with defaults and provider-specific guidance. The description adds no additional parameter semantics, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: 'List all accounts in the AWS Organization.' It is clearly distinct from sibling tools like list_modules or list_groups, and the use-case sentence reinforces its role. It does not explicitly name an alternative, so it falls just short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The sentence 'Useful for discovering accounts before multi-account scanning' gives a clear context for when to invoke the tool. It does not explicitly mention when not to use it or name alternatives, but the use-case is specific enough to guide selection.

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