Skip to main content
Glama

Agent Flights

Get booking link

get_booking_link
Read-onlyIdempotent

Booking link for an offer: bookingLink is a lowest.flights redirect that picks the best bookable partner (Kiwi.com, Aviasales, Trip.com) and attributes the click to your agent; alternatives lists other partners. Includes self-transfer and cached-price warnings to show the traveller. Example: {"id":"off_8f2c1a"}.

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": {
      "id": "<id>"
    },
    "name": "get_booking_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOffer id returned by search_flights (offers[].id). Valid for about 30 minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.