analyze_cost_allocation
Measures cost allocation on a local FOCUS bill by calculating tagged spend coverage, cost per team or sub-account, and missing required tags for showback/chargeback.
Instructions
FinOps allocation on the user's actual bill (a local FOCUS 1.x CSV export; nothing is sent anywhere). Measures how much allocatable cost carries the tags used for showback / chargeback, coverage per required tag, cost by the values of one tag (e.g. team), cost by sub-account, and the biggest untagged services and resources. Use for: 'how much of our spend is tagged', 'cost per team', 'what is missing a cost-center tag'.
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": {
"file_path": "<file_path>"
},
"name": "analyze_cost_allocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| tag_key | No | Break cost down by the values of this tag. | |
| file_path | Yes | Local path to a FOCUS export, .csv or .csv.gz. | |
| required_tags | No | Tag keys every resource should carry, e.g. ['team', 'env']. Omit to count any tag as tagged. |