Skip to main content
Glama

Groundsocial

Restaurants in a destination

tripadvisor_restaurants_get
Read-onlyIdempotent

Restaurants in a destination with cuisine, meal, price and diet filters, paginated.

Restaurants in a destination, 30 a page, in Tripadvisor’s featured order: each with name, link, cuisines, price type, opening hours and open status, rating and review count, review snippets, contact, reservation and delivery offers, awards, photo. facets lists the destination’s filter values with counts (cuisines, meal types, diets, features, dishes). Filters: cuisine, meal_type, price_level, dietary_restriction, online_reservations; open_now keeps the restaurants open now from the page. Pass pagination.next_cursor as after with the same filters.

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

Input Schema

NameRequiredDescriptionDefault
qYesThe destination: a city or region name (the first match is used), a geo id (`60763` or `g60763`), or a Tripadvisor link to it.
afterNoCursor: the previous page’s `pagination.next_cursor`.
cuisineNo
languageNoLanguage for names and reviews: `en`, `fr`, `de-DE`, … (default en-US).
open_nowNoOnly restaurants open now.
meal_typeNo
price_levelNo
dietary_restrictionNo
online_reservationsNoOnly restaurants that take reservations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, and the description adds substantial context beyond them: 30 results per page, featured ordering, the exact field set returned per restaurant, what the facets block contains, the cost of 1 credit with automatic refund on failure, and the cost_credits/credits_remaining fields in the response. It also clarifies the subtle scoping of open_now (filtering only within the page set).

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 content is dense and front-loaded, covering scope, result shape, facets, filters, pagination, and cost. The opening sentence is largely restated by the second paragraph's opening clause ('Restaurants in a destination, 30 a page...'), a minor redundancy but no real waste elsewhere.

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?

There is no output schema, and the description compensates by enumerating returned fields, the facets block, pagination mechanics, and cost/credit accounting. For a 9-parameter paginated listing tool, this is sufficient for an agent to invoke and interpret it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 56%, the description usefully names the filter parameters as a group and explains the non-obvious semantics of open_now and the after cursor (must reuse the same filters). It does not explain q's accepted forms (city name, geo id, Tripadvisor link) or the language parameter, which the schema covers, leaving a small gap.

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 specific verb and resource ('Restaurants in a destination') and enumerates the filter dimensions (cuisine, meal, price, diet), so an agent can tell this is the paginated listing rather than a single-place lookup. It stops short of explicitly contrasting with the singular sibling (tripadvisor_restaurant_get) or search_all, but the plural listing scope is unambiguous.

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 guidance is present but limited to mechanics: 'Pass pagination.next_cursor as after with the same filters' and 'open_now keeps the restaurants open now from the page.' There is no explicit statement of when to choose this over the singular restaurant detail tool or the general search tool, so the when-to-use decision 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.