Skip to main content
Glama

DSP Booking MCP Server

by hrz8

initialize_booking_session

Start a new flight booking session by providing travel details including routes, dates, passengers, and fare preferences to search for available flights.

Instructions

Initialize a new booking session.

Input Schema

NameRequiredDescriptionDefault
requestBodyYesInitial flight search parameters to validate and establish booking session. This creates the foundation for subsequent flight searches.

Input Schema (JSON Schema)

{ "properties": { "requestBody": { "additionalProperties": false, "description": "Initial flight search parameters to validate and establish booking session. This creates the foundation for subsequent flight searches.", "properties": { "commercialFareFamilies": { "description": "Array of fare family codes to filter search results. Common codes: CFFECO (Economy), CFFBUS (Business), CFFFIR (First). Use airline-specific codes for targeted searches.", "items": { "type": "string" }, "minItems": 1, "type": "array" }, "flowCode": { "default": "Revenue", "description": "Booking flow context that determines available options and pricing logic", "enum": [ "Revenue", "Award", "Upgrade" ], "type": "string" }, "itineraries": { "description": "Flight segments defining the journey. Single segment = one-way, two segments = round-trip. Each segment represents one flight leg of the complete journey.", "items": { "additionalProperties": false, "properties": { "departureDate": { "description": "Departure date in ISO format YYYY-MM-DD (e.g., 2025-09-30). Must be a future date.", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, "destinationLocationCode": { "description": "IATA airport code for arrival city (3 uppercase letters, e.g., SIN for Singapore)", "maxLength": 3, "minLength": 3, "pattern": "^[A-Z]{3}$", "type": "string" }, "isRequestedBound": { "description": "Whether this segment is the primary requested journey. Set true for outbound/main flight, false for return flights in round-trip searches.", "type": "boolean" }, "originLocationCode": { "description": "IATA airport code for departure city (3 uppercase letters, e.g., KUL for Kuala Lumpur)", "maxLength": 3, "minLength": 3, "pattern": "^[A-Z]{3}$", "type": "string" } }, "required": [ "originLocationCode", "destinationLocationCode", "departureDate", "isRequestedBound" ], "type": "object" }, "maxItems": 10, "minItems": 1, "type": "array" }, "selectedBoundId": { "description": "Optional identifier for pre-selected outbound flight in round-trip bookings. Used when customer has already chosen their outbound flight and is now selecting return options.", "type": "string" }, "travelers": { "description": "List of all passengers for the booking. Each traveler object represents one person. Total count affects pricing and availability. Maximum 9 passengers per booking.", "items": { "additionalProperties": false, "properties": { "passengerTypeCode": { "description": "Type of passenger for pricing and service determination", "enum": [ "ADT", "CHD", "INF" ], "type": "string" } }, "required": [ "passengerTypeCode" ], "type": "object" }, "maxItems": 9, "minItems": 1, "type": "array" } }, "required": [ "commercialFareFamilies", "itineraries", "travelers" ], "type": "object" } }, "required": [ "requestBody" ], "type": "object" }

Other Tools from DSP Booking MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/hrz8/mcp-openapi'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server