Title100/100
Search Flights
The title clearly communicates the tool’s action and subject. Keep it concise.
Description90/100
Searches for flights between airports or cities. Not for flight status, price tracking, visa information, bookings, or reservation management. Returns results from a Wego metasearch in a single call. Parameters: - newSearch: Route (from/to as IATA codes), dates (fromDate, toDate in YYYY-MM-DD), passengers, and cabin class. Omit toDate for one-way trips. - Defaults when not specified: 1 adult, 0 children, 0 infants, economy cabin. - filters: Include only when the user mentions specific preferences (airlines, stops, times, price range, etc.). - sorting: A single string value. Options: score_desc (recommended, default), price_asc (cheapest), duration_asc (fastest), leg1_departure_time_asc/desc (outbound departure), leg2_departure_time_asc/desc (return departure, round-trip only). Time filtering (time ranges in minutes from midnight, 0-1440): - Format: {min: minutesFromMidnight, max: minutesFromMidnight} - Example: "flights after 10pm" → outboundDepartureTimeRange: {min: 1320, max: 1440} - Example: "depart 8am-1pm" → outboundDepartureTimeRange: {min: 480, max: 780} - Supports wraparound: {min: 1380, max: 60} = 11pm-1am (crosses midnight) Refinement: Provide the searchId from a previous response with updated filters or sorting. Refinement replaces all previous filters and sorting entirely — include existing values alongside new ones to preserve them. Example — changing return to after 10pm while keeping existing airlines ["SQ", "KE"], outbound 6am-8am, and price_asc sorting: { "searchId": "abc", "filters": { "airlines": ["SQ", "KE"], "outboundDepartureTimeRange": { "min": 360, "max": 480 }, "inboundDepartureTimeRange": { "min": 1320, "max": 1440 } }, "sorting": "price_asc" } Default behavior: - One date provided → one-way trip - Return date mentioned → round-trip - No preferences stated → omit filters - City name without specific airport → use the city IATA code (e.g., "London" → LON, "New York" → NYC, "Tokyo" → TYO). City codes automatically search all airports in that city. Where the user is, and which currency to price in: - countryCode: the user's own country, as an ISO 3166-1 alpha-2 code (IN, SA, SG). Set it whenever the conversation shows where the user is. It picks which Wego site the booking link opens, and the currency prices are shown in. Do not take it from the departure or arrival city — someone in India searching London flights is still IN. Leave it out when you do not know. - currencyCode: set it only when the user names a currency themselves. Otherwise leave it out and prices follow countryCode. - When you refine with searchId, also pass the sessionToken from that same response. Without it the refined results revert to the default country and currency. - The currency is locked in when a search starts. To show a different one, run this tool again with the new currencyCode and the same route, dates and passengers. Do not reuse searchId. Format URLs as markdown links: [text](url).
The description explains the capability, when to use it, and what to expect.
Inputs76/100
20 of 22 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
searchId
Reuse the searchId from a previous search when refining, filtering, or sorting.
Clear enough to supply this argument.
newSearch › from
Departure IATA code (e.g., 'SIN', 'DXB', 'NYC'). Required for new search.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › to
Arrival IATA code (e.g., 'NRT', 'LHR', 'CDG'). Required for new search.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › fromDate
Departure date in YYYY-MM-DD. Required for new search.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › toDate
Return date in YYYY-MM-DD for round-trip. Omit for one-way.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › adultsCount
Number of adults (e.g., 'my wife and I' = 2). Default: 1.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › childrenCount
Number of children aged 2-17 (e.g., 'with my 5-year-old' = 1). Default: 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › infantsCount
Number of infants under 2 (lap seat). Default: 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
newSearch › cabinClass
Cabin class (e.g., 'business class' = 'business'). Default: economy.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filters › airlines
2-letter IATA airline codes (e.g., 'Singapore Airlines' = ['SQ'], 'Emirates or Qatar' = ['EK', 'QR']).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filters › alliances
Filter by alliance (e.g., 'Star Alliance flights' = ['star_alliance'], 'oneworld', 'skyteam').
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filters › stops
Number of stops (e.g., 'direct only' = [0], 'max one stop' = [0, 1], '1 stop' = [1]).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filters › flightExperiences
Flight experience preferences (e.g., 'no red-eye' = ['no_overnight_flight'], 'no long layovers' = ['no_long_stopover']).
Clear enough to supply this argument.
filters › priceRange › min
Not provided
Missing description. Explain what this value means and how to supply it.
filters › priceRange › max
Not provided
Missing description. Explain what this value means and how to supply it.
filters › outboundDepartureTimeRange › min
Start time in minutes from midnight (0-1439). Example: 480 = 8:00 AM
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
filters › outboundDepartureTimeRange › max
End time in minutes from midnight (0-1440). Example: 780 = 1:00 PM. Supports max=1440 for end-of-day (midnight). For midnight wraparound (e.g., 11pm-1am), max can be less than min.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sorting
Sort order for results. Pass a single string value. Options: score_desc (recommended, default), price_asc (cheapest), duration_asc (fastest), leg1_departure_time_asc/desc (outbound departure), leg2_departure_time_asc/desc (return departure, round-trip only).
Clear enough to supply this argument.
countryCode
The user's OWN country as an ISO 3166-1 alpha-2 code (e.g. 'IN', 'SA', 'SG'), when it is known from the conversation or the user's stated location. Sets the Wego site the booking hand-off opens and the default pricing currency. Do NOT derive it from the departure or arrival city — a user in India searching London flights is still 'IN'. Omit it when the user's country is genuinely unknown.
Clear enough to supply this argument.
currencyCode
Currency for prices (e.g. 'INR', 'AED'). Set this ONLY when the user explicitly names a currency; otherwise omit it and the currency follows countryCode. Currency is fixed when a search is created — to change it, call this tool again with the new currencyCode and the same route, dates and passengers as a fresh search (do NOT reuse searchId).
Clear enough to supply this argument.
locale
Locale for results (e.g. 'en', 'ar'). BCP 47 with a region is accepted ('en-IN'). Omit unless the user's language is known.
Clear enough to supply this argument.
sessionToken
Pass the sessionToken from the previous response on any follow-up in the same conversation — refining with searchId, or starting a related search. It carries the country and currency already in use, so follow-up results keep the same currency and booking site. An explicit countryCode or currencyCode always wins over it.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema0/100
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared