Skip to main content
Glama

search_flights

Find and compare flight prices for your travel dates. Search for one-way or round-trip flights with customizable passenger counts and cabin classes to get available options with pricing details.

Instructions

Search for flights on Bing Flights.

Args: origin: Origin airport code (e.g., "SEA") destination: Destination airport code (e.g., "ICN") departure_date: Departure date in YYYY-MM-DD format return_date: Return date in YYYY-MM-DD format (optional) adults: Number of adult passengers (default: 1) children: Number of child passengers (default: 0) infants: Number of infant passengers (default: 0) cabin_class: 0=Economy, 1=Premium Economy, 2=Business, 3=First (default: 0) max_results: Maximum number of results to return (default: 10) headless: Run browser in headless mode (default: True)

Returns: Dictionary containing flight search results with structure: - search_params: Search parameters used - results_count: Number of results returned - flights: List of flight options with pricing, airline, times, etc. - timestamp: When the search was performed

Input Schema

NameRequiredDescriptionDefault
originYes
destinationYes
departure_dateYes
return_dateNo
adultsNo
childrenNo
infantsNo
cabin_classNo
max_resultsNo
headlessNo

Input Schema (JSON Schema)

{ "properties": { "adults": { "default": 1, "type": "integer" }, "cabin_class": { "default": 0, "type": "integer" }, "children": { "default": 0, "type": "integer" }, "departure_date": { "type": "string" }, "destination": { "type": "string" }, "headless": { "default": true, "type": "boolean" }, "infants": { "default": 0, "type": "integer" }, "max_results": { "default": 10, "type": "integer" }, "origin": { "type": "string" }, "return_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "origin", "destination", "departure_date" ], "type": "object" }

Other Tools from Bing Flights 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/chonseng/bing-flights-mcp'

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