Skip to main content
Glama

Pipefetch

Google Hotels

google_hotels
Read-only

Hotels for a place with Google's prices for your dates: nightly and total price, rating, star class, amenities and location. Costs 1 Pipefetch credit; a request that finds nothing costs nothing.

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": {
      "q": "<q>"
    },
    "name": "google_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesWhat you would type into Google Hotels, up to 100 characters: "hotels in Paris", "hostels in Amsterdam", "hotels near Times Square".
limitNoHow many hotels to return, in Google's order. Default 10.
adultsNoHow many adults the prices are for. Default 2.
nightsNoLength of the stay in nights. Default 1.
checkInNoCheck-in date, written YYYY-MM-DD. Without it the prices are for a check-in 7 days from today.
currencyNoThree-letter code of the currency for every price. Default USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-structured behavior: the credit cost model and the fact that a zero-result request is free — useful budgeting context an agent cannot get from the schema. It stops short of describing ordering/pagination beyond 'in Google's order' in the schema.

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?

Two tight sentences: the first front-loads what the tool returns, the second delivers the cost caveat. No filler, no repetition of schema details.

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?

With six fully documented parameters, safety annotations, and no output schema, the description supplies the remaining pieces an agent needs: the shape of the result payload and the billing behavior. Nothing material to correct invocation is missing.

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 coverage is 100%, with defaults, ranges, an enum, and the YYYY-MM-DD check-in default ('7 days from today') all documented inline. The description mentions prices 'for your dates' but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

The description names a specific verb+resource ('Hotels for a place') and enumerates the returned fields (nightly and total price, rating, star class, amenities, location), so an agent knows exactly what it gets. It differentiates itself implicitly from airbnb_listings by emphasizing Google's pricing, but never explicitly names or contrasts a sibling.

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?

Usage is only implied: the tool is for finding hotels at given dates and the 'q' parameter mirrors 'what you would type into Google Hotels'. There is no explicit statement of when to prefer this over airbnb_listings or other lodging siblings, and no exclusions or prerequisites.

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.