Skip to main content
Glama

Groundsocial

Get a Tripadvisor hotel

tripadvisor_hotel_get
Read-onlyIdempotent

A Tripadvisor hotel: rating, sub-ratings, amenities, price range, contact, description.

A hotel by link or id: everything tripadvisor_place_get has, plus the hotel card (phone and website links, star rating tag, street address, rating, popularity rank, photos), sub-ratings (cleanliness, location, value, service) and walk score, highlighted amenities, nightly price range in currency, and how many attractions and restaurants are near.

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": {
      "url": "<url>"
    },
    "name": "tripadvisor_hotel_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe place: a Tripadvisor link or its path (`/Hotel_Review-g60763-d93437-Reviews-…html`), `d93437`, or the location id.
currencyNoCurrency for prices (default USD).
languageNoLanguage for names and reviews: `en`, `fr`, `de-DE`, … (default en-US).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered by structured fields. The description adds genuinely non-structured behavior: a 1-credit cost with automatic refund on failure, and that responses carry cost_credits and credits_remaining. It does not mention rate limits, error modes, or what happens with an invalid/ambiguous id.

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?

The first line front-loads the resource and its highlights; the second expands the payload, and the third covers cost and read-only status. There is noticeable redundancy between line one's 'rating, sub-ratings, amenities, price range, contact, description' and line two's 'rating, sub-ratings, amenities, nightly price range', which could be merged, but nothing is padded or off-topic.

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?

There is no output schema, so the description must describe returns, and it does so at length (hotel card, sub-ratings, walk score, nearby counts, price range) along with cost accounting fields in the response. Combined with fully documented parameters and rich annotations, an agent has enough to call this correctly; only edge-case behavior such as invalid ids or language fallback is unaddressed.

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%, and the schema already documents the url formats (link, path, d93437, location id), the 3-letter currency pattern and the language pattern. The description only echoes 'by link or id' and 'price range in currency', adding no format, default, or fallback detail beyond the schema. Baseline 3 applies when the schema carries this much weight.

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 resource (a Tripadvisor hotel) and enumerates its distinguishing payload: sub-ratings, walk score, nightly price range, nearby counts, contact details. It also positions itself explicitly against the sibling tripadvisor_place_get by describing itself as a superset, which lets an agent choose between them. It stops short of distinguishing itself from tripadvisor_hotels_get (list vs single) or from non-Tripadvisor hotel tools such as booking_hotel_get.

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 implied rather than stated: 'A hotel by link or id' tells the agent what input selects this tool, and the comparison with tripadvisor_place_get hints that this one is richer. There is no explicit when-not guidance (e.g. use tripadvisor_hotels_get when you have only a name or city rather than an id/link), and no prerequisites are spelled out.

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.