Skip to main content
Glama
prashantgupta123

AWS FinOps MCP Server

find_asgs_with_old_amis

Identify Auto Scaling Groups using outdated Amazon Machine Images to optimize AWS costs and maintain security compliance.

Instructions

Find Auto Scaling Groups using AMIs older than the specified period.

Args:
    region_name: AWS region name
    period: Minimum age in days for AMI to be considered old (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 ASGs using old 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 purpose and return type (dictionary with ASGs using old AMIs), but lacks details on behavioral traits such as required AWS permissions, potential rate limits, whether it performs read-only operations (implied by 'Find'), or error handling. The description does not contradict any annotations.

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 well-structured and front-loaded with the core purpose, followed by organized sections for arguments and returns. Each sentence earns its place by clarifying parameters and output without redundancy, making it efficient and easy to parse.

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 complexity (8 parameters, no annotations, but with an output schema indicated), the description is largely complete. It explains the tool's purpose, parameters, and return type. However, it could improve by addressing behavioral aspects like permissions or limitations, though the output schema may cover return values. It's adequate but has minor gaps in behavioral context.

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?

Schema description coverage is 0%, so the description must compensate fully. It provides detailed semantics for all 8 parameters, including their purposes (e.g., 'region_name: AWS region name', 'period: Minimum age in days for AMI to be considered old'), defaults, and optional status. This adds significant value beyond the bare 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?

The description clearly states the specific action ('Find Auto Scaling Groups using AMIs older than the specified period'), identifies the target resource (Auto Scaling Groups with old AMIs), and distinguishes it from siblings like 'find_unused_amis' (which finds unused AMIs) or 'find_ec2_instances_with_old_generations' (which focuses on instance generations rather than AMI age in ASGs).

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 description implies usage for identifying outdated AMIs in ASGs based on age, but does not explicitly state when to use this tool versus alternatives (e.g., 'find_ec2_instances_with_old_generations' for instance types, or 'find_unused_amis' for unused AMIs). It provides context (AWS region, AMI age threshold) but lacks explicit guidance on exclusions or prerequisites.

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