Cross-Project Cost Summary
get_cross_project_costsAggregate and compare cost data across multiple GCP projects, showing each project's total cost and percentage of combined spend. Get an organization-wide cost overview to identify spending patterns.
Instructions
Returns a combined cost breakdown across multiple GCP projects sorted by total spend. Each project shows its name, total cost in USD, and percentage of the combined total. Use this when the user asks about costs across all GCP projects, wants to compare project 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_project_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Cloud provider (GCP-only tool) | |
| project_ids | No | Project IDs to include. Defaults to all known projects. | |
| 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. |