LetsFG — Flights & Hotels
v2026.5.77Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_flights
Search hundreds of airlines for live flight prices — completely FREE, unlimited, read-only. Returns structured offers with prices, airlines, times, durations, and stopovers. Some offers carry `starlink` for in-flight Starlink Wi-Fi: "confirmed_all" / "confirmed_some" mean the carrier has FULLY fitted that aircraft type, "likely_all" / "likely_some" mean the rollout on that type is underway but incomplete. State only "confirmed_*" as fact; describe "likely_*" as "the airline is fitting this aircraft type, not guaranteed on your flight". Anything ending in "_some" has at least one leg WITHOUT…
| Parameter | Type | Description |
|---|---|---|
date_from * | string | Departure date YYYY-MM-DD |
destination * | string | IATA code of arrival (e.g., 'BCN', 'LAX') |
origin * | string | IATA code of departure (e.g., 'LON', 'JFK'). Use resolve_location if you only have a name. |
adults | integer | Number of adults (default: 1) |
cabin_class | string | M=economy, W=premium, C=business, F=first |
children | integer | Number of children (2-11) |
currency | string | Currency code (EUR, USD, GBP) |
departure_time_from | string | Earliest departure time HH:MM (e.g., '06:00') |
departure_time_to | string | Latest departure time HH:MM (e.g., '14:00') |
max_results | integer | Max offers to return |
return_from | string | Return date YYYY-MM-DD (omit for one-way) |
resolve_location
Convert a city/airport name to IATA codes. Always call before search_flights if you only have a city name. Read-only, safe to call multiple times.
| Parameter | Type | Description |
|---|---|---|
query * | string | City or airport name (e.g., 'London', 'Berlin') |
book_flight
Book a flight from a search result. FLOW: authenticate (once) -> search_flights -> book_flight CHARGES: nothing from LetsFG. A completed booking pays the airline prices from airlines and the major booking sites. RESULT: either {"booked": true, "order_id": "..."} or {"booked": false, "booking_url": "..."} — the second means the booking genuinely did not complete and nothing was charged. That is a normal outcome, NOT a transient error: do not retry, give the user the booking_url. SAFETY: use REAL passenger details — names must match passport, email receives the e-ticket.
| Parameter | Type | Description |
|---|---|---|
contact_email * | string | Booking contact email |
offer_id * | string | Offer ID from search_flights |
passengers * | array | Passengers with 'id' from search passenger_ids |
search_id * | string | search_id from search_flights |
idempotency_key | string | Unique key to prevent double-bookings on retry (e.g., UUID). Strongly recommended. |
get_flight_booking
Poll a flight booking started by book_flight. REQUIRED to learn the outcome: on a PFS Bearer token book_flight returns a booking_ref and state "booking_in_progress", not a PNR - the booking itself takes 4-11 minutes. Call it every 20-30 s with that booking_ref until state is terminal: completed -> PNR issued, card charged failed -> the hold was released, nothing was charged needs_attention -> a human is looking at it; do NOT rebook Do not rebook while the state is still moving, and do not treat a slow poll as a failure - the money is HELD, not taken, until the airline co…
| Parameter | Type | Description |
|---|---|---|
booking_ref * | string | The booking_ref book_flight returned |
answer_booking_question
Answer the question a paused booking is waiting on. get_flight_booking returns `awaiting_choice` when the booking agent has stopped mid-checkout holding a cart: at the airline's own seat map, at a paid extra it has just priced, or at a fare that moved. NOTHING PROGRESSES UNTIL YOU ANSWER, and the cart expires. Put the question to the traveller with the options and the time left, then send their answer here. kind "seat" -> seats: [{ d: "12A" }, ...] from the map you were shown, or skip: true kind "extra" -> confirm: true to take it (a bag, or a moved fare), or confirm: false / skip: tr…
| Parameter | Type | Description |
|---|---|---|
booking_ref * | string | The booking_ref book_flight returned |
kind * | string | From awaiting_choice.kind |
round * | number | From awaiting_choice.round. Required. |
confirm | boolean | kind "extra" only: take it (true) or decline (false). |
seats | array | kind "seat" only: the chosen seats, e.g. [{ "d": "12A" }]. |
skip | boolean | Decline outright — no seat, no extra. |
resolve_hotel_city
Convert a place name to the supplier city id that search_hotels needs. Always call this first if you only have a city name. Read-only and safe to repeat. Use `Id` from the first result as city_id and `Name` as city_name.
| Parameter | Type | Description |
|---|---|---|
text * | string | Place name (e.g., 'Warsaw', 'Paris') |
search_hotels
Search real, bookable hotel inventory. Requires a connected payment method — the SAME one that authorises flight booking. That applies to search too, not just booking, because a search opens a real session at the supplier. Every rate type is returned, refundable and non-refundable; each offer's `refundable` and `free_cancellation_until` say which. `price` is what the guest pays, in `currency` (USD unless you pass currency): the supplier's cost plus `markup_rate` (6.4% for Revolut Pay or an EEA card, 8.3% for a card issued outside the EEA). Nothing is added at booking. Keep the chosen offer…
| Parameter | Type | Description |
|---|---|---|
check_in * | string | yyyy-MM-dd |
check_out * | string | yyyy-MM-dd |
city_id * | number | From resolve_hotel_city (`Id`) |
city_name * | string | From resolve_hotel_city (`Name`) |
adults | number | Adult guests (default 2) |
child_ages | array | Age of each child; the supplier needs these to price |
children | number | Child guests (default 0) |
currency | string | ISO code every price is quoted in (default USD) |
limit | number | Max hotels to return (default 40) |
nationality | string | Two-letter guest nationality. Rates and taxes genuinely differ by it. |
book_hotel
Book one hotel rate. The offer's full price is HELD on the connected Revolut payment method (authorised, not taken); LetsFG books and pays the supplier; the hold is captured only once the supplier has confirmed. If the booking fails for any reason the hold is released and nothing is charged. There is no reservation fee, no deposit and no pay link. Returns a booking_job_id, NOT the booking — a booking takes minutes. Poll get_hotel_booking every ~20s until status is succeeded, failed or attention; all three are final. Copy expected_price (the offer's price), expected_cost, currency and fx_ra…
| Parameter | Type | Description |
|---|---|---|
check_in * | string | yyyy-MM-dd |
check_out * | string | yyyy-MM-dd |
city_id * | number | |
city_name * | string | |
combination_id_v2 * | string | From the chosen offer — identifies that exact rate |
email * | string | The guest's e-mail: the confirmation, or a note that it did not go through, goes here. |
expected_cost * | number | The offer's `expected_cost` (supplier cost, PLN), verbatim |
expected_price * | number | The offer's `price`, verbatim |
guests * | array | ONE entry per guest in the room, children included: adults first, then children in the child_ages order used in search_hotels (the party travels with the offer's session). Each is {title, first_name,… |
hotel_code * | number | From the chosen hotel |
phone * | string | |
session_id * | string | The chosen offer's session_id |
adults | number | Adults in the room, as searched (default 2) |
combination_id | number | From the chosen offer (optional) |
currency | string | The offer's `currency`, verbatim (omitted means PLN) |
fx_rate | number | The offer's `fx_rate`, verbatim (omit for a PLN offer) |
hotel_name | string | |
idempotency_key | string | Optional. A retry with the same key returns the booking already under way |
phone_country_code | string | Default '48' |
special_requests | array |
get_hotel_booking
Collect the result of a booking started with book_hotel. Poll every ~20s. status is in_progress, succeeded, failed or attention; the last three are final — stop polling. - succeeded: confirmation, hotel, room, total_price + currency (what the guest is charged), supplier_paid + supplier_currency, payment_status, refundable, free_cancellation_until, cancellation_ladder and terms. - failed: error, written for the guest. The hold was released; nothing was charged. - attention: error (+ confirmation if known). The outcome could not be settled automatically; the hold is kept (nothing charged) whi…
| Parameter | Type | Description |
|---|---|---|
booking_job_id * | string | From book_hotel |
cancel_hotel_booking
Cancel a hotel booking made by this account and refund the guest. A zero-charge cancellation (a refundable rate before free_cancellation_until) refunds the charge in full; a cancellation that would cost money is refused (409) — the hotel's own ladder is in the booking terms. Takes over a minute; if it times out do NOT assume it failed — re-check before retrying.
| Parameter | Type | Description |
|---|---|---|
confirmation * | string | From the completed booking |
authenticate
Explain how to connect a card so this server can search and book. Nothing is charged to connect — a 0.00 Revolut setup that saves the card so a booking can be charged later. Call with no arguments. It returns the current instructions and add_card_url (https://letsfg.co/connect). A PERSON must approve once in a browser — there is no endpoint that mints a token from card details, so do not ask the user for card numbers and do not try to automate this step. Two ways in: (a) add LetsFG as a connector in an assistant that supports remote MCP servers and approve it, or (b) any OAuth-capable cl…
connect_payment
[Developer API only — you almost certainly want `authenticate` instead] Mints a one-time link for connecting a payment method to a PAID prepaid Developer API account. Nothing is charged to connect and card details never touch LetsFG: a PERSON opens the returned connect_url in a browser and saves a card, Revolut Pay or Google Pay there. Do not ask a user for card numbers and do not try to automate that step. Refuses to run unless LETSFG_API_KEY is set, because agents kept calling this and creating billing accounts they did not need. Replaced setup_payment on 2026-09-08, when the Stripe lane w…
get_agent_profile
[Developer API only] Get agent profile, balance and usage stats. Read-only. Requires LETSFG_API_KEY. A PFS Bearer token has no profile — it is bound to your payment method, carries no balance, and search and booking are free.
load_resources
Load the LetsFG workflow guide (3-step booking flow, pricing, passenger rules, error handling). Call this ONCE at the start of a conversation to understand how to use the flight tools correctly. Clients that support MCP resources get this automatically — this tool is for clients that do not.