Skip to main content
Glama

MCP Server Boilerplate

airports-search

Search for airport and flight details using Google Flights. Input departure and arrival airport codes, dates, and trip type to retrieve essential flight information, price insights, and booking links.

Instructions

Search for airport and flight information using Google Flights

Input Schema

NameRequiredDescriptionDefault
arrival_idYesArrival airport code (e.g., 'NRT', 'LAX', 'JFK', 'LHR'). Use 3-letter IATA codes.
departure_idYesDeparture airport code (e.g., 'CDG', 'AUS', 'LAX', 'SFO'). Use 3-letter IATA codes.
include_airportsNoInclude airport information
include_linksNoInclude booking links for each flight (off by default)
include_price_insightsNoInclude price insights and history
max_best_flightsNoMaximum number of best flights to return
max_other_flightsNoMaximum number of other flights to return
multi_city_jsonNoJSON string for multi-city trips with multiple legs (required when type=3)
outbound_dateNoOutbound date in YYYY-MM-DD format
return_dateNoReturn date in YYYY-MM-DD format for round-trip (REQUIRED when type=1)
summary_onlyNoReturn only essential flight information
typeNoTrip type: 1=Round-trip (requires return_date), 2=One-way (default), 3=Multi-city (requires multi_city_json). Use type=2 for one-way trips to avoid errors.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "arrival_id": { "description": "Arrival airport code (e.g., 'NRT', 'LAX', 'JFK', 'LHR'). Use 3-letter IATA codes.", "type": "string" }, "departure_id": { "description": "Departure airport code (e.g., 'CDG', 'AUS', 'LAX', 'SFO'). Use 3-letter IATA codes.", "type": "string" }, "include_airports": { "default": false, "description": "Include airport information", "type": "boolean" }, "include_links": { "default": false, "description": "Include booking links for each flight (off by default)", "type": "boolean" }, "include_price_insights": { "default": true, "description": "Include price insights and history", "type": "boolean" }, "max_best_flights": { "default": 3, "description": "Maximum number of best flights to return", "type": "number" }, "max_other_flights": { "default": 5, "description": "Maximum number of other flights to return", "type": "number" }, "multi_city_json": { "description": "JSON string for multi-city trips with multiple legs (required when type=3)", "type": "string" }, "outbound_date": { "description": "Outbound date in YYYY-MM-DD format", "type": "string" }, "return_date": { "description": "Return date in YYYY-MM-DD format for round-trip (REQUIRED when type=1)", "type": "string" }, "summary_only": { "default": true, "description": "Return only essential flight information", "type": "boolean" }, "type": { "default": 2, "description": "Trip type: 1=Round-trip (requires return_date), 2=One-way (default), 3=Multi-city (requires multi_city_json). Use type=2 for one-way trips to avoid errors.", "type": "number" } }, "required": [ "departure_id", "arrival_id" ], "type": "object" }

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/CaptainCrouton89/maps-mcp'

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