Skip to main content
Glama
aws-cost-mcp

aws-cost-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_REGIONNoAWS region used by the server. Credentials are resolved by the AWS SDK default chain and never logged or returned to the client.
AWS_PROFILENoStandard AWS credentials profile. Credentials are resolved by the AWS SDK default chain and never logged or returned to the client.
AWS_COST_MCP_CURRENCYNoDisplay currency.USD
AWS_COST_MCP_MAX_ROWSNoMax rows returned before grouping into "others".15
AWS_COST_MCP_CACHE_TTLNoCache TTL in seconds.900
AWS_COST_MCP_LOG_LEVELNoLog level. `debug` logs every AWS call to stderr — never stdout.info

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_cost_breakdownA

AWS cost for a date range, grouped by service, account, region, usage type or cost allocation tag. Defaults to month-to-date by service. Returns the top groups sorted by cost, with the rest collapsed into 'Others'.

compare_periodsA

Diff AWS cost between two periods per service, account, region, usage type or tag, ranked by absolute change. Use it to find what drove a rise or drop. With no dates it compares month-to-date against the equally long period right before it.

get_forecastA

Forecast AWS spend from today until the end of the month (or a custom end date). Covers only the remaining days; combine with get_cost_breakdown for spend already incurred.

list_tag_valuesA

Discover the cost allocation tag keys in use, or the values of one key, so cost breakdowns can be filtered or grouped by tags that actually exist.

get_anomaliesA

Recent cost anomalies flagged by AWS Cost Anomaly Detection, biggest impact first, with the service, region, account and usage type that caused each. Needs an anomaly monitor set up in the Billing console.

get_rightsizingA

EC2 instances AWS recommends to downsize or terminate, largest estimated monthly savings first. Needs rightsizing recommendations enabled in Cost Explorer preferences.

Prompts

Interactive templates invoked by user choice

NameDescription
investigate-cost-spikeGuided workflow: compare periods, drill into the biggest movers, attribute by tag, forecast, then explain.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool maps to a distinct cost-analysis task: single-period breakdown, period-over-period diff, forecast, tag discovery, anomaly detection, and rightsizing. The only potential overlap (get_cost_breakdown vs compare_periods) is explicitly clarified by descriptions that differ in output shape and intent. No tool appears to duplicate another's purpose.

Naming Consistency5/5

All six names follow a consistent verb_noun snake_case pattern (get_*, list_*, compare_*). The conventions are predictable and readable throughout, with no mixed casing or stylistic outliers.

Tool Count5/5

Six tools is a tight, well-scoped surface for AWS cost analysis, with each tool earning its place. There is no filler or redundant tool, and the set is not so thin that core workflows would be impossible.

Completeness4/5

The surface covers the main cost lifecycle: breakdown, comparison, forecast, tag discovery, anomalies, and rightsizing. Minor gaps exist around commitment utilization (Savings Plans/RI coverage), budget status, and resource-level cost detail, but agents can work around these for most spend-investigation tasks.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues