Skip to main content
Glama

View itinerary item

segment_details
Read-onlyIdempotent

Get full details for a specific trip segment. Returns complete information based on segment type: flight details (airline, flight number, airports, terminals, seats, baggage), hotel details (property, address, check-in/out times, room type, amenities), activity details (venue, tickets, timing), event ticket details (event name, venue, timing, vendor, order, confirmation), car rental details (company, vehicle, pickup/dropoff locations), or transfer details (provider, transfer type, pickup/dropoff locations, addresses, and local times). bookingContext describes whether Tineo can prepare an in-app reviewed change or needs the full editor; it is not a save confirmation or additional write authority.

Input Schema

NameRequiredDescriptionDefault
segment_idYesThe unique identifier of the segment to fetch details for

Output Schema

NameRequiredDescriptionDefault
canEditNo
segmentNo
bookingContextNo
duplicateStatusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-openWorld, so the safety burden is carried. The description adds value by disclosing the per-type return payloads and, notably, clarifying that bookingContext indicates change-preparedness and is explicitly NOT a save confirmation or write authority, which prevents a misuse.

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 a clear one-line purpose, followed by scoping detail and a useful bookingContext caveat. The per-segment-type field enumeration is somewhat long and partly redundant with the output schema, costing a point, but every sentence carries meaning.

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 a rich output schema covering return values and full annotations covering safety, the agent has nearly everything needed. The description rounds out intent and the bookingContext semantics; only the lack of routing guidance to sibling tools leaves a minor gap.

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?

One parameter at 100% schema description coverage, so the schema alone documents segment_id. The description adds no syntax, format, or sourcing guidance beyond what the schema provides, making the baseline of 3 appropriate.

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 (Get full details) and resource (specific trip segment), and the enumeration per segment type makes the scope unambiguous. An agent can distinguish this from trip_details (trip-level) and segment_get_schema (schema-level) without opening any schema.

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?

Usage is implied: call this to fetch details for a known segment. However, no guidance is given on when to prefer it over segment_get_schema or trip_details, nor any prerequisite (e.g., needing a valid segment_id from trips_hub/segment_create). Minimum viable but with a clear gap.

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