Skip to main content
Glama

Google Hotels API 💰$2/1K: Hotel Competitor Rates & Rates Data

search_hotels
Read-only

Find hotel prices for destinations or named hotels by date, including nightly and total rates, ratings, stars, and optional booking-site price comparisons.

Instructions

Hotel prices from Google Hotels for a destination or for named hotels and dates: price per night and total, rating, stars. With includeBookingSites, the price of each hotel on every booking site (official site, Booking.com, Expedia...). Pay per result on your Apify account: run start $0.003, hotel price $0.002, booking-site prices $0.003.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNoNumber of adult guests.
hotelsNoHotel names (e.g. "Novotel Paris Est") or Google Hotels URLs. For each hotel and each date you get the price on every booking site (hotel website, Booking.com, Expedia, Agoda…): cheapest site, official price and the gap between them.
nightsNoLength of stay.
sortByNoOrder of the hotels of each destination in the dataset.
currencyNoCurrency of all prices.
locationsNoCities, areas or landmarks to search, e.g. "Paris", "Lisbon Alfama", "hotels near Eiffel Tower". Each destination returns hotels with their price for your dates, rating, class, amenities and location.
minRatingNoFrom 1 to 5, e.g. 4.2.
checkInDateNoFirst check-in date (YYYY-MM-DD). Default: in 14 days.
includeBookingSitesNoFor each hotel found, also get the price on every booking site (one extra page per hotel, billed separately). Always on for tracked hotels.
maxHotelsPerLocationNoGoogle shows about 18 new hotels per page. Default here: 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description goes beyond that by disclosing the billing model per result type (run start, hotel price, booking-site price) and flagging that includeBookingSites is "one extra page per hotel, billed separately" – cost consequences that an agent would otherwise not know. It still leaves ambiguity about what a "tracked hotel" is.

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

Conciseness4/5

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

Two dense sentences, front-loaded with what the tool returns, followed by the cost model. No filler, though the pricing content partially duplicates the title and the emoji-laden title adds no informational value.

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

Completeness4/5

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

For a 10-parameter read-only search with no output schema and zero required parameters, the description covers the return shape (price per night/total, rating, stars, per-site prices) and cost model well. The notable remaining gap is that it never states the constraint that at least one of locations or hotels should be provided, which matters given the empty required list.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all ten parameters, including defaults for checkInDate and maxHotelsPerLocation. The description adds little parameter-level detail beyond repeating the booking-site cost implication, so the baseline 3 applies.

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?

"Hotel prices from Google Hotels for a destination or for named hotels and dates: price per night and total, rating, stars" states a specific resource, both access modes (destination search vs. named hotels), and the returned fields. It is clearly distinguishable from every sibling in the catalog, none of which handle lodging.

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?

The two modes (destination vs. named hotel) are named, and includeBookingSites is contextualized as an optional per-site price expansion, so the shape of usage is inferable. However, there is no explicit when-to-use/when-not guidance, no statement of prerequisites (e.g. that at least one of locations or hotels must be supplied), and no routing to an alternative tool.

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