Skip to main content
Glama

Track a flight's price

track_flight
Idempotent

Use to start price alerts on an itinerary from a search, after the traveler confirms. One way: any itinerary_id from search_flights. Round trip: an outbound itinerary_id from search_flights watches that outbound with its cheapest return; a complete itinerary_id from search_return_flights tracks that exact pairing. Multi-city: a complete itinerary_id. Alerts go to the account's channels on a new low; alert_rule any hears every move; target_price_usd sets a bar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoSend alerts by text message. Needs a verified phone on the SlickTrip account; empty keeps the account's setting.
emailNoSend alerts by email. Empty keeps the account's setting.
alert_ruleNoWhen to alert: lowest = only a new low, any = every price move, none = off. Leave empty for the default, or give target_price_usd instead.
itinerary_idYesFrom search_flights (one way) or search_return_flights (a complete round trip or multi-city).
target_price_usdNoAlert when the price goes under this, USD. Replaces alert_rule. It is the TOTAL: the whole trip for all travelers on a flight, the whole stay on a hotel.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fidNoTracked itinerary id (flight numbers)
codeNoOn an error: a machine-readable kind, e.g. unknown_place
noteNoNote about text alerts needing a verified phone
fieldNoOn unknown_place: which argument (origin, destination, ...)
routeNoRoute dict: origin, destination, cabin, travelers, dates, trip_type (+names on outbound watch)
watchNo"outbound" when an outbound-only watch was saved
alertsNoPlain-words description of what alerts fire
statusNotracking | error | sign_in_required
messageNoError or sign-in message from the server wrapper
channelsNo{email: boolean, text: boolean} stored alert channels
saved_urlNoslicktrip.com saved-flights page link
search_keyNoThe tracked route's search key
alerts_whenNoWhen alerts fire, from the alert preference
suggestionsNoOn unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country
outbound_fidNoOutbound watch only: the outbound fid
price_at_saveNoPrice recorded when tracking started
places_assumedNoPlace names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler
text_not_enabledNoText asked but no verified phone on account
text_unconfirmedNoCould not confirm text-alert status

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / target_price_usd / description
      Previous value: -"Alert when the price goes under this, USD. Replaces alert_rule."New value: +"Alert when the price goes under this, USD. Replaces alert_rule. It is the TOTAL: the whole trip for all travelers on a flight, the whole stay on a hotel."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the bar is lower; the description still adds real behavioral context: alerts fire to the account's channels, alert_rule=any alerts on every move, and the traveler-confirmation gate. It doesn't state permissions beyond the confirmation requirement or what happens on repeat tracking of the same itinerary.

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?

Front-loaded with purpose and the confirmation gate, then organized by trip type, then alert behavior. It is dense and uses fragments, but every clause carries routing or behavior information; the 'any hears every move' phrasing is slightly compressed at the cost of readability.

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 tracking-creation tool with five parameters and a full output schema, the description supplies the precondition (traveler confirmation), the trip-type routing that determines the required itinerary_id, and the alert-channel semantics. Nothing an agent needs to call it correctly is missing.

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, but the description adds cross-parameter meaning the schema lacks: itinerary_id semantics differ by trip type (a one-way id watches that outbound with its cheapest return, a complete id tracks the exact pairing), and it explains how target_price_usd overrides alert_rule in operational terms.

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 ('start price alerts on an itinerary') and immediately scopes it with the precondition 'from a search, after the traveler confirms'. It is clearly distinguishable from siblings like update_flight_tracking, stop_tracking_flight, and list_tracked_flights.

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?

Gives explicit per-trip-type routing rules for which source tool to pull itinerary_id from (search_flights vs search_return_flights), which is real 'when to use' guidance. It lacks an explicit exclusion such as 'use update_flight_tracking to change an existing alert' or a note on duplicate alerts.

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