Skip to main content
Glama

Get Trip Booking Links

trip_booking_links
Read-onlyIdempotent

Return useful booking, reservation, ticket, check-in, itinerary, and affiliate flight-search links for a user's trip as booking_link_cards. Use this when the user asks for booking links, reservations, tickets, check-in, vouchers, receipts, or comparable flight-booking options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trip_idYesThe trip ID to search for booking links.
max_resultsNoMaximum number of booking-link cards to return. Defaults to 12 and is capped at 25.
segment_typesNoOptional segment type filter, such as Flight, Lodging, Activity, EventTicket, CarRental, Transfer, Train, Ferry, Parking, or CruiseActivity.
classificationsNoOptional link classification filter, such as DirectReservation, CheckIn, ViewTickets, ManageBooking, ViewItinerary, TravelDocuments, or FlightAffiliateSearch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds the return artifact name (booking_link_cards) and the link categories produced, which is genuinely useful in the absence of an output schema, but it says nothing about auth, rate limits, or pagination behavior beyond what the schema's max_results implies.

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, both front-loaded: the first leads with the action and output, the second with the activation condition. No filler, no restatement of the title, and nothing that duplicates the schema.

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 safety annotations present, a 100%-covered schema, and no output schema, the description supplies the two things structured fields cannot: the return shape name (booking_link_cards) and the user-facing intents that should trigger the call. It is nearly complete; only the absence of any alternative-routing note for the segment-level siblings keeps it short of full coverage.

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 trip_id, max_results, segment_types, and classifications are all documented by the schema itself, including the 12/25 cap and example values. The description adds no syntax or format detail beyond the schema, so the 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?

States a specific verb (Return) and a well-scoped resource: booking, reservation, ticket, check-in, itinerary, and affiliate flight-search links for a user's trip, plus the return artifact (booking_link_cards). The trip-level scope implicitly separates it from per-segment siblings (segment_booking_links, flight_booking_link, train_booking_link, ground_transfer_booking_links), but no sibling is named explicitly, so the differentiation is left to inference.

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 second sentence gives explicit trigger vocabulary: 'when the user asks for booking links, reservations, tickets, check-in, vouchers, receipts, or comparable flight-booking options.' That is clear activation context, but there is no when-not guidance and no mention of the segment-level or single-type alternatives an agent should prefer in narrower cases.

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