Skip to main content
Glama

Variflight MCP Server

Official
by variflight

searchFlightItineraries

Find purchasable flight itineraries and lowest prices by providing departure and arrival city codes (e.g., BJS, SHA) and departure date in YYYY-MM-DD format. Ideal for planning air travel efficiently.

Instructions

Search for purchasable flight options and the lowest price using the departure city three-letter code, arrival city three-letter code, and departure date. (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei).

Input Schema

NameRequiredDescriptionDefault
arrCityCodeYesArrival city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)
depCityCodeYesDeparture city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)
depDateYesDeparture city date (format: YYYY-MM-DD, e.g., 2025-07-04).IMPORTANT: If user input only cotains month and date, you should use getTodayDate tool to get the year. For today's date, use getTodayDate tool instead of hardcoding

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "arrCityCode": { "description": "Arrival city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)", "pattern": "^[A-Z]{3}$", "type": "string" }, "depCityCode": { "description": "Departure city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)", "pattern": "^[A-Z]{3}$", "type": "string" }, "depDate": { "description": "Departure city date (format: YYYY-MM-DD, e.g., 2025-07-04).IMPORTANT: If user input only cotains month and date, you should use getTodayDate tool to get the year. For today's date, use getTodayDate tool instead of hardcoding", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" } }, "required": [ "depCityCode", "depDate", "arrCityCode" ], "type": "object" }

You must be authenticated.

Other Tools from Variflight 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/variflight/variflight-mcp'

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