Skip to main content
Glama

MAQAMI Travel

post_flights_verify

Read-only

Overview

Confirm a flight offer is still available and retrieve the latest pricing before proceeding to booking. Always verify before prebooking to avoid price discrepancies.

When to Use

  • Pre-booking validation - Confirm offer availability after user selects a flight

  • Price confirmation - Show users the guaranteed price before they enter payment details

  • Fare rule retrieval - Get the latest cancellation and change policies

What You Get

  • Verified pricing with up-to-date fare breakdown

  • changes (when present) — cabin/fare flags, human-readable messages, and pricing (old / new full OfferPricing) instead of deprecated scalar currency/prices

  • Journey pricing — original (provider/PCC) and display (customer) price breakdown per provider FlattenedJourney

  • Fare family details including name and included amenities

  • Baggage policy for each passenger type and segment

  • Booking terms including cancellation and change fee rules

Key Features

  • Real-time price check: Confirms current availability and price with the provider

  • Updated baggage info: Returns the latest baggage allowances at time of verification

  • Fare rules: Includes cancellation and change fee policies before commitment

Quick Start

Provide the offerId from /flights/rates search results. Use the verified offer data to populate a booking summary page before proceeding to /flights/prebooks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offerIdYesThe offerId from the search results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, and open-world, so the safety profile is covered. The description adds real behavioral value beyond that: it is a live provider round-trip ('Real-time price check'), warns that prices can drift ('avoid price discrepancies'), and documents the `changes` payload replacing deprecated scalar currency/prices fields.

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?

Front-loaded with an Overview, but the body is padded and repetitive: 'Real-time price check', 'Fare rules', and baggage/price confirmation information are restated across Overview, What You Get, and Key Features. The markdown structure helps navigation but several sections earn less than their length.

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 legitimately carries the return-shape burden and does so in detail (pricing breakdown, journey pricing, fare family, baggage, booking terms). It still omits error handling, auth/permission needs, and rate limits for a live provider call.

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?

Only one parameter with 100% schema coverage; the schema already documents offerId. The description adds the source endpoint ('/flights/rates') and the downstream use ('populate a booking summary page'), which is marginally useful, but the schema does the heavy lifting.

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?

The Overview states a specific verb and resource ('Confirm a flight offer is still available and retrieve the latest pricing') and situates it in the booking pipeline ('before proceeding to booking'). Combined with the sibling list, an agent can distinguish this from post_flights_rates (search) and post_flights_prebooks (booking) without opening a schema.

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 gives three concrete situations (pre-booking validation, price confirmation, fare rule retrieval) plus a 'Quick Start' naming the source endpoint. It lacks explicit when-not-to-use or named alternatives, which caps it below 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