Skip to main content
Glama
prashantgupta123

AWS FinOps MCP Server

find_unused_amis

Identify Amazon Machine Images (AMIs) not associated with EC2 instances, Auto Scaling Groups, or Spot Fleet Requests to optimize AWS costs and reduce storage expenses.

Instructions

Find AMIs not used by any EC2 instances, ASGs, or Spot Fleet Requests.

Args:
    region_name: AWS region name
    period: Minimum age in days for AMI to be considered unused (default: 90)
    max_results: Maximum results to return (default: 100)
    profile_name: AWS profile name (optional)
    role_arn: IAM role ARN to assume (optional)
    access_key: AWS access key ID (optional)
    secret_access_key: AWS secret access key (optional)
    session_token: AWS session token for temporary credentials (optional)

Returns:
    Dictionary with unused AMIs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_nameNous-east-1
periodNo
max_resultsNo
profile_nameNo
role_arnNo
access_keyNo
secret_access_keyNo
session_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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. It discloses the tool's read-only nature by implying it 'finds' unused AMIs without modifying them, but lacks details on permissions, rate limits, or error handling. The description adds some context but is incomplete for a tool with 8 parameters.

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?

The description is well-structured and appropriately sized, with a purpose statement followed by 'Args' and 'Returns' sections. It avoids redundancy, though the parameter list is lengthy due to the high parameter count, which is necessary for clarity.

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?

Given the tool's complexity (8 parameters, no annotations, but has an output schema), the description is mostly complete. It covers purpose, parameters, and return type, though it could improve by adding usage guidelines or behavioral details like authentication requirements.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by listing all 8 parameters with clear semantics, including defaults and optionality (e.g., 'period: Minimum age in days for AMI to be considered unused (default: 90)'). It adds meaning beyond the bare schema, making parameters understandable.

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?

The description clearly states the tool's purpose with a specific verb ('Find') and resource ('AMIs not used by any EC2 instances, ASGs, or Spot Fleet Requests'), distinguishing it from siblings like 'find_unused_cloudwatch_alarms' or 'find_unused_s3_buckets' by focusing on AMIs and their usage status.

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?

The description provides no guidance on when to use this tool versus alternatives, such as other 'find_unused_' tools for different resources or cost analysis tools. It lacks explicit context, exclusions, or prerequisites, offering only the basic functionality.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prashantgupta123/aws-pillar-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server