search_oneway_flights
Search real-time one-way flights from Google Flights. IMPORTANT: for any flexible search, make ONE call with a date range and/or several destinations. Do NOT call this repeatedly, once per date -- pass departure_date_from and departure_date_to and the server searches the range for you. 'Cheapest ...
This record as markdown: /tools/com-flightpowers-freemium-google-flights-and-booking/search-oneway-flights.md
What search_oneway_flights does on Free Flight and Hotel Search (no API key)
AI agents call search_oneway_flights to retrieve information from Free Flight and Hotel Search (no API key) without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | — | |
sort_by | string | — | |
currency | string | — | |
max_price | object | — | |
max_stops | object | — | |
seat_type | object | — | |
passengers | object | — | |
to_airport | object | Yes | |
from_airport | string | Yes | |
use_fallback | boolean | — | |
airline_codes | object | — | |
departure_date | object | — |
Parameters from the server's own tool schema.
Why search_oneway_flights is rated Low
Tool queries flight data without modifying, executing code, or financial transactions.
From the tool's definition Search real-time one-way flights from Google Flights.
Risk signalsHigh parameter count (19 properties)
Attacks that exploit this kind of access
The rule that runs search_oneway_flights safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Free Flight and Hotel Search (no API key), and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For search_oneway_flights, this is the rule to start with:
search_oneway_flights is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Free Flight and Hotel Search (no API key), apply this rule, and every search_oneway_flights call is checked against it from then on.
Questions about search_oneway_flights
Search real-time one-way flights from Google Flights. IMPORTANT: for any flexible search, make ONE call with a date range and/or several destinations. Do NOT call this repeatedly, once per date -- pass departure_date_from and departure_date_to and the server searches the range for you. 'Cheapest flight to Sri Lanka anywhere in October' is one call, not thirty. FREE TIER LIMIT: one call searches at most 15 date x destination combinations. A wider request is not rejected -- it is sampled evenly across the range and comes back with truncated: true and the exact list of dates searched in search_coverage.departure_dates_searched. Check that list before assuming a date has no flights: a missing date was never searched, which is not the same as having no results. Returns each flight with price, duration, airline, stops, a bookable buy_link, and Google's historical price range (price_insights_low / price_insights_high) so you can say whether a fare is a good deal. It is categorised as a Read tool in the Free Flight and Hotel Search (no API key) MCP Server, which means it retrieves data without modifying state.
search_oneway_flights accepts 12 parameters: limit, sort_by, currency, max_price, max_stops, seat_type, passengers, to_airport, from_airport, use_fallback, airline_codes, departure_date. Required: to_airport, from_airport. The full parameter table on this page comes from the server's own tool schema.
Register the Free Flight and Hotel Search (no API key) MCP server in PolicyLayer and add a rule for search_oneway_flights: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Free Flight and Hotel Search (no API key). Nothing to install.
search_oneway_flights is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the search_oneway_flights rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for search_oneway_flights. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
search_oneway_flights is provided by the Free Flight and Hotel Search (no API key) MCP server (https://lulu.flightpowers.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Free Flight and Hotel Search (no API key), and thousands of servers like it.
Across the catalogue