Skip to main content
Glama

get_flights_bookings_bookingid

Read-onlyIdempotent

Retrieve full details of a confirmed flight booking by booking ID, including itinerary, passengers, status, and pricing breakdown.

Instructions

Overview

Retrieve complete details of a confirmed flight booking using its unique booking ID.

When to Use

  • Booking confirmation page - Display full itinerary after booking completes

  • Booking management - Retrieve details for an existing reservation

  • Itinerary display - Show passengers, segments, and confirmation numbers

  • Status checks - Verify booking status for a given booking ID

What You Get

  • Complete itinerary with all flight segments and connection details

  • Passenger manifest with names, documents, and seat assignments

  • Booking status and provider confirmation reference

  • Pricing breakdown including taxes and fees paid

Key Features

  • Full booking record: Returns all data associated with the confirmed booking

  • Provider reference: Includes the provider-side booking confirmation number

  • Passenger details: Complete passenger information for all travelers

Quick Start

Provide the bookingId (returned from POST /flights/bookings) in the URL path. Returns the complete booking record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bookingIdYesThe unique booking identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so safety profile is covered. The description adds return content details (itinerary, passenger manifest, pricing breakdown, provider reference) not found in annotations. No auth or rate-limit info, but for a read tool with rich annotations this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Markdown sections and bullet lists are structured but overly verbose for a single-parameter read. 'What You Get' and 'Key Features' repeat the same return content (full booking record, passenger details, provider reference), making several sentences redundant.

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?

For a simple read tool with rich annotations and no output schema, the description covers purpose, usage contexts, and return values adequately. Missing edge cases like invalid booking ID handling, but that is a minor gap.

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% and bookingId is documented as 'the unique booking identifier'. The description adds that the ID is returned from POST /flights/bookings and should be placed in the URL path, providing useful provenance and location beyond the schema.

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 'retrieve' and resource 'complete details of a confirmed flight booking' using its unique booking ID. Distinguishes from sibling list tool get_flights_bookings and general get_bookings_bookingid by specifying 'flight booking'. An agent can easily tell what this tool does.

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?

Provides a 'When to Use' section with four concrete scenarios (confirmation page, management, itinerary display, status checks). However, it does not explicitly name alternatives or state when not to use this tool, so routing guidance is clear but incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools