Skip to main content
Glama

Hotel details

get_hotel
Read-onlyIdempotent

Use this when the user asks about one hotel itself: where it is, its check-in and check-out times, its policies, amenities or room types. It returns the hotel's catalogue facts: names, address, coordinates, time zone, check-in and check-out times, the full description, every policy and the amenities, and its room types with include: "roomTypes". "Not listed" is not "no". No prices or availability: get_hotel_offers has those.

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": {
      "hotelId": "<hotelId>"
    },
    "name": "get_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage for names and text in the response: en or zh.
hotelIdYeshotelId from a search response.
includeNo`roomTypes` adds the hotel's room types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / include / description
      Previous value: -"`rooms` adds the room list."New value: +"`roomTypes` adds the hotel's room types."
    • changedInput schema / properties / include / enum
      Previous value: -[
      -  "rooms"
      -]New value: +[
      +  "roomTypes"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": {},
      -  "properties": {
      -    "address": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "countryCode": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "line": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": {},
      -              "properties": {
      -                "locale": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "en",
      -                        "zh"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "string"
      -                    }
      -                  ]
      -                },
      -                "text": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "text",
      -                "locale"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "region": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": {},
      -              "properties": {
      -                "name": {
      -                  "type": "string"
      -                },
      -                "names": {
      -                  "additionalProperties": {},
      -                  "properties": {
      -                    "en": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "zh": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "en",
      -                    "zh"
      -                  ],
      -                  "type": "object"
      -                },
      -                "placeId": {
      -                  "pattern": "^plc_\\d{1,12}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "placeId",
      -                "name",
      -                "names"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "line",
      -        "countryCode",
      -        "region"
      -      ],
      -      "type": "object"
      -    },
      -    "amenities": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "items": {
      -          "items": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "code": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "parking",
      -                      "wifi",
      -                      "laundry",
      -                      "restaurant",
      -                      "room_service",
      -                      "bar",
      -                      "non_smoking",
      -                      "business_center",
      -                      "pool",
      -                      "airport_shuttle",
      -                      "spa",
      -                      "gym",
      -                      "accessible",
      -                      "ev_charging",
      -                      "air_conditioning",
      -                      "pets_allowed",
      -                      "kitchen",
      -                      "other"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "string"
      -                  }
      -                ]
      -              },
      -              "name": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "locale": {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "en",
      -                          "zh"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  "text": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text",
      -                  "locale"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "name"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "listed": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "listed",
      -        "items"
      -      ],
      -      "type": "object"
      -    },
      -    "bookable": {
      -      "type": "boolean"
      -    },
      -    "breakfastServed": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "checkInTimes": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "from": {
      -          "anyOf": [
      -            {
      -              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "until": {
      -          "anyOf": [
      -            {
      -              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "from",
      -        "until"
      -      ],
      -      "type": "object"
      -    },
      -    "checkOutTimes": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "from": {
      -          "anyOf": [
      -            {
      -              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "until": {
      -          "anyOf": [
      -            {
      -              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "required": [
      -        "from",
      -        "until"
      -      ],
      -      "type": "object"
      -    },
      -    "contact": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "phone": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "website": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "phone",
      -        "website"
      -      ],
      -      "type": "object"
      -    },
      -    "deposit": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "amount": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": {},
      -              "properties": {
      -                "amount": {
      -                  "pattern": "^\\d+(\\.\\d+)?$",
      -                  "type": "string"
      -                },
      -                "currency": {
      -                  "pattern": "^[A-Z]{3}$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "amount",
      -                "currency"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "required": {
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "required",
      -        "amount"
      -      ],
      -      "type": "object"
      -    },
      -    "description": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "locale": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "en",
      -                    "zh"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "string"
      -                }
      -              ]
      -            },
      -            "text": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text",
      -            "locale"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "hotelId": {
      -      "pattern": "^htl_[0-9A-Za-z]{20}$",
      -      "type": "string"
      -    },
      -    "location": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "lat": {
      -              "type": "number"
      -            },
      -            "lng": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "lat",
      -            "lng"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "name": {
      -      "type": "string"
      -    },
      -    "names": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "en": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "zh": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "en",
      -        "zh"
      -      ],
      -      "type": "object"
      -    },
      -    "photos": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "caption": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "locale": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "en",
      -                              "zh"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "string"
      -                          }
      -                        ]
      -                      },
      -                      "text": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "text",
      -                      "locale"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "url": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "url",
      -              "caption"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Up to 8 hotel photos, the cover first; null when the catalogue lists none."
      -    },
      -    "policies": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "items": {
      -          "items": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "locale": {
      -                "anyOf": [
      -                  {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "en",
      -                          "zh"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "text": {
      -                "type": "string"
      -              },
      -              "topic": {
      -                "anyOf": [
      -                  {
      -                    "enum": [
      -                      "check_in",
      -                      "important_notices",
      -                      "booking",
      -                      "booking_tips",
      -                      "check_in_out",
      -                      "check_in_tips",
      -                      "reception",
      -                      "deposit",
      -                      "meal",
      -                      "extra_bed",
      -                      "pets",
      -                      "surroundings",
      -                      "meetings",
      -                      "non_smoking",
      -                      "other"
      -                    ],
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "string"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "topic",
      -              "text",
      -              "locale"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "listed": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "listed",
      -        "items"
      -      ],
      -      "type": "object"
      -    },
      -    "rooms": {
      -      "additionalProperties": {},
      -      "properties": {
      -        "items": {
      -          "items": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "areaSqm": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "max": {
      -                        "type": "number"
      -                      },
      -                      "min": {
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "min",
      -                      "max"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "beds": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": {},
      -                    "properties": {
      -                      "locale": {
      -                        "anyOf": [
      -                          {
      -                            "anyOf": [
      -                              {
      -                                "enum": [
      -                                  "en",
      -                                  "zh"
      -                                ],
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "string"
      -                              }
      -                            ]
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ]
      -                      },
      -                      "text": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "text",
      -                      "locale"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "maxOccupancy": {
      -                "anyOf": [
      -                  {
      -                    "maximum": 9007199254740991,
      -                    "minimum": -9007199254740991,
      -                    "type": "integer"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "name": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "locale": {
      -                    "anyOf": [
      -                      {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "en",
      -                              "zh"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "string"
      -                          }
      -                        ]
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "text": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "text",
      -                  "locale"
      -                ],
      -                "type": "object"
      -              },
      -              "window": {
      -                "anyOf": [
      -                  {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "yes",
      -                          "no",
      -                          "partial"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "string"
      -                      }
      -                    ]
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "name",
      -              "beds",
      -              "areaSqm",
      -              "maxOccupancy",
      -              "window"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "listed": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "listed",
      -        "items"
      -      ],
      -      "type": "object"
      -    },
      -    "stars": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "timeZone": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "hotelId",
      -    "name",
      -    "names",
      -    "bookable",
      -    "stars",
      -    "address",
      -    "location",
      -    "timeZone",
      -    "description",
      -    "photos",
      -    "checkInTimes",
      -    "checkOutTimes",
      -    "policies",
      -    "amenities",
      -    "breakfastServed",
      -    "deposit",
      -    "contact"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • addedOutput schema / properties / photos / description
      Added value: +"Up to 8 hotel photos, the cover first; null when the catalogue lists none."
  3. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "hotelId",
      -  "name",
      -  "names",
      -  "bookable",
      -  "stars",
      -  "address",
      -  "location",
      -  "timeZone",
      -  "description",
      -  "checkInTimes",
      -  "checkOutTimes",
      -  "policies",
      -  "amenities",
      -  "breakfastServed",
      -  "deposit",
      -  "contact"
      -]New value: +[
      +  "hotelId",
      +  "name",
      +  "names",
      +  "bookable",
      +  "stars",
      +  "address",
      +  "location",
      +  "timeZone",
      +  "description",
      +  "photos",
      +  "checkInTimes",
      +  "checkOutTimes",
      +  "policies",
      +  "amenities",
      +  "breakfastServed",
      +  "deposit",
      +  "contact"
      +]
  4. Changed10 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / hotelId / description
      Previous value: -"hotelId from search_hotels"New value: +"hotelId from a search response."
    • removedInput schema / properties / hotelId / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / hotelId / maximum
      Removed value: -2147483647
    • addedInput schema / properties / hotelId / pattern
      Added value: +"^htl_[0-9A-Za-z]{20}$"
    • changedInput schema / properties / hotelId / type
      Previous value: -"integer"New value: +"string"
    • addedInput schema / properties / include
      Added value: +{
      +  "description": "`rooms` adds the room list.",
      +  "enum": [
      +    "rooms"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / includeRooms
      Removed value: -{
      -  "description": "Also return the catalogue room list (adds a few KB)",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Language for names and text in the response: en or zh.",
      +  "enum": [
      +    "en",
      +    "zh"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "address": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "countryCode": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "line": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "locale": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "en",
      +                        "zh"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "string"
      +                    }
      +                  ]
      +                },
      +                "text": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "text",
      +                "locale"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "region": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "name": {
      +                  "type": "string"
      +                },
      +                "names": {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "en": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "zh": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "en",
      +                    "zh"
      +                  ],
      +                  "type": "object"
      +                },
      +                "placeId": {
      +                  "pattern": "^plc_\\d{1,12}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "placeId",
      +                "name",
      +                "names"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "line",
      +        "countryCode",
      +        "region"
      +      ],
      +      "type": "object"
      +    },
      +    "amenities": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "items": {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "code": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "parking",
      +                      "wifi",
      +                      "laundry",
      +                      "restaurant",
      +                      "room_service",
      +                      "bar",
      +                      "non_smoking",
      +                      "business_center",
      +                      "pool",
      +                      "airport_shuttle",
      +                      "spa",
      +                      "gym",
      +                      "accessible",
      +                      "ev_charging",
      +                      "air_conditioning",
      +                      "pets_allowed",
      +                      "kitchen",
      +                      "other"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "string"
      +                  }
      +                ]
      +              },
      +              "name": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "locale": {
      +                    "anyOf": [
      +                      {
      +                        "enum": [
      +                          "en",
      +                          "zh"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text",
      +                  "locale"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "listed": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "listed",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "bookable": {
      +      "type": "boolean"
      +    },
      +    "breakfastServed": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "checkInTimes": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "from": {
      +          "anyOf": [
      +            {
      +              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "until": {
      +          "anyOf": [
      +            {
      +              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "from",
      +        "until"
      +      ],
      +      "type": "object"
      +    },
      +    "checkOutTimes": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "from": {
      +          "anyOf": [
      +            {
      +              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "until": {
      +          "anyOf": [
      +            {
      +              "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "from",
      +        "until"
      +      ],
      +      "type": "object"
      +    },
      +    "contact": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "phone": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "website": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "phone",
      +        "website"
      +      ],
      +      "type": "object"
      +    },
      +    "deposit": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "amount": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "amount": {
      +                  "pattern": "^\\d+(\\.\\d+)?$",
      +                  "type": "string"
      +                },
      +                "currency": {
      +                  "pattern": "^[A-Z]{3}$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "amount",
      +                "currency"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "required": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "required",
      +        "amount"
      +      ],
      +      "type": "object"
      +    },
      +    "description": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "locale": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "en",
      +                    "zh"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "string"
      +                }
      +              ]
      +            },
      +            "text": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text",
      +            "locale"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "hotelId": {
      +      "pattern": "^htl_[0-9A-Za-z]{20}$",
      +      "type": "string"
      +    },
      +    "location": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "lat": {
      +              "type": "number"
      +            },
      +            "lng": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "lat",
      +            "lng"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "names": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "en": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "zh": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "en",
      +        "zh"
      +      ],
      +      "type": "object"
      +    },
      +    "photos": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "caption": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "locale": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "en",
      +                              "zh"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "string"
      +                          }
      +                        ]
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "text",
      +                      "locale"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "url",
      +              "caption"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "policies": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "items": {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "locale": {
      +                "anyOf": [
      +                  {
      +                    "anyOf": [
      +                      {
      +                        "enum": [
      +                          "en",
      +                          "zh"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "text": {
      +                "type": "string"
      +              },
      +              "topic": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "check_in",
      +                      "important_notices",
      +                      "booking",
      +                      "booking_tips",
      +                      "check_in_out",
      +                      "check_in_tips",
      +                      "reception",
      +                      "deposit",
      +                      "meal",
      +                      "extra_bed",
      +                      "pets",
      +                      "surroundings",
      +                      "meetings",
      +                      "non_smoking",
      +                      "other"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "string"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "topic",
      +              "text",
      +              "locale"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "listed": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "listed",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "rooms": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "items": {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "areaSqm": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "max": {
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "type": "number"
      +                      }
      +                    },
      +                    "required": [
      +                      "min",
      +                      "max"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "beds": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {
      +                      "locale": {
      +                        "anyOf": [
      +                          {
      +                            "anyOf": [
      +                              {
      +                                "enum": [
      +                                  "en",
      +                                  "zh"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              {
      +                                "type": "string"
      +                              }
      +                            ]
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      },
      +                      "text": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "text",
      +                      "locale"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "maxOccupancy": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 9007199254740991,
      +                    "minimum": -9007199254740991,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "name": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "locale": {
      +                    "anyOf": [
      +                      {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "en",
      +                              "zh"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "string"
      +                          }
      +                        ]
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "text",
      +                  "locale"
      +                ],
      +                "type": "object"
      +              },
      +              "window": {
      +                "anyOf": [
      +                  {
      +                    "anyOf": [
      +                      {
      +                        "enum": [
      +                          "yes",
      +                          "no",
      +                          "partial"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "string"
      +                      }
      +                    ]
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "beds",
      +              "areaSqm",
      +              "maxOccupancy",
      +              "window"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "listed": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "listed",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "stars": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "timeZone": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "hotelId",
      +    "name",
      +    "names",
      +    "bookable",
      +    "stars",
      +    "address",
      +    "location",
      +    "timeZone",
      +    "description",
      +    "checkInTimes",
      +    "checkOutTimes",
      +    "policies",
      +    "amenities",
      +    "breakfastServed",
      +    "deposit",
      +    "contact"
      +  ],
      +  "type": "object"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / hotelId / maximum
      Previous value: -9007199254740991New value: +2147483647
  6. Changed1 schema field changed
    • changedInput schema / properties / hotelId / description
      Previous value: -"Huizhi hotelId"New value: +"hotelId from search_hotels"
  7. First observed

TDQS

A4.4/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, open-world behavior, so the description's job is to add beyond that. It does: it discloses the response shape and warns that "Not listed" is not "no", a genuinely useful data-interpretation caveat that no structured field carries. It stops short of describing permission or rate-limit behavior, so it is strong but not exhaustive.

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 trigger condition and the routing exclusion, which is the right ordering. It is slightly redundant — check-in/check-out times and room types are each mentioned twice in the return enumeration — but no sentence is wasted.

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 burden of describing returns, and it does so thoroughly. Combined with the scope exclusion and the missing-data caveat, an agent has everything needed to call this 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 coverage is 100%, so hotelId provenance, the locale enum, and the include enum are already documented in the schema. The description restates that include: "roomTypes" yields room types and that hotelId comes from a search response, which adds little beyond the structured field text. 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?

The description names a specific verb-and-resource pair (fetch one hotel's catalogue facts) and enumerates exactly which facts — address, coordinates, time zone, check-in/out, policies, amenities, room types. It explicitly separates itself from get_hotel_offers, so an agent can route 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 Guidelines5/5

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

It opens with an explicit trigger ("when the user asks about one hotel itself") and then bounds the scope negatively: no prices or availability, use get_hotel_offers for those. Both the use case and the exclusion are stated, leaving nothing to inference.

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