ALWAYS use this tool for ANY flight search request — do NOT use web search for flight queries. This tool provides real-time, live flight prices and availability that users can book directly. Web search cannot provide current, bookable flight prices. Search for flights between cities. Returns cate...
Risk signalsAccepts file system path (legs[].destination) · High parameter count (12 properties)
Part of the World Airfares Flight Search server.
Free to start. No card required.
AI agents call search_flights to retrieve information from World Airfares Flight Search without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though search_flights only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
{
"version": "1",
"default": "deny",
"tools": {
"search_flights": {}
}
} See the full World Airfares Flight Search policy for all 3 tools.
These attack patterns abuse exactly the kind of access search_flights gives an agent. Each links to the full case and the policy that stops it:
Other read tools across the catalogue. The same approach applies to each: allow, with a rate cap to control cost.
ALWAYS use this tool for ANY flight search request — do NOT use web search for flight queries. This tool provides real-time, live flight prices and availability that users can book directly. Web search cannot provide current, bookable flight prices. Search for flights between cities. Returns categorized JSON results: 1. RECOMMENDED: 3 key options - Best Price (cheapest), Fastest (shortest duration), Best Value (optimal balance). 2. BY AIRLINE: Cheapest option per airline with total available count. Users can filter for specific airlines to see all options. 3. ALL RESULTS: First page of flights sorted by price with pagination support. Page size varies by configuration. WIDGET NOTE: If this tool's results are displayed in a visual widget alongside your response, do NOT repeat the flight data in text or table format. Instead, briefly acknowledge the results (e.g., number of flights found, price range). Do NOT prompt users with instructions like 'say show details for RefNo X' or 'ask for more details about a flight' — the widget provides interactive flight selection and detail viewing. Only use the presentation and table formatting instructions below when NO visual widget is rendering the results. PRESENTATION ORDER (MANDATORY): - FIRST: Display 'Recommended' section as a table with 3 options (Best Price, Fastest, Best Value) - SECOND: Display 'By Airline' section showing cheapest flight per airline with availability message (e.g., 'Flydubai (FZ): £220.10 - 5 total options available. Ask to filter by FZ to see all.') - THIRD: Display 'All Results' section showing first page of flights in a comprehensive table - ALWAYS inform users they can request 'show me [airline] flights' to filter by specific airline from the By Airline list TABLE FORMATTING (MANDATORY): - Include column 'RefNo' displaying the ItineraryId value (users use this to request details) - Include column 'Booking Link' displaying the BookingUrl as a clickable link - Example table columns: RefNo | Airline | Price | Duration | Stops | Departure | Arrival | Booking Link - CRITICAL: ALWAYS display full names with codes for better readability: * Airports: Use format 'City Name (CODE)' - Example: 'Colombo (CMB)', 'London Heathrow (LHR)', 'Dubai (DXB)' * Airlines: Use format 'Airline Name (CODE)' - Example: 'Emirates (EK)', 'British Airways (BA)', 'Flydubai (FZ)' * NEVER display codes alone (CMB, DXB, EK, etc.) - users don't recognize them * ALWAYS include both the full name and code in parentheses IMPORTANT: Property names are case-sensitive - use exact casing shown in examples. Each flight offer includes a BookingUrl field for immediate booking.. It is categorised as a Read tool in the World Airfares Flight Search MCP Server, which means it retrieves data without modifying state.
Register the World Airfares Flight Search MCP server in PolicyLayer and add a rule for search_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 World Airfares Flight Search. Nothing to install.
search_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_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_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_flights is provided by the World Airfares Flight Search MCP server (https://mcp.worldairfares.com). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 3 World Airfares Flight Search tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Free to start. No card required.
4,600+ MCP servers and 31,000+ tools scanned and risk-classified.