Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

Search hotels

search_hotels
Read-onlyIdempotent

Find 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

NameRequiredDescriptionDefault
cityNoCity or destination name, e.g. "Antalya".
nameNoPart of the hotel name, e.g. "Rixos".
chainNoPart of the chain name, e.g. "Hilton".
limitNoMaximum items to return (1-25, default 10).
cursorNoScan position from a previous nextCursor.
localeNoLanguage code for names and labels, e.g. "en", "de", "tr", "pt_BR". Falls back to English when unavailable.
maxScanNoMaximum hotels to inspect in this call (1-100).
maxStarsNo
minStarsNo
amenitiesNoAll of these amenity labels must be present (substring match), e.g. ["pool","spa"].
countryCodeYesISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES".

Output Schema

NameRequiredDescriptionDefault
noteYes
matchesYes
scannedYesHow many hotels were inspected in this call.
skippedNoHotels skipped because their record was missing or unreadable.
completeYesTrue when every hotel in the country has been scanned.
scanStartYes
nextCursorNoPass as `cursor` to continue scanning. Absent when the scan is complete.
countryCodeYes
totalInCountryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the bar is lower, yet the description still adds the crucial non-obvious behavior: there is no underlying search endpoint, results are produced by batch scanning bounded by maxScan, and the response may be partial with a `complete` flag and `nextCursor`. That partial-result contract is the single most important thing an agent needs to avoid misreporting an incomplete answer as exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with scope, then the batching caveat, then the practical filter tip. The mention of GIATA lacking a search endpoint is short and directly justifies why batching exists, so no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter tool with an output schema and full annotations, the description covers everything an agent would otherwise get wrong: mandatory country scoping, scan-per-call limits, and the cursor loop. Return-field details are appropriately left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 82% schema coverage the baseline is 3, and the description earns an upgrade by explaining the relationship between parameters rather than restating them: maxScan caps records inspected per call, cursor is the continuation token from nextCursor, and combining narrow filters is the recommended strategy. It does not touch locale or amenity matching semantics, which the schema covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Find hotels') and immediately bounds the scope to ONE country plus the exact filter dimensions (name, city/destination, star rating, chain, amenities). That enumeration distinguishes it in effect from the single-hotel siblings like get_hotel and the unfiltered list_hotels without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives operative guidance on how to use the tool ('Narrow filters (city + name) work best') and how to continue a partial scan, which is genuinely useful. However, it never states when to prefer this over list_hotels or the get_hotel* family, so the alternative-selection guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.