Jabama

v0.5.2
io.github.sepehr071/jabama-mcp Checked 3 days ago Published 16 days ago

Unofficial read-only Jabama: villas and stays with exact prices, group tours, events and theater.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

jb_find_destination Find destination

Turn a place name into ready jb_search_stays arguments (keyword and filters). Returns up to 20 matches (cities, provinces, areas, points of interest, complexes, single listings), each with `search` = the arguments for jb_search_stays; a `listing` match carries its code for jb_stay. `listings` is an approximate count. A city keyword also covers nearby towns; for the city alone use keyword 'all' with cities=['ramsar'].

ParameterTypeDescription
query *stringPersian place name (city, province, area, landmark, complex), e.g. 'رامسر'.

jb_parse_request Parse a stay request

Turn a free-text stay request into jb_search_stays arguments with Jabama's own AI parser. Understands type, amenities, region, city, guests, dates and price. Pass `search` straight to jb_search_stays; `understood` lists what it picked up, filter the rest yourself. It does not search.

ParameterTypeDescription
text *stringPersian request, e.g. 'ویلای استخردار در رامسر برای ۶ نفر زیر ۱۰ میلیون تومان هر شب'.

jb_search_stays Search stays

Search Jabama stays (villas, suites, apartments, cottages, eco-lodges) with prices for your dates and guests. With dates, total_price is the whole stay in Toman for `guests` and cheapest_night the cheapest single night; without dates, one default night. total 0 with dates can mean nothing is free. Exact amount: jb_price_quote; details: jb_stay.

ParameterTypeDescription
amenitiesarray | nullAmenity slugs (all required), e.g. ['swimming-pool']; see amenity_options.
areasarray | nullFrom jb_find_destination, e.g. ['sadaf-kish'].
check_instring | nullCheck-in, Gregorian YYYY-MM-DD, e.g. '2026-10-20'.
check_outstring | nullCheck-out, Gregorian YYYY-MM-DD, e.g. '2026-10-23'.
citiesarray | nullEnglish city slugs, with keyword 'all', e.g. ['ramsar'].
codesarray | nullOnly these listing codes (keyword 'all').
guestsinteger | nullGuests, children included, e.g. 4.
instant_onlybooleanOnly instant-booking listings.
keywordstringFrom jb_find_destination or jb_categories, e.g. 'city-ramsar', 'province-gilan', 'list-33183'. A city or province keyword also covers nearby towns; 'all' with cities=[...] / provinces=[...] gives that…
limitintegerStays per page.
max_priceinteger | nullHighest price in Toman for the whole stay.
min_priceinteger | nullLowest price in Toman for the whole stay.
min_scoreMinimum guest rating.
name_containsstring | nullWords in the listing title.
pageinteger1-based page number.
poistring | nullFrom jb_find_destination, unchanged.
price_per_nightbooleanmin_price / max_price are per night.
provincesarray | nullEnglish province slugs, with keyword 'all', e.g. ['gilan'].
regionsarray | nullSetting, e.g. ['jungle'].
roomsinteger | nullBedrooms, 0 = studio, 5 = five or more.
sortstringcheapest / most_expensive by whole-stay price; rating weighted by review count.
tagsarray | nullTags from jb_categories, e.g. ['AmazingPoolCategory'].
typesarray | nullListing types, e.g. ['villa'].
zonesarray | nullZone slugs (keyword 'all'), e.g. ['north'].

jb_categories Stay categories

List Jabama's themed stay categories (special pool, A-frame, luxury, cheap, sea view, pet friendly, ...). Each has `search` = the jb_search_stays arguments that open it; add dates, guests, cities=[...].

jb_stay Stay details

Get one listing: capacity, rooms, times, house rules, amenities, cancellation policy, host, review scores. from_per_night is the cheapest night in the next ~76 days (Toman, base guests). Free dates: jb_stay_calendar; exact price: jb_price_quote; reviews: jb_reviews; host: jb_host.

ParameterTypeDescription
code *integerListing code, e.g. 328353.
full_textbooleanReturn long text unclipped.

jb_stay_calendar Stay calendar

