Skip to main content
Glama
andreacappelletti97

google-flights-mcp

get_flight_url

Generate a direct Google Flights URL by specifying origin, destination, and departure date, optionally with return, stops, cabin class, and adults, to view and book flights.

Instructions

Generate a direct Google Flights URL for a route. Users can click to view and book flights in their browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stopsNoMax stops (0=nonstop)
adultsNo
originYesDeparture airport IATA code
cabinClassNoeconomy
returnDateNoReturn date (YYYY-MM-DD) for round-trip
destinationYesArrival airport IATA code
departureDateYesDeparture date (YYYY-MM-DD)
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the tool generates a URL and can be clicked to view/book, but does not mention any behavioral traits like error handling, rate limits, or read-only nature. It is minimally adequate.

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?

The description is two sentences, no fluff, and front-loaded with the primary action. Every word adds value.

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?

Given the tool's simplicity and schema richness, the description is mostly complete. It implies the return is a URL and that it supports one-way/round-trip based on returnDate. Minor omission: no explicit mention of return format or that origin/destination must be IATA codes (schema handles that).

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 71%, so baseline is 3. The description adds no extra meaning beyond the schema's parameter descriptions, which already document most parameters clearly.

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?

The description clearly states it generates a Google Flights URL for a route, using a specific verb and resource. It implies differentiation from sibling tools like search_flights, which return flight data, but does not explicitly distinguish them.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus its 11 siblings, nor does it mention when not to use it. It only implies usage for generating a URL, leaving the agent to infer context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreacappelletti97/google-flights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server