Compare lodging prices across check-in months
compare_lodging_monthsCompare observed nightly lodging rates for one city across the check-in months that were collected, for a single stay length and occupancy. Returns each month's distribution, the like-for-like subset of properties present in every month, and a cheapest month stated only from that subset. Each month is one sampled check-in date, not a monthly average.
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": {
"city": "<city>"
},
"name": "compare_lodging_months"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City ID, e.g. 'th-bangkok'. | |
| rooms | No | ||
| adults | No | ||
| months | No | Restrict to these months, e.g. ['2026-10','2026-11']. Omit to compare every collected month. | |
| nights | No | Stay length to compare across months. Only collected lengths return observations. | |
| freshness_days | No | Only use observations collected within this many days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | Yes | ||
| meta | Yes | ||
| query | Yes | ||
| method | Yes | ||
| suggestions | Yes | ||
| cheapest_month | Yes | ||
| no_data_reason | Yes | ||
| all_observations | Yes | ||
| matched_properties | Yes |