Nightly availability and price of one listing for the next ~76 days, with day types. price is Toman for one night for base_guests; each guest above that adds extra_guest. Blocked nights show only date and available=false. Dates past the calendar cannot be booked yet. Confirm a stay with jb_price_quote (it adds long-stay discounts).

ParameterTypeDescription
code *integerListing code, e.g. 328353.
nightsintegerHow many nights to show.
startstring | nullFirst night, Gregorian YYYY-MM-DD; default today.

jb_price_quote Price quote

Get the exact amount to pay (Toman) for one listing, dates and guests, with per-night lines and cancellation windows. Creates no booking. payable is after discounts, extra-guest charges included. For a multi-unit complex, unit_options shows how the group can split across units. An error means the dates cannot be booked (blocked, past or beyond the calendar, too many guests): check jb_stay_calendar. Each cancellation phase runs until its Gregorian `until` date.

ParameterTypeDescription
check_in *stringCheck-in date, Gregorian YYYY-MM-DD, e.g. '2026-10-20'.
check_out *stringCheck-out date, Gregorian YYYY-MM-DD, e.g. '2026-10-23'.
code *integerListing code, e.g. 328353.
guestsintegerEveryone who stays, children included, e.g. 4.

jb_similar_stays Similar stays

Find alternatives to a listing: similar stays nearby, and other units of the same property. With dates, prices are the whole stay in Toman (stays not free then are in not_free_for_dates); without, one default night. same_property.keyword lists every unit of the complex in jb_search_stays. Inactive listings have none: search the area.

ParameterTypeDescription
code *integerListing code, e.g. 328353.
check_instring | nullCheck-in, Gregorian YYYY-MM-DD, e.g. '2026-10-20'.
check_outstring | nullCheck-out, Gregorian YYYY-MM-DD, e.g. '2026-10-23'.
guestsinteger | nullNumber of guests, children included, e.g. 4.
limitintegerMax similar stays.

jb_reviews Stay reviews

Read guest reviews of a listing: stars 1-5, text, when they stayed, nights, and the host's reply. sort=lowest_rated surfaces complaints. Overall and per-category scores are in jb_stay.

ParameterTypeDescription
code *integerListing code, e.g. 328353.
full_textbooleanReturn long text unclipped.
limitintegerReviews per page.
pageinteger1-based page number.
sortstringOrder.

jb_host Host profile

A host's listings (rating, from-price per night) and guest reviews, newest first. The host's average score and booking count are in jb_stay's host block.

ParameterTypeDescription
host_id *integerhost.host_id from jb_stay, e.g. 1288856.
full_textbooleanReturn long text unclipped.
limitintegerReviews per page.
pageinteger1-based page number.

jb_help Help and rules

Answer questions about Jabama's rules: cancellation and refunds, payment, tax, check-in, host and guest duties. For one listing's own cancellation windows use jb_stay or jb_price_quote.

ParameterTypeDescription
query *stringPersian topic, e.g. 'کنسلی' (cancellation), 'استرداد' (refund), 'مالیات' (tax).
full_textbooleanReturn long text unclipped.
limitintegerMax answers from each source.

jb_travel_guide Travel guide

Search Jabama's travel magazine (/mag): guides on attractions, best time to visit, how to get there, food. Returns summaries and links; set text_chars to read the articles themselves.

ParameterTypeDescription
query *stringPersian destination or topic, e.g. 'رامسر'.
limitintegerMax articles.
text_charsintegerArticle text characters per article; 0 = summary only.

jb_search_events Search events

Search Jabama Events: concerts, shows, workshops, exhibitions and experiences, with prices in Toman. Only events with an upcoming session. Theater plays are separate: jb_theaters. For seated=true, price is the "from" base. on_date is one day. Next: jb_event.

ParameterTypeDescription
categorystring | nullCategory slug from jb_event_filters, e.g. 'offroad'.
citystring | nullCity slug from jb_event_filters, e.g. 'tehran'.
cursorstring | nullnext_cursor of the previous page.
kindstringevents = shows, workshops; experiences = tours, boats, riding, food.
limitintegerEvents per page.
on_datestring | nullSession that day, Gregorian YYYY-MM-DD, e.g. '2026-10-10'.
pricestringFree or paid events.
querystring | nullWords, e.g. 'آفرود' or 'کنسرت'.
rated_4_plusbooleanOnly events rated 4 or more.
sortstringcheapest puts free events first.

