Skip to main content
Glama

Get Segment Booking Links

segment_booking_links
Read-onlyIdempotent

Return useful booking, reservation, ticket, check-in, itinerary, voucher, receipt, and travel-document links for one trip segment as booking_link_cards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segment_idYesThe segment ID to search for booking links.
classificationsNoOptional link classification filter, such as DirectReservation, CheckIn, ViewTickets, ManageBooking, ViewItinerary, or TravelDocuments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety and idempotency profile is covered structurally. The description adds that results are bundled 'as booking_link_cards' and enumerates the link categories returned, which is mild extra context but says nothing about auth needs, rate limits, or empty-result behavior.

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?

One front-loaded sentence with no filler, stating the action, scope, and return shape up front. The long list of link categories is mildly redundant but efficiently conveys the breadth of results.

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 usefully names the return container ('booking_link_cards') and the kinds of links returned. Combined with annotations covering safety and a fully documented schema, the definition is nearly complete; only filtering behavior and empty/pagination behavior are unaddressed.

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 only 2 parameters, so the schema already documents segment_id and the classifications filter. The description's enumeration of link types loosely hints at classification values but adds no format or filtering semantics 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 gives a specific verb (Return) and resource (booking/reservation/ticket/travel-document links) scoped to 'one trip segment', which is clear. It does not name sibling tools like trip_booking_links or flight_booking_link, so an agent must infer the segment-level vs trip-level vs mode-specific distinction. Clear purpose but no explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for one trip segment' implies use when a segment ID is known, but there is no explicit when/when-not guidance or reference to alternatives such as trip_booking_links or mode-specific link tools. Usage is only implied, not stated.

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