Skip to main content
Glama

ta_web_get_location

Read-only

Retrieve a TripAdvisor location's core details from its public page using the location ID, without an API key. Use when the standard details endpoint is unavailable or blocked.

Instructions

Get a TripAdvisor location's core details (name, rating, review count, address, coordinates, phone, photo, listing URL) by location ID, read from the public page via the browser bridge. Works without an API key — use this when ta_get_location_details is unavailable or its key is blocked. Covers attractions, hotels, and restaurants. Does not return individual review text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationIdYesTripAdvisor location ID (from a search tool)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already signal read-only and open-world behavior, and the description adds meaningful context: it reads from the public page via the browser bridge, requires no API key, and does not return individual review text. This goes beyond what the annotations convey, though it does not discuss failure modes or rate limits.

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

Conciseness5/5

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

The description is three sentences with no wasted words: the first defines the operation and outputs, the second gives the alternative-selection condition, and the third clarifies scope and exclusions. Important information is front-loaded.

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?

Given a single documented parameter, read-only/open-world annotations, and no output schema, the description is complete enough: it names the returned fields, the data source, the no-API-key condition, supported place types, and a key exclusion. An agent can select and invoke this tool correctly.

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?

There is only one parameter and the schema already documents it fully ("TripAdvisor location ID (from a search tool)"). The description repeats that the lookup is by location ID but adds no new parameter-specific meaning, so the baseline of 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: "Get a TripAdvisor location's core details" and lists the exact fields returned. It also distinguishes itself from the sibling ta_get_location_details by noting it reads via the browser bridge and works without an API key, and from review tools by explicitly excluding review text.

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

Usage Guidelines5/5

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

Provides an explicit condition: "use this when ta_get_location_details is unavailable or its key is blocked." It also clarifies the entity coverage (attractions, hotels, restaurants) and the exclusion of review text, giving clear when-to-use guidance relative to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.