Skip to main content
Glama

tool_find_cheapest_month

Find the cheapest month to fly between two airports by comparing monthly prices across a future range. Uses first Tuesday sampling and season analysis to rank months.

Instructions

PRICE timing (month-level): cheapest MONTH to fly across the next N months.

Samples the first Tuesday of each month, ranks months by price with season analysis. For cheapest DAY within one month use fare_calendar; for best weather use best_month_to_visit.

Args: origin: Origin airport IATA code (e.g., "JFK") destination: Destination airport IATA code (e.g., "BCN") months_ahead: Future months to scan (1-12, default 12) adults: Number of passengers cabin_class: economy | premium_economy | business | first currency: Currency code trip_length_days: Days for round-trip return leg (departure + N) trip_type: round_trip | one_way

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYes
destinationYes
months_aheadNo
adultsNo
cabin_classNoeconomy
currencyNoUSD
trip_length_daysNo
trip_typeNoround_trip
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that it samples the first Tuesday of each month and ranks months by price with season analysis, giving insight into methodology. It does not mention output format or side effects, but for a read-only query tool this is sufficient.

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?

The description is concise with two paragraphs: first states purpose and methodology, second lists parameters in a structured format. Every sentence adds value, no wasted words.

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?

Given 8 parameters, no output schema, and no annotations, the description covers purpose, methodology, parameter details, and sibling guidance. It lacks explicit description of the output format, but the tool's purpose implies the return structure. Almost complete.

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 description coverage is 0%, so the description must compensate. It lists all 8 parameters with brief explanations (e.g., 'months_ahead: Future months to scan (1-12, default 12)', 'cabin_class: economy | premium_economy | business | first'). This adds meaning beyond the schema which only provides names and types.

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 finds the cheapest month to fly and specifies it operates at month-level. It distinguishes from sibling tools by mentioning 'fare_calendar' for cheapest day and 'best_month_to_visit' for weather.

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 description provides explicit alternatives: 'For cheapest DAY within one month use fare_calendar; for best weather use best_month_to_visit.' This clarifies when to use this tool vs others, though it does not state when not to use it.

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/VirajMishra1/wander-agent'

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