Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

Tripadvisor Hotels Restaurants and Attractions Data: Search Tripadvisor hotels, dining and attractions

tripadvisor_com__search
Read-only

[Tripadvisor Hotels Restaurants and Attractions Data] Search Tripadvisor hotels, dining and attractions. Query Tripadvisor hotels, restaurants, attractions and destination IDs across regional Tripadvisor sites. x402 price: $0.0050/row USDC (max 20 rows; 0 rows / errors are never charged).

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": "tripadvisor_com__search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSorting preference where supported. Leave RECOMMENDED unless you need a different supported order.RECOMMENDED
roomsNoNumber of hotel rooms, from 1 to 10.
adultsNoNumber of adult guests, from 1 to 10.
domainNoRegional Tripadvisor domain, such as www.tripadvisor.com or www.tripadvisor.co.uk. Coverage and available fields can vary by domain.www.tripadvisor.com
fieldsNoReserved; this input does not select output fields in Actor runs. Choose columns through the dataset export controls instead.
formatNoLeave as json. Choose the download format through the dataset export controls.json
localeNoLanguage and region tag, such as en_US or en_GB. Set this with domain and currency for regional searches.en_US
originNoNot available: flights are not supported. Leave empty.
checkinNoHotel check-in in YYYY-MM-DD format. If omitted, the search uses a date 21 days ahead.
serviceNoChoose hotels, restaurants, attractions, sitemap inventory entries, or location details. Each delivered row is billed at the same result price.hotels
checkoutNoHotel check-out in YYYY-MM-DD format. If omitted, the search uses a date 23 days ahead; set both dates for a specific trip.
childrenNoNumber of children, from 0 to 10.
currencyNoThree-letter currency code, such as USD or GBP. Returned prices include a currency only when the source provides one.USD
regionIdNoTripadvisor geographic ID, such as 293916 or g293916. Takes priority for listing searches and location lookups; use destination for sitemap searches.
tripTypeNoNot available: flights are not supported. Leave at the default.oneway
quotePollNoHotels only: wait for more complete price quotes within the available run time. Default off; enabling this does not guarantee a price.
maxResultsNoMaximum rows for the single destination or geographic input. Defaults to 70; larger requests are collected in parts of 70, subject to your maximum total charge and the Free-plan cap of 200 rows per run.
returnDateNoNot available: flights are not supported. Leave empty.
destinationNoOne city or region, such as Bangkok or London. Each run searches one destination; use regionId instead for a known geographic ID.
childrenAgesNoAges of children, each from 0 to 17, such as [4, 9]. Omitted ages remain an empty list rather than being guessed.
departureDateNoNot available: flights are not supported. Leave empty.
includeSponsoredNoLeave at the default. Sponsored listings remain excluded even when this option is enabled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description contributes genuinely new behavioral information: per-row x402 pricing ($0.0050/row USDC), a 20-row cap, and that zero-row or errored runs are not charged. It still says nothing about result shape, pagination, or rate/throughput limits.

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?

Three sentences, front-loaded with purpose, then scope, then pricing. Sentence one and two partially restate the same resource list ('hotels, dining and attractions' vs 'hotels, restaurants, attractions and destination IDs'), which is minor redundancy but not wasteful overall.

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?

For a 22-parameter, multi-mode search with no output schema, the description covers purpose and billing but leaves notable gaps: what a returned row contains, how service modes differ in output, and how results are paged or capped per run. Annotations and a fully described schema offset much of this, making it 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 description coverage is 100% across 22 parameters, so the schema carries parameter meaning and the baseline is 3. The description adds only high-level hints (regional sites, destination IDs) and no detail on how destination, regionId, domain, locale, or service interact beyond what the schema states.

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 states a concrete verb (search/query) and resource (Tripadvisor hotels, restaurants, attractions) and adds that it works across regional Tripadvisor sites and returns destination IDs. The Tripadvisor brand plus the broader sibling set of other-marketplace __search tools makes the scope distinguishable, though it never names a specific alternative tool.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The schema's service enum (hotels/restaurants/attractions/sitemap/location_lookup) implies selectable modes, but the description never says which mode suits which task or when to prefer a sibling site's search, so selection is left to inference.

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.

Resources