Skip to main content
Glama

aws_call

Run any not-pre-wrapped AWS boto3 read call (Describe/Get/List/Filter) with auto-pagination; enable guarded mutations via mutate and two-phase confirm.

Instructions

Generic boto3 passthrough for the AWS read surface: call any Describe*/Get*/List*/Filter*/Lookup* operation that isn't pre-wrapped (DescribeSecurityGroupRules, GetIPSet, GetWebACL, FilterLogEvents, DescribeTargetHealth, …). operation is the boto3 snake_case method name; params is the boto3 argument object (PascalCase keys). Reads auto-paginate and run read-only. Mutating ops need mutate=true AND dangerous guard mode. Destructive verbs (delete/terminate/destroy/purge) are refused unless enabled in config, and even then require a two-phase confirm (first call returns a token + summary and does NOT touch AWS; re-call with confirm= to execute). region/account pin the call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mutateNoRequired true to run any non-read operation (including destructive ones).
paramsNoboto3 argument object (PascalCase keys), e.g. {"GroupIds": ["sg-0abc"]}.
regionNoAWS region. Empty uses the configured default region.
accountNoAn account label (that AWS account's credentials), or a 12-digit account id (selects its control-plane role). Omit for the default account.
confirmNoSecond-phase confirmation token for a destructive op. Leave empty on the first call to receive a summary + token; re-call with the token to execute.
serviceYesAWS service id, e.g. 'ec2', 'wafv2', 'elbv2', 'logs', 'rds'.
max_itemsNoCap on auto-paginated read items (0 = default 1000).
operationYesboto3 snake_case operation, e.g. 'describe_security_group_rules', 'get_ip_set', 'filter_log_events'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.28.0
    • changedInput schema / properties / account / description
      Previous value: -"Account id selecting a per-account control-plane role (optional)."New value: +"An account label (that AWS account's credentials), or a 12-digit account id (selects its control-plane role). Omit for the default account."
  2. Addedv2.24.0
  3. Removedv2.23.8
  4. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/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 so well: reads auto-paginate and run read-only; mutation requires mutate=true plus dangerous guard mode; destructive verbs are refused unless enabled in config and even then require a two-phase token confirm where the first call does not touch AWS; region/account pin the call. This is exactly the safety, reversibility, and execution-flow detail an agent needs.

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 core purpose and boundary before the safety rules, and nearly every clause earns its place (pagination, mutation gating, two-phase confirm, pinning). It is a dense single block that would read better split into bullets, but it is not padded.

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 an 8-parameter, nested, no-output-schema generic passthrough, the description covers the operational essentials: scope, pagination, mutation/destructive safety, and region/account pinning. It does not describe the shape of the returned boto3 response, which is a minor gap for a generic passthrough.

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%, so the schema already documents all 8 parameters and the baseline is 3. The description reinforces the operation naming convention and params PascalCase format, and adds a little on region/account pinning, but does not mention max_items and adds little beyond the schema.

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?

States a specific mechanism (boto3 passthrough), a clear scope (the AWS read surface), and enumerates the operation patterns it covers (Describe*/Get*/List*/Filter*/Lookup*) with concrete examples. It draws an explicit boundary against pre-wrapped siblings ('that isn't pre-wrapped'), so an agent can tell it apart from aws_list_regions, s3_list_buckets, etc. without opening any schema.

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?

Explains when to reach for it (operations not already pre-wrapped, with example method names) and when mutating/destructive paths apply (mutate=true, dangerous guard mode, two-phase confirm). It implies the pre-wrapped siblings should be preferred for common ops but does not name a specific sibling to route to, so it falls short of explicit when-not guidance.

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