Skip to main content
Glama

Variflight Tripmatch MCP Server

Official
by variflight

searchTrainTickets

Find train tickets between departure and arrival cities for a specific travel date in YYYY-MM-DD format using the Variflight Tripmatch MCP Server.

Instructions

Search for train tickets between two cities on a specific date. Date must be in YYYY-MM-DD format.

Input Schema

NameRequiredDescriptionDefault
dateYesTravel 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
fromYesDeparture city name (e.g. 合肥)
toYesArrival city name (e.g. 北京)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date": { "description": "Travel 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" }, "from": { "description": "Departure city name (e.g. 合肥)", "type": "string" }, "to": { "description": "Arrival city name (e.g. 北京)", "type": "string" } }, "required": [ "from", "to", "date" ], "type": "object" }

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

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