Skip to main content
Glama

Search flights

search_flights_tool
Read-only

Find one-way or round-trip flights on Google Flights by entering IATA airport codes and dates; compare prices, stops, and durations.

Instructions

Search Google Flights for one-way or round-trip flights between two airports.

Input Schema

NameRequiredDescriptionDefault
originYesIATA airport code, such as JFK or LAX
destinationYesIATA airport code, such as JFK or LAX
return_dateNoReturn date for a round trip, YYYY-MM-DD
outbound_dateYesDeparture date, YYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile and external-service nature are covered. The description adds that it queries Google Flights and supports round trips, but says nothing about result volume, rate limits, caching, or failure modes for a live external search.

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?

A single front-loaded sentence with no filler, stating the action, provider, and trip types before any detail. Every clause earns its place for a tool of this simplicity.

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?

With an output schema present, return values need no explanation, and annotations cover safety and openness; the schema fully documents all four parameters. The only real gap is the absence of usage context, so the definition is nearly but not fully complete.

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 coverage is 100%, with each parameter fully documented (IATA codes with patterns, date formats, return_date defaulting to null). The description's 'one-way or round-trip' phrasing hints at how return_date is used but adds no format or syntax detail beyond the schema, so the baseline 3 applies.

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 names a specific verb ('Search'), a specific resource ('Google Flights'), and the supported trip shapes ('one-way or round-trip flights between two airports'). It is far more specific than a tautology, though it does not explicitly distinguish itself from any alternative since the only sibling (server_status) is unrelated.

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?

Usage is only implied: 'search flights' plus the required origin/destination/outbound_date schema makes the intent obvious, but the description never states when to use this tool, when not to, or any prerequisites. There is no competing sibling to route against, so the omission is low-impact.

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

Deploy Server

Other Tools