Find savings in an AWS bill
analyze_aws_billFind savings in an AWS bill export. Give it the text of a Cost Explorer CSV or an AWS Cost and Usage Report CSV and it returns a ranked list of likely waste (NAT gateway traffic, idle resources, oversized or old-generation volumes and instances, cross-AZ and internet data transfer, Savings Plan sizing), each with a monthly dollar range, the arithmetic, the console and CLI steps, how to verify first, the risk and how to roll back. Deterministic rules, no account access, nothing stored. Findings are suggestions: verify before deleting anything.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"csv": "<csv>"
},
"name": "analyze_aws_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The text of the CSV file, header row included, up to 2 MB. For a bigger file, group by Service, Usage Type and Region in Cost Explorer first. | |
| format | No | ce-csv (Cost Explorer), cur-csv (Cost and Usage Report) or auto to detect it. | auto |
| max_findings | No | How many ranked findings to return. | |
| min_monthly_savings_usd | No | Drop findings whose top-end monthly saving is below this many US dollars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| format | No | ||
| source | No | ||
| web_url | Yes | ||
| findings | Yes | ||
| returned | Yes | ||
| period_end | No | ||
| total_cost | No | ||
| granularity | No | ||
| savings_low | No | ||
| period_start | No | ||
| savings_high | No | ||
| finding_count | Yes | ||
| engine_version | Yes |