Skip to main content
Glama
qqoqto
by qqoqto

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoServer host address127.0.0.1
MCP_PATHNoHTTP path for streamable-http transport/mcp
MCP_PORTNoServer port8000
LOG_LEVELNoLogging levelINFO
MCP_DEBUGNoEnable debug modefalse
LOG_MAX_SIZENoMaximum log file size in MB10
MCP_SSE_PATHNoSSE path for SSE transport/sse
LOG_FILE_PATHNoPath to log filelogs/flight_server.log
MCP_TRANSPORTNoTransmission protocol (stdio, sse, streamable-http)sse
LOG_BACKUP_COUNTNoNumber of log backups to keep5
FASTMCP_LOG_LEVELNoFastMCP log levelINFO

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchFlightRoutesC

來回航班查詢 - 根據出發地、目的地、出發日期和回程日期查詢來回機票資訊

getCurrentDateA

获取当前日期 - 返回格式为 yyyy-MM-dd 的当前日期字符串

getTransferFlightsByThreePlaceA

航班中转路线查询 - 根据出发地、中转地、目的地、最小转机时间、最大转机时间查询中转航班信息,最小转机时间默认为2小时,最大转机时间默认为5小时

getWeatherByLocationB

天气信息查询 - 根据经纬度查询天气信息,使用Open-Meteo API。如果不提供日期,默认查询今天和明天的天气数据

getWeatherByCityB

城市天气查询 - 根据城市名查询天气信息。支持武汉、北京、上海等主要城市。如果不提供日期,默认查询今天和明天的天气数据

getFlightInfoB

航班信息查询 - 根据航班号查询详细的航班信息,包括航班状态、座位配置、价格、天气等

getFlightStatusA

航班实时状态查询 - 使用OpenSky Network查询航班实时位置和状态。flight_number为航班呼号(如CCA1234),date参数无效(仅支持实时数据)

getAirportFlightsC

机场周边航班查询 - 查询指定机场周边30公里范围内的所有航班。支持主要机场代码如PEK、PVG、CAN等

getFlightsInAreaC

区域航班查询 - 查询指定地理区域内的所有航班。参数为边界框坐标(最小纬度,最大纬度,最小经度,最大经度)

trackMultipleFlightsB

批量航班跟踪 - 同时查询多个航班的实时状态。flight_numbers为航班呼号列表,如['CCA1234','CSN5678']

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 10 tools

Disambiguation3/5

getFlightInfo and getFlightStatus both take a flight number and return status-related information, creating real ambiguity about which to use. The spatial queries getAirportFlights and getFlightsInArea also overlap conceptually, though their input types differ and descriptions partially clarify the distinction.

Naming Consistency4/5

All tool names are camelCase and verb-first (get/track/search), giving a mostly predictable pattern. Minor deviations like the awkwardly long getTransferFlightsByThreePlace and the generic getCurrentDate keep it from being perfect.

Tool Count4/5

10 tools is within the ideal 3-15 range and suits a flight query server well. A couple of tools (getFlightInfo/getFlightStatus) could be consolidated, so it falls just short of ideal scoping.

Completeness3/5

The set covers round-trip search, transfer search, status tracking, flight details, weather, and current date. However, as a 'ticket' server it lacks booking/purchase, one-way direct flight search, and order management, which are notable gaps for the implied domain.