Skip to main content
Glama
Crawlora-org

Crawlora MCP

Official

tripcom_hotel_detail

Fetch Trip.com hotel details by hotel ID to get name, location, guest ratings, images, policies, and facilities. Use it for hotel info, not nightly pricing.

Instructions

Get Trip.com hotel detail. Returns a Trip.com hotel-detail page: identity (name, local name, star rating, city/province/country), location (address, zone, latitude/longitude, nearby-transport description), guest rating (overall score plus cleanliness/amenities/location/service breakdown), images, description, check-in/check-out and child policy summaries, and popular facilities. Pricing is not included: Trip.com's detail page only returns per-night rates alongside check-in/check-out dates, which this endpoint does not take as input -- use the search endpoint for a city's current display prices.

Input Schema

NameRequiredDescriptionDefault
idYesTrip.com hotel id, from a prior search call's hotel_id field
slugNoOptional slug segment for a nicer canonical source URL (e.g. the district/city slug from a search result's url). Not required and not validated by Trip.com.

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?

No annotations are provided, so the description carries the full burden. It discloses a genuinely surprising behavioral trait for a hotel tool -- that pricing is NOT returned and why (the endpoint takes no check-in/check-out dates) -- which prevents a wrong invocation. It omits auth/permission and rate-limit details, keeping it short of a 5.

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?

Front-loaded with the core action, then the return payload, then the pricing caveat and alternative. The return-field enumeration is long but earns its place given there is no output schema; little waste overall.

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 must describe the return shape, and it does so in detail (identity, location, guest rating breakdown, images, policies, facilities). Combined with the pricing exclusion and id provenance, an agent has everything needed to call it 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?

Schema description coverage is 100%, so both parameters (id, slug) are already fully documented in the schema. The description adds only the origin of the id, not syntax or format beyond what the schema supplies. Baseline 3 is appropriate.

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 ('Get') and resource ('Trip.com hotel detail') and immediately enumerates the returned facets. It also names the sibling it is not (the search endpoint), so an agent can route between the two without opening either schema.

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?

Clearly states the id comes from a prior search call's hotel_id field and explicitly routes pricing questions to the search endpoint. It stops short of a full when-to-use/when-not statement, but the id provenance and the pricing exclusion give solid selection context.

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

Deploy Server

Other Tools