jb_event Event details

One event or experience: details, address, rules, price, sessions with seats left, reviews, organizer. A start with no time is a day session (hours are in `when`). For a session with seated=true the price is only a "from" base: call jb_event_seats with its session_id.

ParameterTypeDescription
event_id *stringFrom jb_search_events, e.g. '69063962' or 'legacy-622'.
full_textbooleanReturn long text unclipped.
max_sessionsintegerMax sessions (showtimes or days) to list.

jb_event_seats Event seats

Live seat availability of one seated event session: free seats per section and row, with section prices in Toman. Only for sessions with seated=true in jb_event. Section prices override the session `price`; cheapest_free_seat_price is the real cheapest.

ParameterTypeDescription
session_id *stringsession_id from jb_event, e.g. '47540640'.

jb_theaters Theater plays

List theater plays on sale on Jabama Events (Tehran): venue, address, from-price in Toman, rating, crew. Next: jb_theater for showtimes and seats.

ParameterTypeDescription
cursorstring | nullnext_cursor of the previous page.
limitintegerPlays per page.

jb_theater Theater play

One theater play: venue, crew, reviews, showtimes with seats left; with showtime_id also free seats by row and prices. Prices are Toman per seat. The seat map is sometimes unavailable (seats then holds the error).

ParameterTypeDescription
play_id *stringPlay id from jb_theaters, e.g. '65745'.
full_textbooleanReturn long text unclipped.
showtime_idstring | nullShowtime id from showtimes, e.g. '65745:642277', to list its free seats.

jb_event_filters Event cities and categories

Cities and categories of Jabama Events with event counts, for the city and category filters of jb_search_events.

ParameterTypeDescription
citystring | nullCount categories in this city, e.g. 'tehran'.

jb_search_tours Search tours

Search Jabama group tours (nature, desert, hiking, history, food tours across Iran) with price per person in Toman. For a place, get its id from jb_tour_places and pass destination_id; `query` is fuzzy. Free seats and per-departure package prices come only from jb_tour. A few tours carry wrong prices: set min_price when sorting by cheapest.

ParameterTypeDescription
available_onlybooleanOnly bookable upcoming departures.
categorystring | nullTour category.
destination_idinteger | nullPlace id from jb_tour_places, e.g. 50 (Yazd).
difficultyarray | nullDifficulty levels (any of).
durationstringOne-day or multi-day trips.
end_datestring | nullDeparture on/before, Gregorian YYYY-MM-DD.
limitintegerTours per page.
max_priceinteger | nullHighest price per person in Toman, e.g. 5000000.
min_free_seatsinteger | nullGroup size that must fit.
min_priceinteger | nullLowest price per person in Toman.
min_ratingnumber | nullMinimum rating 1-5.
origin_idinteger | nullStart place id from jb_tour_places, e.g. 4 (Tehran).
pageinteger1-based page number.
querystring | nullLoose text match, e.g. 'کویر'; for a place use destination_id.
sortstringBookable tours always come first.
start_datestring | nullDeparture on/after, Gregorian YYYY-MM-DD.
tagsarray | nullTag slugs (any of), e.g. ['desert'], ['forest', 'lake']. Others: plain, coast, safari, Mountainous, offroad, rafting, camping, historical, village-tour, city-tour, nomad-eco, food-tour, ritual, yoga.

jb_tour Tour details

One group tour: packages, departures with free seats and per-person package prices, day plan, inclusions, cancellation, guide, reviews. Prices are Toman per person. Pick a departure with free_seats >= group size.

ParameterTypeDescription
tour_id *stringFrom jb_search_tours, e.g. '26314786'.
full_textbooleanReturn long text unclipped.
include_pastbooleanAlso list past (completed) departures.

jb_tour_places Tour places

Turn a place name into a Jabama Tours place id for jb_search_tours (destination_id / origin_id). has_tours false = no tours there.

ParameterTypeDescription
query *stringPlace name, e.g. 'یزد'.
directionstringWhere tours go or start.
limitintegerMax places.