Skip to main content
Glama

Groundsocial

Get a Google Hotels listing

google_hotels_info
Read-onlyIdempotent

One Google Hotels listing: ratings by category, rate, times, description.

One hotel by the hotel_id google_hotels_search returns: class, rating and review count, category ratings, lead rate, coordinates, check-in and check-out times, description and website.

Cost: 2 credits 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": {
      "hotel_identifier": "<hotel_identifier>"
    },
    "name": "google_hotels_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoTwo-letter country (Google’s gl), default us.
currencyNo
languageNoInterface language code (Google’s hl), default en.
hotel_identifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the description's extra value is the pricing behavior ('2 credits per call, refunded automatically if the call fails') and the note that responses carry cost_credits and credits_remaining. That is genuine context beyond the structured fields, though failure modes beyond cost refund and any rate limits are not described.

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?

Purpose and source-of-ID are front-loaded, and the cost note is a short, self-contained sentence. The opening line ('ratings by category, rate, times, description') is largely a preview of the fuller field list in the next sentence, so there is minor redundancy, but nothing that bloat the definition.

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

Completeness3/5

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

With no output schema, listing the returned fields and the cost_credits/credits_remaining metadata is the right compensation, and the pricing/refund rule is covered. Still, an agent has no guidance on the undescribed currency parameter or on failure behavior for a bad hotel_identifier, so it is adequate rather than complete.

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 50%: country and language already carry descriptions, but currency has none in either place, and the description does not explain it. The description does add useful meaning for hotel_identifier by tying it to google_hotels_search output, which is the main semantic contribution here.

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 ('One Google Hotels listing' / 'One hotel by the hotel_id google_hotels_search returns') and enumerates exactly what comes back: class, rating and review count, category ratings, lead rate, coordinates, times, description, website. It also distinguishes itself from the sibling search tool by positioning this as the by-ID lookup that consumes google_hotels_search output.

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?

Explicitly ties usage to the sibling: the hotel_identifier is what google_hotels_search returns, which tells an agent to search first and call this second. It stops short of stating when not to use it or what happens with a stale/unknown ID, so it is clear context without full exclusions.

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.