Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as MAQAMI Travel. If you published it, claim ownership there.

Get flight booking extras

get_flights_bookings_bookingid_services
Read-onlyIdempotent

Overview

Retrieve the ancillary services (seats, baggage) for an existing flight booking: services that are already booked together with the live catalog of services that can still be booked.

When to Use

  • Post-booking upsell - Show the passenger which seats and bags they can still add after the booking was created

  • Booking management - Display the services already attached to the booking with the prices that were charged

  • Availability refresh - The bookable catalog is fetched live from the provider on every call

What You Get

  • groups - Bookable services grouped by category (seat, baggage) with prices and encoded serviceIds

  • bookedServices - Services already attached to the booking; entries booked through the API carry the exact price that was charged at attach time

  • expiresAt - Validity window of the bookable catalog

Key Features

  • Read-only: Safe to call at any time; the catalog reflects live availability

  • Consistent pricing: Booked services show the amounts the customer actually paid

Quick Start

Provide the bookingId from the flight booking confirmation.

On a ticketed booking (status CONFIRMED) groups lists only what can be sold after ticketing (provider-dependent, usually baggage) and only when canAddServicesAfterTicketing is true; buy them with POST /flights/bookings/{bookingId}/services and /services/confirm.

Requires the bookingId and the email used to book: the server only returns or changes a booking when they match.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bookingId": "<bookingId>",
      "email": "<email>"
    },
    "name": "get_flights_bookings_bookingid_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe email address used to make the booking. The server checks it against the booking before returning or changing anything.
lastNameNoThe booking holder's last name, if the customer gives it. Optional.
bookingIdYesThe unique booking identifier
forceRefreshNoBypass the provider's 15-minute services cache
includeServicesHistoryNoInclude non-confirmed bookedServices rows (pending, requested, failed, replaced, dropped). By default only confirmed rows are returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / forceRefresh
      Added value: +{
      +  "description": "Bypass the provider's 15-minute services cache",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / includeServicesHistory
      Added value: +{
      +  "description": "Include non-confirmed bookedServices rows (pending, requested, failed, replaced, dropped). By default only confirmed rows are returned.",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "The email address used to make the booking. The server checks it against the booking before returning or changing anything.",
      +  "type": "string"
      +}
    • addedInput schema / properties / lastName
      Added value: +{
      +  "description": "The booking holder's last name, if the customer gives it. Optional.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "bookingId"
      -]New value: +[
      +  "bookingId",
      +  "email"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, and the description adds real context beyond them: the catalog is fetched live from the provider on every call, bookedServices entries show the exact price charged at attach time, and expiresAt bounds catalog validity. It also surfaces the non-obvious precondition that bookingId and email must match or the server returns nothing, plus the ticketing interaction (CONFIRMED bookings only list post-ticketing-sellable groups when canAddServicesAfterTicketing is true).

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?

Markdown headers and a front-loaded Overview make it scannable, and the output fields are enumerated usefully since there is no output schema. It is somewhat longer than needed: 'Read-only: Safe to call at any time' restates the annotation, and the Key Features section largely repeats points already made in Overview and What You Get.

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 read tool with no output schema, the description compensates by naming the return fields (groups, bookedServices, expiresAt) and explaining what each contains. Authentication requirements, cache behavior, and the ticketed-booking edge case are all covered, so nothing an agent needs to invoke this correctly is absent.

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 coverage is 100%, so all five parameters (bookingId, email, lastName, forceRefresh, includeServicesHistory) are already documented in the schema and the baseline is 3. The description adds a little meaning — bookingId comes from the flight booking confirmation and email is a server-side match requirement — but says nothing about the cache-bypass or history flags, leaving the schema to carry those.

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 precise verb and resource: retrieve ancillary services (seats, baggage) for an existing flight booking, split into already-booked services and the live bookable catalog. This distinguishes it cleanly from the sibling get_flights_bookings_bookingid, which returns the booking itself rather than its add-ons.

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 'When to Use' section names three concrete scenarios (post-booking upsell, booking management, availability refresh) and the Quick Start routes the agent to POST /flights/bookings/{bookingId}/services and /services/confirm when it actually wants to buy. What's missing is an explicit 'don't use this for X' statement or a named sibling to defer to when the agent wants full booking details, so it falls short of a 5.

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