Skip to main content
Glama

tripadvisor_search: GET /

hasdata_tripadvisor_search_getTripadvisorSearchResults
Read-only

Get Tripadvisor Search Results

Runs a Tripadvisor search for a free-text query (a destination, a property name, or a listing-style phrase like "luxury hotels in new york city") with optional search origin coordinates, result type filter, Tripadvisor domain and offset-based pagination. Returns places (destinations, hotels, restaurants, attractions and tours with place ID, type, link, description, rating, review count, location, thumbnail and the review snippet that matched the query), forums for the forums type, locations for Tripadvisor list pages the query resolves to, and pagination with the next offset. Each place carries a hasdataLink that calls the Tripadvisor Place API for its full details; use it to enrich results, or to build travel and hospitality datasets for a destination.

Input Schema

NameRequiredDescriptionDefault
qYesThe search query, e.g. a destination, a property name or a phrase like `luxury hotels in new york city`.
latNoLatitude of the search origin. Requires `lon`. Results near this point are ranked higher.
lonNoLongitude of the search origin. Requires `lat`.
typeNoLimits results to one type. `all` mixes destinations, hotels, restaurants and things to do; `forums` returns forum topics instead of places.
limitNoNumber of results to return.
domainNoTripadvisor domain to use. The domain sets the language of the results. Default is `www.tripadvisor.com`.
offsetNoNumber of results to skip, e.g. `30` for the second page with the default limit. Use `pagination.nextOffset` from the previous response. Tripadvisor serves results up to offset 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds substantial behavior beyond that: proximity-based ranking from lat/lon, forums returning forum topics instead of places, domain controlling result language, offset pagination, and no output schema means its return-shape description (places/forums/locations/pagination) carries real weight.

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?

Two paragraphs, front-loaded with the core action before return shape and enrichment pointers. The sentences are long and dense, and a few clauses (such as the generic 'build travel and hospitality datasets' remark) are close to filler, but overall little is wasted.

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 no output schema, the description takes on the job of explaining the return payload and does so thoroughly, naming each top-level field group and noting the pagination next offset. It also flags the domain's language effect and the offset ceiling, leaving no significant gap for a 7-parameter read-only search.

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%, so every parameter is already documented including examples, enum meanings and the 1000-offset cap. The description restates the parameter set (coordinates, type filter, domain, offset) without adding syntax or edge-case guidance beyond the schema, so baseline 3 applies.

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 ('Runs a Tripadvisor search for a free-text query') and enumerates the query shapes it accepts (destination, property name, listing-style phrase). It also implicitly separates itself from the detail endpoints by explaining that each place carries a hasdataLink that calls the Tripadvisor Place API for full details.

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?

Gives clear context for when to reach for this tool (free-text discovery of places/destinations/forums) and routes follow-up enrichment to the Place API via hasdataLink. It stops short of explicitly naming the sibling tools or stating when not to use this search (e.g., when only reviews or a known place ID are needed).

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