Cross-Subscription Cost Summary
get_cross_subscription_costsRetrieve combined cost breakdown across multiple Azure subscriptions, sorted by total spend. Shows each subscription's cost and percentage of total, with graceful failure handling.
Instructions
Returns a combined cost breakdown across multiple Azure subscriptions sorted by total spend. Each subscription shows its name, total cost in USD, and percentage of the combined total. Handles partial failures gracefully — if some subscriptions are inaccessible, returns results for the rest with a warning. Use this when the user asks about costs across all subscriptions, wants to compare subscription spending, or needs an organization-wide cost overview.
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": {
"provider": "<provider>"
},
"name": "get_cross_subscription_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Cloud provider (Azure-only tool) | |
| subscription_ids | No | Subscription IDs to include. Defaults to all enabled subscriptions. | |
| start_date | No | Start date (YYYY-MM-DD). Defaults to first of current month. | |
| end_date | No | End date (YYYY-MM-DD). Defaults to today. |