Skip to main content
Glama
retracn

automationnation-mcp

Google Flights search

search_flights
Read-only

Compare flight prices, schedules, airlines, stops, and CO2 emissions on Google Flights for a route and date, one-way or round-trip.

Instructions

Search Google Flights for one route and date. Returns each flight's total price, airlines, flight numbers, departure and arrival times, duration, stops and layovers, CO2 emissions, and whether Google marks it as a best flight. One way by default; set return_date for round-trip prices. Use it for flight prices, schedules and the cheapest or fastest options between two places. Typically 5–20 seconds. Cost on your Apify account: $0.20 per 1,000 flights ($0.16 on Gold and above).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stopsNoLimit the number of stops.any
adultsNoAdult passengers; prices are totals for all of them.
originYesDeparture airport code (JFK) or city (New York).
countryNoTwo-letter country code for the Google point of sale, e.g. us, gb, de. Prices can differ by country.us
currencyNoThree-letter currency code for prices: USD, EUR, GBP, INR…USD
cabin_classNoCabin class.economy
destinationYesArrival airport code (LHR) or city (London).
max_resultsNoHow many flights to return, 1–50. Each result is billed, so ask for what you need.
return_dateNoReturn date, YYYY-MM-DD, for a round trip; prices are then round-trip totals.
departure_dateNoDeparture date, YYYY-MM-DD. If omitted, Google picks a date about two weeks out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover the safety profile (readOnly, openWorld, non-idempotent, non-destructive); the description adds the operationally critical details an agent needs — 5–20 second latency and explicit per-flight billing cost ($0.20/1,000 flights), which is essential for choosing max_results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then returns, mode behavior, usage, latency and cost. Every sentence carries distinct information; the return-field list is justified because no output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, read-only, open-world search with no output schema, the description supplies the return shape, default trip mode, expected latency, and billing model — everything an agent needs to call it correctly and size its request.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter including defaults, ranges, patterns and enums is already documented. The description's parameter notes (one-way default, return_date meaning round trip, omitted departure_date) largely restate the schema, so it meets the baseline without adding new syntax or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: 'Search Google Flights for one route and date.' The enumerated return fields (prices, airlines, times, CO2, best-flight flag) make it unmistakably distinct from siblings like search_hotels or search_google_shopping.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear use context ('for flight prices, schedules and the cheapest or fastest options between two places') and a mode rule ('One way by default; set return_date for round-trip prices'). It stops short of naming alternatives or stating when not to use it, so it is clear but not complete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.