Skip to main content
Glama

Groundsocial

Get a Tripadvisor attraction

tripadvisor_attraction_get
Read-onlyIdempotent

A Tripadvisor attraction: categories, rating, description, address, visit length, tours.

An attraction or tour by link or id: everything tripadvisor_place_get has (categories, tags, description, address, rating), plus the recommended visit length, how many bookable tours include it and the lowest ticket price when Tripadvisor sells tickets.

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_attraction_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.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior, so the description adds genuine context beyond them: cost of 1 credit per call, automatic refund on failure, public-data-only scope, and that the response contains cost_credits and credits_remaining. With no output schema, it also usefully enumerates the returned fields (visit length, bookable tour count, lowest price). It could go further on what happens for a non-attraction link, but the added value is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The cost and read-only sentence is compact and earns its place, but the opening fragment list ('categories, rating, description, address, visit length, tours') largely duplicates the field list in the next sentence, costing tokens without adding information. Front-loading the field list as a separate line also delays the actual purpose statement.

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?

For a single-item read tool with no output schema, the definition supplies what an agent needs: accepted identifier forms (via schema), the fields returned, the added value over the sibling, and the credit cost. The only real gap is input validation behavior for a wrong-entity link, which is minor.

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%: url, currency, and language are each documented in the schema, including accepted url forms and default values. The description only echoes 'by link or id' and says nothing about currency or language behavior, so it adds little meaning over the structured fields. Baseline 3 is appropriate.

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 attraction) and enumerates what it returns: categories, rating, description, address, visit length, tours. It explicitly differentiates from the sibling tripadvisor_place_get by framing itself as 'everything tripadvisor_place_get has ... plus' extra fields, which lets an agent distinguish the two without reading schemas. It falls short of 5 only because the opening is a noun-fragment list rather than a clean verb+resource statement, and 'an attraction or tour' slightly blurs what object type is retrieved.

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?

The 'by link or id' phrasing and the comparison to tripadvisor_place_get imply when this tool is preferable (when tour counts, visit length, or lowest ticket price are needed), but that inference is left to the agent. There is no explicit statement of when not to use it, nor any reference to the list-style sibling for discovery versus this single-item lookup.

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.