Skip to main content
Glama
fastmcp-me
by fastmcp-me

get_flight_options

Retrieve and filter flight options from a previous search by price, departure/arrival times, and airlines. Results are paginated for easy browsing.

Instructions

Get flight options from the previously performed search. This tool allows you to filter the found flight options by price, departure and arrival times, and airlines. It returns a paginated list of flight options that match the specified filters and sorting option.IMPORTANT: This is very cheap operation, so you can call it as many times as needed to find the best flight options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_idYes
filtersYes
pageNoPage number for pagination. Default is 0.
page_sizeNoNumber of results per page. Default is 10.
Behavior2/5

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

No annotations provided. Description mentions pagination and cheapness but omits behavioral details like error handling, response format, or side effects. For a tool with no annotations, more transparency is needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences plus an important note. Purpose is front-loaded. No redundant text. Could be slightly more structured but overall concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Lacks explanation of response format, error cases, required search_id from prior step, and how pagination works. Complex tool with nested filters needs more detail.

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 50%; description vaguely lists filter criteria (price, times, airlines) but does not detail the filters object structure. Adds marginal value over schema descriptions.

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 the tool retrieves flight options from a prior search, with filtering and pagination. It distinguishes from siblings: get_flight_option_details (details), request_booking_link (booking), and search_flights (initial search).

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

Usage Guidelines4/5

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

Explicitly states 'from the previously performed search' implying prerequisite. Notes the operation is cheap and callable many times. Does not explicitly mention when not to use, but context with siblings provides differentiation.

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/fastmcp-me/flights-mcp'

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