Skip to main content
Glama

Price a Whole Multi-Stop Trip

itinerary_quote

Price a complete multi-stop or round-the-world trip and get back several ways of ticketing it — cheapest, fastest, fewest stops — with the actual tickets each one is built from. Use this for trips that will not go on a single fare, which is most itineraries with 3+ stops; use fare_quote when you want one specific itinerary on one ticket. It takes about a minute, so it returns a quoteReference immediately; call itinerary_quote_status with it straight away, and that call waits for the result. Keep that reference — it is the only way to retrieve the quote.

Input Schema

NameRequiredDescriptionDefault
cabinNoCabin to price. Defaults to economy. 'premium' means premium economy.
datesYesDeparture date for each FLOWN leg, in travel order, as YYYY-MM-DD.
adultsNoAdult travellers. Defaults to 1.
citiesYesOrdered list of IATA city/airport codes for the whole trip, e.g. ['LAX','NRT','BKK','LHR','LAX']. Put '000' between two codes to mark that leg as travelled overland rather than flown.
infantsNoInfants under 2.
childrenNoChildren aged 2-11.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as non-read-only, non-idempotent, and non-destructive. The description adds critical behavioral context beyond that: the call takes about a minute, returns a quoteReference immediately, the separate status call waits for the result, and the reference is the only way to retrieve the quote.

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?

Every sentence earns its place: purpose, when to use versus fare_quote, async behavior, and reference retention. The most important selection constraint and workflow are front-loaded, with no filler.

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?

For a complex async tool with no output schema and full schema parameter coverage, the description explains what is returned at a high level, the quoteReference handoff, and the required follow-up status call. Nothing essential for correct invocation or retrieval is missing.

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 parameters such as cities, dates, cabin, and traveller counts are already well documented in the schema. The description adds no additional parameter syntax or formatting meaning beyond the schema, which meets the baseline for high coverage.

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?

States a specific verb and resource: pricing a complete multi-stop or round-the-world trip, returning multiple ticketing options with actual tickets. It explicitly distinguishes itself from sibling fare_quote and names itinerary_quote_status for the follow-up call.

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?

Explicitly says to use this for trips that will not go on a single fare, especially 3+ stops, and to use fare_quote when one specific itinerary on one ticket is wanted. It also directs the agent to call itinerary_quote_status immediately with the returned reference.

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.