get_emr_cost_summary
Analyze EMR Serverless resource usage and calculate estimated costs by aggregating vCPU hours, memory, and storage across recent job runs to understand compute expenses.
Instructions
Get a summary of EMR Serverless resource usage and estimated costs.
Aggregates vCPU hours, memory GB-hours, and storage GB-hours across recent job runs. Useful for understanding compute costs.
Args: application_id: Optional — filter to one application. If omitted, scans all. days: Number of days to look back (default 7). env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.
Returns a cost summary with per-job and total resource usage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_emr_cost_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | No | ||
| days | No | ||
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |