Skip to main content
Glama

Groundsocial

Search Google Hotels

google_hotels_search
Read-onlyIdempotent

Search Google Hotels: names, classes, ratings, nightly rates for your dates.

Hotels for a place on Google Hotels: name, class, rating and review count, the lead nightly rate (and with taxes) for the dates, coordinates, check-in and check-out times, description, website, photo and hotel_id for google_hotels_info. keyword is the search ("hotels in Paris", "Marriott near JFK"); location_name narrows it; check_in/check_out (YYYY-MM-DD) price a stay (default: Google’s next night).

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "keyword": "<keyword>"
    },
    "name": "google_hotels_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoTwo-letter country (Google’s gl), default us.
keywordYes
check_inNo
currencyNoDefault USD.
languageNoInterface language code (Google’s hl), default en.
check_outNo
location_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive semantics, so the description adds genuinely new behavior: 1 credit per call, automatic refund on failure, public-data-only restriction, and that responses carry cost_credits and credits_remaining. The default-date behavior is also disclosed, which an agent could not infer from the schema's pattern alone.

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?

Front-loads the resource and returned fields, then parameter meaning, then cost/behavior, which is a sensible order. There is mild redundancy in restating "Google Hotels" twice across the first two sentences, but no filler sentences.

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 7-parameter search tool with no output schema, it covers query semantics, date pricing, cost, and the shape of the credit fields returned. It does not state how many results come back or whether pagination exists, which is the only meaningful omission for a discovery tool.

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

Parameters5/5

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

Schema coverage is only 43%, and the description compensates precisely for the undocumented parameters: keyword's query semantics with examples, location_name's narrowing role, and the YYYY-MM-DD format plus defaulting behavior for check_in/check_out. The three parameters that do have schema descriptions (country, currency, language) are already covered, so the gap is closed.

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?

States a specific verb and resource ("Search Google Hotels") and enumerates the returned data (name, class, rating, review count, nightly rate, coordinates, times, website, photo, hotel_id). It also distinguishes itself from google_hotels_info by noting hotel_id feeds that tool, so an agent can separate search from detail lookup without opening a schema.

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

Usage Guidelines4/5

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

Explains that keyword is the actual query with concrete examples, that location_name narrows the search, and that check_in/check_out price a specific stay while omitting them defaults to Google's next night. It routes to google_hotels_info for details but gives no explicit when-not-to-use guidance versus other hotel search siblings such as tripadvisor_hotels_get or booking_search_all.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.