Skip to main content
Glama
EuroScrape

EuroScrape MCP server

Official

Google Flights Scraper: Cheapest Dates, Prices & Price History

search_flights
Read-only

Search flight prices from Google Flights for routes and departure dates; compare airlines, times, stops, and fares across one or several days.

Instructions

Flight prices from Google Flights for a route and one or several departure dates: airlines, times, stops, price, and the typical price range of the route. Use numberOfDates with cheapestOnly to find the cheapest day to fly. Pay per result on your Apify account: run start $0.003, flight delivered $0.002.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNoNumber of adult passengers. Prices are totals for all passengers.
routesNoOrigin and destination as 3-letter airport or city codes, e.g. "CDG-BCN", "PAR-LIS" (all Paris airports), "LON-NYC".
currencyNoCurrency of all prices.
maxStopsNoMaximum number of stops.
cabinClassNoTravel class.
cheapestOnlyNoOne flight per route and date: the cheapest. Ideal for price calendars and alerts (fewer items, lower cost).
departureDateNoFirst departure date (YYYY-MM-DD). Default: in 30 days.
numberOfDatesNoSearch several departure dates in a row, e.g. 30 = every day of the next month, to find the cheapest day to fly.
tripLengthDaysNo0 = one way. For example 7 = return one week after each departure date.
daysBetweenDatesNo1 = every day, 7 = same weekday every week.
maxFlightsPerSearchNoGoogle's best flights come first, then other flights. Default here: 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only supply readOnlyHint and openWorldHint, so the description adds meaningful behavior beyond them: the pay-per-result cost model with explicit run start ($0.003) and per-flight ($0.002) charges, which affects how an agent should batch calls. It does not discuss rate limits or result caps beyond maxFlightsPerSearch.

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

Conciseness4/5

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

Three tight sentences with no filler: purpose and return fields first, then the cheapest-day pattern, then cost. Each sentence earns its place, though the cost sentence could arguably live in metadata given other tools omit it.

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

Completeness4/5

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

For an 11-parameter read-only search with no output schema, the description covers what is returned (airlines, times, stops, price, route price range) and highlights the key param interaction, which is enough for correct invocation. It stops short of routing guidance versus the sibling flight tool.

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 all 11 parameters are already documented in the schema, making 3 the baseline. The description adds only marginal parameter meaning by linking numberOfDates with cheapestOnly for price-calendar use, which the schema partially covers already (numberOfDates mentions finding the cheapest day).

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

Purpose4/5

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

States a specific verb and resource ('Flight prices from Google Flights for a route and one or several departure dates') and enumerates the returned fields (airlines, times, stops, price, typical price range). However, it never distinguishes itself from the flight-related sibling find_ryanair_fares, leaving the agent to guess which flight source to use.

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

Usage Guidelines3/5

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

The description gives one concrete usage pattern ('Use numberOfDates with cheapestOnly to find the cheapest day to fly'), which is helpful but narrow. It offers no when-not guidance and does not mention the sibling find_ryanair_fares or any other alternative for flight fare lookups.

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