Skip to main content
Glama

Flight fare details

mb_flight_fare_details
Read-onlyIdempotent

Get complete fare details for a selected flight, including refund penalties, baggage allowance, fare rules, notes, and per-passenger prices by rerunning the original route, date, and passenger search.

Instructions

Every fare of one flight with refund penalties, confirmed baggage, fare rules, notes and per-passenger prices.

Re-runs the search of mb_search_flights (same route, date and party) and returns the chosen flight. baggage_checked_with_airline is true when the site re-checked the baggage with the airline (false = the search value, usually right). refund_penalties: penalty percent of the ticket price per time window before departure, refund = paid x (100 - penalty_pct) / 100; penalty_text when there is no percent (e.g. the supplier's terms).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesGregorian date YYYY-MM-DD, e.g. '2026-10-20'.
adultsNoAdults (12+).
originYesIATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports).
infantsNoInfants (under 2).
childrenNoChildren (2-11).
flight_idYesflight_id from mb_search_flights, e.g. '21919377' (international round trip: '21894997+21924108').
destinationYesIATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports).
return_dateNoOnly for an international round-trip package: its return date YYYY-MM-DD, e.g. '2026-10-23'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/destructive=false, so the safety profile is covered. The description adds genuinely useful behavior: that it re-runs the prior search, the meaning of baggage_checked_with_airline, and the refund formula (paid x (100 - penalty_pct) / 100) plus penalty_text fallback.

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 the core purpose in the first sentence, followed by dense semantic detail. The second paragraph is information-rich rather than padded, though the inline field semantics make it slightly denser than ideal.

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 fare-detail lookup with 8 params, an output schema, and full annotation coverage, the description supplies enough context (search dependency, field semantics, refund math) to call it correctly. It would be stronger with an explicit note on when to use it versus sibling fare tools.

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 every parameter is already documented, including the flight_id format and the ALL-suffix codes. The description only indirectly references the party (adults/children/infants) and round-trip context, adding little beyond the schema, so the baseline 3 applies.

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+resource ('every fare of one flight') and enumerates what is returned (refund penalties, baggage, fare rules, notes, per-passenger prices). It also names the sibling mb_search_flights and explains the relationship, so an agent can distinguish it from the search tool.

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 description clarifies this re-runs the mb_search_flights search with the same route/date/party and returns the chosen flight, which tells the agent when it applies. However, it does not explicitly state when to prefer this over other fare-related siblings (e.g. mb_flight_price_calendar) or any prerequisites.

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