Title61/100
Widget: last details data
Shorten the title to an action and subject; move usage details into the description.
Description82/100
Internal widget-support tool: returns the most recent cached hotel_details result. Do not call this directly — use hotel_details.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 2 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
checkin_date
Not provided
Missing description. Explain what this value means and how to supply it.
checkout_date
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations50/100
Declare destructiveHint, idempotentHint based on the tool’s actual behavior.
{
"readOnlyHint": true,
"openWorldHint": false
}Output schema80/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"checkin_date",
"checkout_date",
"hotels",
"not_found"
],
"properties": {
"lang": {
"type": "string",
"description": "Language of localized text in results: 'en' or 'ar'"
},
"hotels": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"id",
"name",
"deal"
],
"properties": {
"id": {
"type": "integer"
},
"city": {
"type": "string"
},
"deal": {
"type": "object",
"required": [
"total_price",
"currency"
],
"properties": {
"currency": {
"type": "string"
},
"meal_plan": {
"type": "string"
},
"room_name": {
"type": "string"
},
"total_price": {
"type": "number",
"description": "Total stay price for the cheapest available deal"
},
"cancellation": {
"type": "string"
},
"price_per_night": {
"type": "number"
},
"free_cancel_until": {
"type": "string"
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"stars": {
"type": "string"
},
"images": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Photo URLs, capped; total_image_count has the full count"
},
"address": {
"type": "string"
},
"name_ar": {
"type": "string"
},
"latitude": {
"type": "string"
},
"longitude": {
"type": "string"
},
"address_ar": {
"type": "string"
},
"hero_image": {
"type": "string"
},
"description": {
"type": "string",
"description": "Plain-text hotel introduction, localized by lang; may be truncated, and some hotels have none"
},
"website_url": {
"type": "string",
"description": "Link to the hotel's page on macqueen.co with the stay dates and exact deal pre-selected"
},
"checkin_time": {
"type": "string"
},
"country_code": {
"type": "string"
},
"checkout_time": {
"type": "string"
},
"reviews_count": {
"type": "integer"
},
"amenity_groups": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"group",
"amenities"
],
"properties": {
"group": {
"type": "string"
},
"group_ar": {
"type": "string"
},
"amenities": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"name_ar": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"popular_amenities": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"name_ar": {
"type": "string"
}
},
"additionalProperties": false
}
},
"total_image_count": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"not_found": {
"type": [
"null",
"array"
],
"items": {
"type": "integer"
},
"description": "Requested hotel ids that returned no deals — either no availability for these dates, or the id is not a valid Macqueen hotel id. For ids taken from a recent search this almost always means no availability."
},
"checkin_date": {
"type": "string"
},
"checkout_date": {
"type": "string"
}
},
"additionalProperties": false
}