Skip to main content
Glama

Variflight MCP Server

Official
by variflight

searchFlightsByNumber

Search flight details by entering the flight number, date, and optional departure/arrival airport codes. Use IATA 3-letter codes for airports and ensure the date format is YYYY-MM-DD.

Instructions

Search flights by flight number and date. Flight number should include airline code (e.g. MU2157, CZ3969). dep and arr are optional, keep empty if you don't know them. Date format: YYYY-MM-DD. IMPORTANT: For today's date, you MUST use getTodayDate tool instead of hardcoding any date. Airport codes (optional) should be IATA 3-letter codes.

Input Schema

NameRequiredDescriptionDefault
arrNoArrival airport IATA 3-letter code (e.g. CAN for Guangzhou)
dateYesFlight date in YYYY-MM-DD format. 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
depNoDeparture airport IATA 3-letter code (e.g. HFE for Hefei)
fnumYesFlight number including airline code (e.g. MU2157, CZ3969)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "arr": { "description": "Arrival airport IATA 3-letter code (e.g. CAN for Guangzhou)", "maxLength": 3, "minLength": 3, "pattern": "^[A-Z]{3}$", "type": "string" }, "date": { "description": "Flight date in YYYY-MM-DD format. 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" }, "dep": { "description": "Departure airport IATA 3-letter code (e.g. HFE for Hefei)", "maxLength": 3, "minLength": 3, "pattern": "^[A-Z]{3}$", "type": "string" }, "fnum": { "description": "Flight number including airline code (e.g. MU2157, CZ3969)", "pattern": "^[A-Z0-9]{2,3}[0-9]{1,4}$", "type": "string" } }, "required": [ "fnum", "date" ], "type": "object" }

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