Skip to main content
Glama

plan_flight_route

Read-onlyIdempotent

Plan a flight route between two airports. Specify origin, destination, dates, and currency to receive route metadata and booking links.

Instructions

Plan one flight route between two airports. Use when a traveler wants a clear starting point for a specific origin and destination; use compare_airport_routes for multiple route choices, create_booking_link only when route details are already known, and get_airport_details only to validate one airport. Read-only, no account setup, no booking side effects. return_date is optional; omit it for one-way trips. Responses include route metadata and may include commission-eligible external booking links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYesOrigin airport IATA code (e.g. 'LAX', 'JFK'). Case-insensitive.
destinationYesDestination airport IATA code (e.g. 'LHR', 'NRT'). Case-insensitive.
departure_dateNoDeparture date in YYYY-MM-DD format. Optional — omit for open date searches.
return_dateNoReturn date in YYYY-MM-DD format. Omit for one-way trips.
currencyNoISO 4217 currency code (default: USD). Used in booking link parameters.
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, etc. The description adds context: 'Read-only, no account setup, no booking side effects' and mentions response content (metadata and booking links), which adds value beyond annotations.

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?

Extremely concise: three sentences with no redundancy. Purpose is front-loaded, followed by usage guidelines, behavioral notes, and a param note. 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?

Covers purpose, usage, behavior, and param hint. Lacks detailed output structure, but mentions response includes route metadata and booking links. Annotations partially compensate for missing output schema.

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 baseline is 3. The description repeats some schema info (e.g., return_date optional) but adds no new parameter-level details beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Plan one flight route between two airports' with a specific verb and resource. It effectively distinguishes from sibling tools like compare_airport_routes, create_booking_link, and get_airport_details.

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

Usage Guidelines5/5

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

Provides explicit guidance on when to use ('when a traveler wants a clear starting point') and when not to, naming specific alternative tools for different scenarios. Also clarifies optionality of return_date for one-way trips.

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/forgemeshlabs/travel-agent-mcp'

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