Skip to main content
Glama

search_flights

Read-only

Search for flight deals between two airports on a given date. Returns cash fares and/or award availability from multiple sources (Duffel, SerpApi, Seats.aero).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDeparture date in YYYY-MM-DD format
originYesIATA airport code for departure (e.g. JFK)
cabinClassNoCabin class (default: economy)
returnDateNoReturn date in YYYY-MM-DD format (omit for one-way)
searchTypeNoSearch for cash fares, award availability, or both (default: both)
destinationYesIATA airport code for arrival (e.g. LAX)

TDQS

A3.8/5.0
Behavior4/5

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

The description adds useful behavioral context beyond the readOnlyHint and openWorldHint annotations by explaining that results include cash fares and/or award availability from multiple named sources. It does not contradict the annotations. It could further disclose caveats such as incomplete coverage or rate limits, but the provided context is meaningful.

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?

Two sentences with no filler. The main action and scope are front-loaded, and the return behavior is stated concisely. Every sentence earns its place.

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?

The description covers the essential invocation context: what the tool searches, the required route/date, and what it returns. With full parameter documentation and safety annotations, only explicit sibling differentiation and return-shape details are missing, which is acceptable for a read-only search 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 the input schema already documents all six parameters including enums and formats. The description adds no parameter-specific meaning beyond restating that the search is between two airports on a given date, which is already implied by origin, destination, and date.

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 identifies the tool as a flight search between two airports on a specific date, with a distinct focus on cash fares and award availability. It is not a tautology and conveys the core resource and action. However, it does not explicitly contrast itself with sibling tools like search_calendar or list_deals, leaving some differentiation to inference.

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 phrase 'between two airports on a given date' implies the intended use case, but there is no explicit guidance on when to prefer this tool over the siblings. It does not mention alternatives, exclusions, or scenarios like flexible-date searches where search_calendar might be more appropriate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation4/5

Each tool targets a distinct decision point—searching routes, browsing deals, finding flexible dates, predicting fares, and comparing points value. Search_calendar and search_flights are similar, but descriptions clarify date-flexible versus specific-date/route search.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern: get_prediction, list_deals, optimize_points, search_calendar, search_flights. There is no mixing of conventions or vague verbs.

Tool Count5/5

Five tools is a well-scoped size for a travel deals and points optimization assistant. Each tool earns its place and none feel redundant or unnecessary.

Completeness4/5

The set covers the core travel decision workflow: searching flights, viewing flexible dates, browsing deals, predicting fare movements, and optimizing points redemption. A fare alert or booking tool is absent, but those are beyond the apparent decision-support scope.

Resources