Skip to main content
Glama

aws_cloudwatch_get_metric_statistics

Retrieve statistical data for AWS CloudWatch metrics, including Average, Sum, Min, and Max values over specified time periods to monitor and analyze system performance.

Instructions

Get statistics (Average, Sum, Min, Max) for a single CloudWatch metric over a time period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoAWS profile name from ~/.aws/config (e.g., 'default', 'production')
regionNoAWS region override (e.g., 'us-east-1', 'sa-east-1')
namespaceYesMetric namespace (e.g., 'AWS/EC2')
metric_nameYesMetric name (e.g., 'CPUUtilization')
dimensionsNoDimensions (e.g., [{"Name": "InstanceId", "Value": "i-xxx"}])
start_timeYesStart time (ISO 8601)
end_timeYesEnd time (ISO 8601)
periodYesGranularity in seconds (e.g., 300 = 5 minutes)
statisticsYesStatistics to retrieve (e.g., ['Average', 'Maximum'])
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/marcelobrake/aws-mcp'

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