Can the smart glasses rental be booked automatically?
check_glasses_rentalChecks MDJ's rules for an AI agent booking the smart glasses rental (voice guide MAYA) by itself: the destination must be approved, the kit handover must be at an approved place (secure locker at Ben Gurion airport, or courier delivery in central Israel), the start date must be at least 30 days away, and a kit must be free for the dates. When all pass, returns the price from the MDJ store, the checkout link and a signed AP2-style cart. When any fails, returns how the traveler contacts MDJ: Maya answers those requests case by case. Never creates a booking.
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": {
"destination": "<destination>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"handover": "<handover>"
},
"name": "check_glasses_rental"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Optional, default smart-trip. smart-trip: the traveler planned the route. mdj-planner: Maya also plans the route. vip-experience: planning plus eSIM, video editing and home delivery. | |
| end_date | Yes | Last day of the rental, YYYY-MM-DD. | |
| handover | Yes | airport_locker: secure locker at Ben Gurion airport. home_delivery: courier to the traveler's address. | |
| start_date | Yes | First day of the rental, YYYY-MM-DD. | |
| destination | Yes | Country or city of the trip, for example "Vietnam" or "Hoi An". | |
| delivery_area | No | Required for home_delivery: is the address in central Israel? |