Compare two US metros
compare_cost_of_livingCompare the cost of living between two US metro areas and return the equivalent salary — the income needed in the second city to hold the same purchasing power. Uses BEA Regional Price Parities where the US average is 100. Answers 'is X more expensive than Y' and 'what salary do I need in Y to match X'. Call list_metros first if unsure of a city name.
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": {
"fromCity": "<fromCity>",
"toCity": "<toCity>"
},
"name": "compare_cost_of_living"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salary | No | Salary in USD to convert. Defaults to 100000. | |
| toCity | Yes | Destination metro, e.g. "San Francisco, CA" or just "San Francisco" | |
| fromCity | Yes | Origin metro, e.g. "Austin, TX" or just "Austin" |