Skip to main content
Glama

cwsi.net Fare Classes & Mileage Calculators

Croatia Airlines Miles & More Calculator

calculate_croatia_airlines_miles
Read-onlyIdempotent

Miles & More miles, Points, Qualifying Points and HON Circle Points for flights operated by Croatia Airlines (a Star Alliance member whose flights earn in Miles & More), by booking class (cls). Within Croatia (Domestic) and between two European countries (Cross-Border): fixed miles by class whatever the distance (Domestic 125 to 1,500, Cross-Border 125 to 2,000); Miles & More prints no table for other routes, so a flight outside Europe, or a domestic flight in another country, is refused with a message. I, N, R and X earn nothing. Points and Qualifying Points per flight: Economy 20, Business (C, D, Z) 40; HON Circle Points the same, in Business only. The status bonus of up to 50% more miles is not published as a rule and is not added. Algeria, Egypt, Libya, Morocco and Tunisia count as Europe; set tc to EU or AS for Turkey, Cyprus, Georgia, Armenia, Azerbaijan, Kazakhstan and Russia. Croatia flights booked through a Lufthansa Group channel earn by fare instead (calculate_lufthansa_miles). Progress toward Frequent Traveller (650 Points and 325 Qualifying Points), Senator (2,000 and 1,000) and HON Circle (6,000 HON Circle Points) in a calendar year; pts, qp and hp are the totals so far. Give segs: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and the ISO country codes of its two airports. Takes no price. Uses cwsi.net's calculator and the airline's published rules. Unofficial.

Input Schema

NameRequiredDescriptionDefault
hpNoHON Circle Points you have this year (optional). Only applies to some choices of the other fields; ignored otherwise.
qpNoQualifying Points you have this year (optional).
tcNoTurkey, Cyprus, the Caucasus, Kazakhstan and Russia count as. EU = Europe; AS = Asia (outside Europe). These countries lie on two continents and Miles & More does not say which one it counts. Only applies to some choices of the other fields; ignored otherwise.EU
clsNoBooking class. C = C (Business); D = D (Business); Z = Z (Business); B = B (Economy); Y = Y (Economy); M = M (Economy); A = A (Economy); F = F (Economy); H = H (Economy); J = J (Economy); G = G (Economy); O = O (Economy); Q = Q (Economy); K = K (Economy); V = V (Economy); S = S (Economy); W = W (Economy); E = E (Economy); L = L (Economy); P = P (Economy); T = T (Economy); U = U (Economy); I = I (earns nothing); N = N (earns nothing); R = R (earns nothing); X = X (earns nothing). The letter on your ticket. Business C, D and Z; the rest Economy. I, N, R and X earn nothing.M
ptsNoPoints you have this year (optional). Used only for the progress toward the next tier.
segsYesThe flights, one way and in order, one entry per flight (1 to 8): fromCountry and toCountry, the ISO 3166 two-letter country codes of its two airports; miles, its great-circle distance in miles (1 to 12,500); optional from and to, the IATA codes of its two airports, which label the breakdown; some airlines also use them (Vladivostok, VVO, on JAL and ANA; the Madrid-Barcelona Air Shuttle, MAD-BCN, on Iberia; the long-haul tables named by city on SAS).
tripNoTrip. ow = One way; rt = Round trip. Round trip counts the same flights back the other way.ow
statusNoYour Miles & More status. MM = Member (no status); FT = Frequent Traveller; SE = Senator; HC = HON Circle. Used for the progress toward the next tier. The bonus of up to 50% more miles for status holders is not published as a rule, so it is not added.MM
creditToNoCredit the flights to a partner program instead of Croatia Airlines's own: united = United MileagePlus (creditStatus one of: General member, Premier Silver, Premier Gold, Premier Platinum, Premier 1K); aeroplan = Aeroplan (creditStatus one of: Aeroplan Member, 25K, 35K, 50K, 75K, Super Elite). Earns by each flight's distance and the booking class at the program's published partner rates; leave creditTo out for the airline's own program. The booking class is cls (or creditClass). The flights are segs (their miles), or creditFlights.
creditClassNoThe booking class letter for creditTo, when it differs from the class question. Ignored without creditTo.
creditStatusNoYour status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo.
creditFlightsNoThe flights for creditTo: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and optionally from/to airport codes. Defaults to segs when they carry miles.

Output Schema

NameRequiredDescriptionDefault
linkYes
notesYes
inputsYes
airlineYes
headlineYes
progressNo
breakdownYes
calculatorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnly/idempotent annotations, the description discloses operational behavior: fixed mileage by class, no status bonus added, no price taken, route-refusal behavior, country-continent handling, and that it is unofficial and based on cwsi.net and published airline rules.

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 front-loads purpose, but it is delivered as one very long paragraph rather than clearly structured guidance. Many details earn their place for a complex calculator, yet some repeat the schema and make the description heavier than necessary.

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?

Given the 12-parameter schema with 100% coverage, an output schema, and read-only annotations, the description supplies the remaining context an agent needs: route scope, class behavior, tier progress, country handling, alternatives and source limitations. It is complete enough to call the tool correctly.

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 description coverage is 100%, but the description adds meaningful semantics for key parameters such as cls, tc, segs, pts/qp/hp and status, including rules like Algeria, Egypt, Libya, Morocco and Tunisia counting as Europe. It does not cover creditTo/creditFlights, so it does not fully extend beyond the already rich schema.

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 description names a specific calculation resource and scope: Miles & More miles, Points, Qualifying Points and HON Circle Points for flights operated by Croatia Airlines, by booking class. It distinguishes itself from siblings by specifying Croatia Airlines only and naming calculate_lufthansa_miles for Lufthansa Group bookings.

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

Usage Guidelines5/5

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

It gives explicit when-to-use scope for Croatia Airlines flights and when-not conditions, including refusal for routes outside Europe, a domestic flight in another country, and zero earning for I, N, R and X. It names alternatives: calculate_lufthansa_miles for Lufthansa Group channels and calculate_flight_distance for great-circle miles.

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