Skip to main content
Glama
mcp-aws
by Preeti325

list_ec2_instances

List EC2 instances in a specified AWS region to inspect available compute resources.

Instructions

List EC2 instances in a specific region

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": {
      "region": "<region>"
    },
    "name": "list_ec2_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionYesAWS Region (e.g. us-east-1, us-west-2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. The word 'List' implies a safe read operation, but nothing is said about pagination behavior, the maximum number of instances returned, required IAM permissions, whether terminated instances are included, or what shape the response takes. For a tool with zero annotation coverage, this is a substantial omission.

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?

One short, front-loaded sentence with zero filler — the resource and the scoping constraint appear immediately. It is not verbose or padded, though its brevity edges toward under-specification rather than exemplary structure.

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?

This is a low-complexity, single-parameter tool with no output schema, so the description does not need to explain return values in detail. Still, an agent gets no sense of result volume, pagination, or filtering, which matters when listing a potentially large resource set. Adequate but with clear gaps.

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 single required parameter already documents the AWS region with concrete examples (us-east-1, us-west-2). The description's phrase 'in a specific region' reinforces that exactly one region is targeted per call but adds no format or edge-case detail beyond the schema. Baseline 3 is correct when the schema does the heavy lifting.

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 gives a concrete verb plus resource plus scope: 'List EC2 instances in a specific region.' An agent can immediately tell this is a read-only enumeration of EC2 instances scoped by region, and the sibling names (S3 buckets, CloudWatch logs) are clearly different resources, so no sibling confusion arises. It stops short of a 5 only because it does not explicitly contrast itself with any alternative listing or filtering tool.

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?

There is no when-to-use guidance beyond the self-evident reading of the name, no prerequisites (credentials, permissions), and no statement about when another tool would be preferable. 'In a specific region' constrains the call but does not tell the agent when to choose this tool versus, say, a broader inventory tool. This matches the calibration case where a clear statement of purpose without any usage conditions scores 2.

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