get_cost_summary
Summarize total AWS cost for a date range and break it down by service, account, region, or cost allocation tag, returning each group's spend and its share of the total.
Instructions
Summarize AWS cost for a date range, grouped by a dimension.
Args:
start: ISO date (inclusive), e.g. "2025-07-01".
end: ISO date (exclusive), e.g. "2025-08-01".
group_by: One of "service", "account", "region", or "tag:<key>"
(e.g. "tag:team") to break the total down by a cost
allocation tag.
Returns the total cost for the period and the cost per group,
sorted descending, each with its share of the total.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "get_cost_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| group_by | No | service |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| groups | Yes | ||
| currency | Yes | ||
| group_by | Yes | ||
| total_cost | Yes |