Skip to main content
Glama

Get hotel

get_hotel
Read-only

One hotel's details (address, coordinates, stars, rating, photos, description, facilities, check-in and check-out times, parking) and, with dates, every bookable room: offer_id, room, board, refundable, cancellation_summary and the free cancellation deadline, total, per night, taxes included, taxes at the property, due_at_property_total, and a book_url a person can open. Prices are the total for the whole stay for one room, in the currency asked (EUR by default), as Nuitee, the booking partner and merchant of record, charges them, with the taxes Nuitee collects included. Taxes and fees paid at the property (often a city or tourist tax) are listed in taxes_at_property, summed in due_at_property_total, and are not in the total.

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_id": "<hotel_id>"
    },
    "name": "get_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNoAdults in the one room, 1 to 8. Default 2.
checkinNoCheck-in date, YYYY-MM-DD, today (UTC) to 500 days ahead.
checkoutNoCheck-out date, YYYY-MM-DD, 1 to 30 nights after check-in.
childrenNoAges of children in the room, if any, at most 4. Quub cannot hold rooms with children yet; offers priced with children are refused by prebook.
currencyNoISO 4217 currency for the prices, default EUR.
hotel_idYesThe hotel id from search_hotels.
nationalityNoGuest nationality, ISO 3166 alpha-2 (prices can depend on it). Default from the client's language, else NL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / children / description
      Previous value: -"Ages of children in the room, if any, at most 4."New value: +"Ages of children in the room, if any, at most 4. Quub cannot hold rooms with children yet; offers priced with children are refused by prebook."
  2. Changed19 schema fields changed
    • addedInput schema / properties / adults / examples
      Added value: +[
      +  2
      +]
    • changedInput schema / properties / checkin / description
      Previous value: -"Check-in date, YYYY-MM-DD, today or later."New value: +"Check-in date, YYYY-MM-DD, today (UTC) to 500 days ahead."
    • addedInput schema / properties / checkin / examples
      Added value: +[
      +  "2027-03-12"
      +]
    • addedInput schema / properties / checkin / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / checkout / examples
      Added value: +[
      +  "2027-03-14"
      +]
    • addedInput schema / properties / checkout / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • changedInput schema / properties / children / description
      Previous value: -"Ages of children in the room, if any."New value: +"Ages of children in the room, if any, at most 4."
    • addedInput schema / properties / children / examples
      Added value: +[
      +  [
      +    4,
      +    9
      +  ]
      +]
    • addedInput schema / properties / currency / examples
      Added value: +[
      +  "EUR",
      +  "USD"
      +]
    • removedInput schema / properties / currency / maxLength
      Removed value: -3
    • removedInput schema / properties / currency / minLength
      Removed value: -3
    • addedInput schema / properties / currency / pattern
      Added value: +"^[A-Za-z]{3}$"
    • addedInput schema / properties / hotel_id / examples
      Added value: +[
      +  "lp1c2c6"
      +]
    • addedInput schema / properties / hotel_id / maxLength
      Added value: +40
    • addedInput schema / properties / hotel_id / minLength
      Added value: +1
    • addedInput schema / properties / nationality / examples
      Added value: +[
      +  "GB"
      +]
    • removedInput schema / properties / nationality / maxLength
      Removed value: -2
    • removedInput schema / properties / nationality / minLength
      Removed value: -2
    • addedInput schema / properties / nationality / pattern
      Added value: +"^[A-Za-z]{2}$"
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, openWorldHint=true), so the description's job is to add substance, which it does: it explains that prices are Nuitee's merchant-of-record charges in the requested currency, that they are whole-stay totals for one room, and that property taxes sit outside the total in taxes_at_property/due_at_property_total. It stops short of noting latency, caching, or what happens when dates are omitted versus supplied.

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?

Two long sentences, but they are front-loaded with the hotel-details payload and then the offer fields, so an agent can stop reading early. The tax explanation is somewhat repetitive of what the field list already implies, but every sentence carries real content.

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, so the description carries the full return-value burden and does so thoroughly: it enumerates hotel fields, the full offer field set, the meaning of total/per night/taxes included/at property, and a human-openable book_url. Nothing essential for correct invocation or interpretation is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not state: check-in/check-out behave as a pair whose presence switches the response from hotel details to room offers, and currency governs all quoted prices with EUR as default. Adult/children/nationality semantics are left entirely to the schema's own descriptions.

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?

The description names a specific resource ('One hotel's details') and enumerates its fields (address, coordinates, stars, rating, photos, facilities, check-in/out, parking), plus the conditional room-offer payload. An agent can distinguish it from search_hotels, which returns many hotels, 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 Guidelines3/5

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

Usage is only implied: 'with dates, every bookable room' hints that dates unlock offers, but there is no explicit when-to-use statement, no prerequisite (e.g. obtain hotel_id from search_hotels first), and no mention of when to prefer prebook or get_tourist_tax instead.

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.

Resources