Skip to main content
Glama

aws_cloudwatch_get_metric_data

Retrieve time-series metric data from AWS CloudWatch for monitoring and analysis. Supports multiple metrics and math expressions in a single API call to track performance and resource utilization.

Instructions

Retrieve time-series metric data for one or more CloudWatch metrics. Supports multiple metrics and math expressions in a single call.

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')
metric_data_queriesYesMetric queries. Example: [{"Id": "m1", "MetricStat": {"Metric": {"Namespace": "AWS/EC2", "MetricName": "CPUUtilization", "Dimensions": [{"Name": "InstanceId", "Value": "i-xxx"}]}, "Period": 300, "Stat": "Average"}}]
start_timeYesStart time (ISO 8601, e.g., '2024-01-01T00:00:00Z')
end_timeYesEnd time (ISO 8601)
max_datapointsNoMaximum data points to return (default: 100)
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