Skip to main content
Glama

check_price_insights

Determine if flight prices for a route are cheap, typical, or expensive. Get lowest recorded price, typical range, and booking context.

Instructions

Check whether flight prices for a route are currently cheap, typical, or expensive. Returns price_insights data: lowest recorded price, typical price range, price level, and a human-readable context string (e.g. "Prices are 18% below typical — good time to book.").

Auto-detects round-trip vs one-way based on whether return_date is provided. Uses 1 API credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
glNoCountry code (e.g. us, gb)
hlNoLanguage code (e.g. en)
adultsNoNumber of adults (default 1)
currencyNoCurrency code (e.g. USD, GBP, EUR)
arrival_idYesArrival airport IATA code (e.g. JFK) or Google kgmid
return_dateNoReturn date (YYYY-MM-DD). Omit for one-way.
departure_idYesDeparture airport IATA code (e.g. LHR) or Google kgmid
travel_classNo1=Economy, 2=Premium economy, 3=Business, 4=First
outbound_dateYesOutbound date (YYYY-MM-DD)
Behavior4/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 return payload (lowest price, typical range, price level, context string), the round-trip auto-detection, and the API credit cost. This goes beyond basic purpose, though edge-case behaviors (e.g., invalid dates, missing data) are not covered.

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 deliver purpose, output details, an example, behavior, and cost. Every clause earns its place; no redundancy or fluff.

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

Completeness5/5

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

Despite 9 parameters and no output schema, the description covers the essential behavioral context: what the tool returns, how round-trip vs one-way is inferred, and resource cost. It complements the schema well and gives the agent a solid understanding of when and how to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaningful context: return_date omission indicates one-way, and 'route' implies departure_id/arrival_id are the key pair. This enriches the parameter semantics without repeating schema details.

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 uses a specific verb+resource ('Check whether flight prices for a route are currently cheap, typical, or expensive') and names the returned data ('price_insights data'). It clearly distinguishes this from sibling flight tools like search_flights or search_price_calendar by focusing on price level assessment of a specific route.

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?

The intended use case is explicit: determine if prices are cheap, typical, or expensive for a route. It also clarifies behavior for round-trip vs one-way via return_date presence. No explicit alternatives or when-not-to-use are stated, but the sibling list makes the tool's niche clear.

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

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