Skip to main content
Glama

Turn Left Fares

Cheapest months to fly

best_time_to_fly
Read-onlyIdempotent

Use when someone asks when to fly, the cheapest month or time of year, or when fares drop on a route. The average and lowest fare by departure month on a route, from the prices we have seen, with the cheapest and dearest months named only where there are enough prices to compare.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "best_time_to_fly"
  }
}

Input Schema

NameRequiredDescriptionDefault
cabinNoCabin class.business
originYesWhere the trip starts: an IATA airport code (SYD, LHR) or a city name (Sydney, London).
destinationYesWhere it goes: an IATA airport code (SYD, LHR) or a city name (Sydney, London).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond them: the data is derived from 'the prices we have seen' (observed sample, not a full fare calendar), and the cheapest/dearest months are only reported where enough prices exist, which warns the agent that rankings may be absent.

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, with the usage trigger front-loaded and the result semantics immediately after. No filler, no restatement of the title or annotations.

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 no output schema, the description does the useful work of explaining what comes back and the conditional caveat about insufficient price data. Minor gaps remain — currency and whether fares are one-way or round-trip are unaddressed — but the essentials for correct invocation are present.

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%, with origin, destination and cabin all documented in-schema including examples and an enum default. The description only implies origin/destination via 'on a route' and says nothing about cabin, so it adds essentially no meaning beyond the schema — 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 states a specific resource and output shape: average and lowest fare by departure month for a route, with cheapest and dearest months named. That is clearly distinct from check_fare or find_deals, though the description never names a sibling to reinforce the boundary.

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?

It opens with explicit trigger conditions — 'use when someone asks when to fly, the cheapest month or time of year, or when fares drop on a route' — which covers the seasonal/timing intent well. It gives no when-not conditions or named alternatives for overlapping cases like a single-date price lookup.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources