Skip to main content
Glama

Hotel detail

st_hotel_detail
Read-onlyIdempotent

Retrieve detailed hotel information—description, location, facilities, policies, photos, and guest rating breakdown—from a hotel URL to evaluate a stay.

Instructions

Get a hotel's description, location, facilities, policies, photos and guest rating breakdown.

Rating aspects are 0-5. For prices use st_hotel_rooms, for guest comments st_hotel_reviews.

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": {
      "hotel_url": "<hotel_url>"
    },
    "name": "st_hotel_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotel_urlYescity/hotel slug from st_hotel_search or st_hotel_places, e.g. شیراز/هتل-پارک-سعدی

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only the rating scale (0-5), which is return-value semantics rather than behavior; nothing is said about failure modes for a bad slug or how the open-world fetch behaves.

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?

Two sentences, front-loaded with the payload contents, then the disambiguation. Zero filler and no repetition of the title.

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-parameter read tool with rich annotations and no output schema, the description adequately tells an agent what data comes back, including the 0-5 rating aspect scale. Minor gap: no hint about missing/404 handling when a slug is invalid.

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% and the single hotel_url parameter is documented with a concrete slug example (شیراز/هتل-پارک-سعدی) and its origin. Baseline 3 applies since the description adds no parameter-level meaning beyond the schema.

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 hotel's ...") and enumerates exactly what the payload contains: description, location, facilities, policies, photos, guest rating breakdown. That enumeration makes it distinguishable from st_hotel_reviews and st_hotel_rooms 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?

Gives explicit routing for two adjacent needs: prices go to st_hotel_rooms and guest comments to st_hotel_reviews. It stops short of the positive precondition (you need a hotel_url coming from a prior search), which lives only in the schema description rather than the tool description.

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