Skip to main content
Glama

Prepare a group flight quote request

egf_prepare_group_quote
Read-onlyIdempotent

Checks a group flight enquiry for 10 or more seated travellers and returns the exact brief that would go to a human specialist, with a confirmation_token valid for 15 minutes. Nothing is sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoAnything that shapes the fare: what the group is (school trip, wedding, sports team, conference), baggage or equipment needs, budget, who pays, whether names are known yet.
emailYesWhere the quote is sent. Required.
phoneYesContact number in international form, e.g. +441244568183. Required: a group specialist may phone to confirm details.
adultsYesTravellers aged 16 or over.
marketNoWhich market handles the enquiry: en (easygroupflights.com), pl (grupoweloty.pl) or at (gruppenfluege.at). Defaults to en.
originYesDeparture airport as an IATA code, e.g. ["LHR"]. Several codes are allowed when the group converges from more than one city.
youthsNoTravellers aged 12–15.
infantsNoUnder 2, travelling on an adult lap. They do not occupy a seat and do not count towards the group of 10.
childrenNoTravellers aged 2–11, each in their own seat.
last_nameNoOrganiser's surname.
first_nameNoOrganiser's first name.
cabin_classNoDefaults to economy.
destinationYesArrival airport as an IATA code, e.g. ["BCN"].
return_dateNoReturn date, ISO 8601 (YYYY-MM-DD). Omit for a one-way group booking.
youths_agesNoAge of each youth, one entry per youth.
children_agesNoAge of each child, one entry per child.
return_originNoReturn leg departure airports, if the group flies home from somewhere other than the destination.
departure_dateYesOutbound date, ISO 8601 (YYYY-MM-DD).
return_destinationNoReturn leg arrival airports, if travellers go home to a different city.
date_flexibility_daysNoHow many days either side of the given dates the group can move. 0 means fixed dates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cabinYes
seatsYesSeated travellers; lap infants excluded.
adultsYes
domainYesThe market whose desk handles the enquiry.
marketYes
originYes
youthsYes
infantsYes
childrenYes
reply_toYesWhere the quote will be emailed.
expires_atYesISO 8601 date-time after which the token is refused.
destinationYes
return_dateNoISO 8601 date (YYYY-MM-DD). Absent for one way.
departure_dateYesISO 8601 date (YYYY-MM-DD).
confirmation_tokenYesAuthorises sending exactly this brief.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / phone / description
      Previous value: -"Contact number in international form, e.g. +441244568183. Required — the agent may call to confirm details."New value: +"Contact number in international form, e.g. +441244568183. Required: a group specialist may phone to confirm details."
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavior: the 10-seated-traveller eligibility rule, the 15-minute token lifetime, and the explicit assurance that nothing is dispatched. It omits what happens after the token expires or whether the token is the handoff to the write step.

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

Conciseness5/5

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

Two sentences, zero filler, and the eligibility condition and no-side-effect guarantee are front-loaded where an agent will read them. Nothing is 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?

With an output schema present, return values need not be explained, and the description still flags the token semantics. Given 20 parameters at full schema coverage and rich annotations, the definition is sufficient, though the handoff to egf_request_group_quote remains unstated.

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 description coverage is 100%, so the schema already documents all 20 parameters, including the infant-lap rule and perpendicular fields like youths_ages. The description only adds the aggregate '10 or more seated travellers' rule, which is a modest semantic gain over the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (checks/prepares) and resource (group flight enquiry) plus the key scope condition (10 or more seated travellers) and the output (a brief plus confirmation_token). The closing 'Nothing is sent' implicitly separates it from the write siblings egf_request_group_quote and egf_send_flight_offer, but no sibling is named, so differentiation relies on inference.

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 only implied: the 10+ seated-traveller threshold and 'nothing is sent' suggest this is the dry-run step before egf_request_group_quote, but the description never says when to use it versus that sibling or what to do with the token. No prerequisites or exclusions are stated.

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.