Skip to main content
Glama

Luxury Travel Tools by Global Lux Agency

Is the upgrade worth it? Flight and hotel upgrade calculator

is-the-upgrade-worth-it-calculator
Read-onlyIdempotent

All prices and values are the caller’s own: the tool holds no fares or upgrade prices, and the defaults are an illustrative example. Cash: upgrade cost = upgradedPrice − basePrice (never below 0). Points: upgradePoints × pencePerPoint ÷ 100 + upgradePointsCash. Flight benefits: sleep hours (capped at flight hours, only if sleepMatters = yes) × sleepValuePerHour + flightHours × comfortPerHour + lounge + baggage + fastTrack; hotel benefits: nights × (roomValuePerNight + includedPerNight). Both add flexibility + other. Worth it when benefits ≥ cost. Prices are per person (flight) or for the stay (hotel). Web page: https://globalluxagency.com/tools/is-the-upgrade-worth-it-calculator

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "is-the-upgrade-worth-it-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
otherNoAny other saving or value from the upgrade.
loungeNoFlight: value of lounge access, e.g. the day pass otherwise bought.
nightsNoHotel: nights the upgrade covers.
baggageNoFlight: value of extra baggage, e.g. the bag fee otherwise paid.
payWithNocash or points (plus any cash).cash
currencyNoCurrency of all amounts (no conversion).GBP
basePriceNoPrice of what is booked now: per person for a flight, for the whole stay for a hotel.
fastTrackNoFlight: value of fast-track security.
sleepHoursNoFlight: extra hours of usable sleep expected from the upgrade (capped at flightHours).
flexibilityNoValue of better change or refund terms.
flightHoursNoFlight: total flight hours the upgrade covers.
upgradeTypeNoflight (cabin upgrade) or hotel (room or suite upgrade).flight
sleepMattersNoFlight: yes to count the value of extra sleep, no to leave it out.yes
pencePerPointNoPoints only: the caller’s own value per point in pence or cents (illustrative default, not a sourced valuation).
upgradePointsNoPoints only: points asked for the upgrade.
upgradedPriceNoCash only: price of the upgraded cabin or room, same basis as basePrice.
comfortPerHourNoFlight: value of extra space, food and quiet per flight hour.
includedPerNightNoHotel: cash saved per night on included extras (breakfast, club lounge).
roomValuePerNightNoHotel: value of the better room per night.
sleepValuePerHourNoFlight: value of each extra hour of sleep (arriving rested).
upgradePointsCashNoPoints only: cash payable with the points (taxes, surcharges, co-pay).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description usefully adds non-obvious behavior: the tool stores no fares or upgrade prices, defaults are illustrative rather than sourced valuations, and the pricing basis differs by type (per person for flights, whole stay for hotels). Remaining gaps are minor — no mention of rounding or how the verdict is expressed.

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?

The content is dense and largely earns its place, but the structure is poor: it leads with a disclaimer instead of the purpose, then delivers three semicolon-chained formula blocks that are hard to parse on first read. Reordering to purpose → inputs basis → formulas would improve it without adding length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 21 parameters, no required fields and no output schema, the description carries a lot of weight, and supplying the cost/benefit formulas is the right call. However, it never says what the tool actually returns — a boolean verdict, a cost figure, a benefit figure, or a full breakdown — which matters for a calculator with no output schema.

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%, so the baseline is 3, but the description adds genuine meaning: it specifies that sleep hours are capped at flightHours and only counted when sleepMatters = yes, and it shows exactly how the points path combines upgradePoints × pencePerPoint ÷ 100 with upgradePointsCash. That is the interaction logic the per-parameter schema descriptions cannot express.

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

Purpose3/5

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

The description opens with a caveat about data ownership ("All prices and values are the caller's own") rather than a statement of what the tool does. The purpose — comparing upgrade cost against perceived benefits for a flight or hotel upgrade — is only inferable from the formula list and the closing line "Worth it when benefits ≥ cost." It is unambiguous once read in full, but there is no front-loaded verb+resource sentence distinguishing it from siblings like hotel-upsell-revenue-calculator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no named alternatives among the many sibling calculators. The only routing signal is implicit in the upgradeType field and the separate "Flight:" / "Hotel:" prefixes on parameters, which tell the agent which inputs apply but not when to reach for this tool over, say, avios-value-calculator. No exclusions or prerequisites 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.

Resources