Search hotels
search_hotelsFind hotels in one country by name, city, star rating, chain, or amenities. Narrow filters work best; if results are incomplete, continue scanning with the returned cursor.
Instructions
Find hotels in ONE country by name, city/destination, star rating, chain and/or amenities. GIATA has no search endpoint, so this scans hotel records in batches (maxScan per call) and may return a partial result: if complete is false, call again with cursor = nextCursor to continue. Narrow filters (city + name) work best.
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": {
"countryCode": "<countryCode>"
},
"name": "search_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City or destination name, e.g. "Antalya". | |
| name | No | Part of the hotel name, e.g. "Rixos". | |
| chain | No | Part of the chain name, e.g. "Hilton". | |
| limit | No | Maximum items to return (1-25, default 10). | |
| cursor | No | Scan position from a previous nextCursor. | |
| locale | No | Language code for names and labels, e.g. "en", "de", "tr", "pt_BR". Falls back to English when unavailable. | |
| maxScan | No | Maximum hotels to inspect in this call (1-100). | |
| maxStars | No | ||
| minStars | No | ||
| amenities | No | All of these amenity labels must be present (substring match), e.g. ["pool","spa"]. | |
| countryCode | Yes | ISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| matches | Yes | ||
| scanned | Yes | How many hotels were inspected in this call. | |
| skipped | No | Hotels skipped because their record was missing or unreadable. | |
| complete | Yes | True when every hotel in the country has been scanned. | |
| scanStart | Yes | ||
| nextCursor | No | Pass as `cursor` to continue scanning. Absent when the scan is complete. | |
| countryCode | Yes | ||
| totalInCountry | Yes |