Skip to main content
Glama

cwsi.net Fare Classes & Mileage Calculators

Aerolineas Argentinas Aerolineas Plus Calculator

calculate_aerolineas_argentinas_miles
Read-onlyIdempotent

Aerolineas Argentinas Aerolineas Plus miles for Aerolineas Argentinas flights. Miles = distance x a % set by the first letter of the fare basis (fare) and the zone: Domestic (both airports in Argentina), Regional (Argentina and Bolivia, Brazil, Chile, Paraguay, Peru, Uruguay or Colombia) or International (Argentina and the US, Mexico, the Dominican Republic or Europe), from 0% to 200%, rounded down, no minimum and no elite bonus. A flight that does not touch Argentina, or a letter the zone does not list, is refused with a message. Progress toward Oro (25,000 qualifying miles or 30 segments), Platino (50,000 or 60) and Diamante (70,000 or 80) in 12 months; sm and fl are the miles and segments 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
flNoQualifying segments you have in the last 12 months (optional). Oro, Platino and Diamante can be reached with 30, 60 or 80 qualifying segments.
smNoQualifying miles you have in the last 12 months (optional). Miles earned by fare on Aerolineas Argentinas and SkyTeam flights, without status or promotion extras.
fareNoFirst letter of your fare basis. A = A (Domestic 0%, regional 25%, international 25%); B = B (Domestic 100%, regional 125%, international 125%); C = C (Domestic not listed, regional 150%, international 200%); D = D (Domestic not listed, regional 150%, international 200%); E = E (Domestic 25%, regional 25%, international 25%); G = G (Domestic 0%, regional 0%, international 0%); H = H (Domestic 75%, regional 100%, international 100%); I = I (Domestic not listed, regional 150%, international 200%); J = J (Domestic not listed, regional 150%, international 200%); K = K (Domestic 75%, regional 100%, international 100%); L = L (Domestic 75%, regional 100%, international 100%); M = M (Domestic 100%, regional 125%, international 125%); N = N (Domestic 25%, regional 25%, international 25%); Q = Q (Domestic 25%, regional 100%, international 100%); R = R (Domestic 0%, regional 25%, international 25%); S = S (Domestic 150%, regional 150%, international 150%); T = T (Domestic 25%, regional 25%, international 25%); U = U (Domestic 75%, regional 100%, international 100%); V = V (Domestic 25%, regional 25%, international 25%); W = W (Domestic 150%, regional 150%, international 150%); Y = Y (Domestic 100%, regional 125%, international 125%). Find the fare basis on your electronic ticket receipt: its first letter sets the percentage. Aerolineas does not map letters to cabins.Y
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 Aerolineas Plus status. CL = Clasico; OR = Oro; PL = Platino; DI = Diamante. Used to show your next tier. Oro, Platino and Diamante members may earn extra miles, but no percentage is published, so none is added.CL
creditToNoCredit the flights to a partner program instead of Aerolineas Argentinas's own: flying-blue = Flying Blue (creditStatus one of: Explorer, Silver, Gold, Platinum, Ultimate). 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. Give the booking class letter as creditClass. The flights are segs (their miles), or creditFlights.
creditClassNoThe booking class letter on the ticket, for creditTo (required with creditTo). 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.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantive behavior: rounding down, no minimum, no elite bonus, refusal-with-message for non-Argentina flights or unlisted letters, tier thresholds, and provenance ('cwsi.net's calculator', 'Unofficial'). That is well beyond what the annotations convey.

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-loads the core formula before branching into zones, refusal rules, tiers and input format. It is dense and somewhat run-on (mixing earning rule, status progression and provenance in one paragraph), but every sentence carries information relevant to correct invocation.

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, 100% schema coverage and full annotations, the description only needs to carry the domain model, which it does (earning rule, zones, rounding, tier progression, refusal behavior). It omits mention of the Flying Blue creditTo/creditClass/creditStatus path, though the schema documents those fully.

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 3 is the floor, but the description supplies the zone definitions (Domestic = both airports in Argentina; the specific Regional and International country lists) that are not in the schema and are required to pick the correct fare percentage. It also clarifies segs ordering and that no price is taken, adding real meaning on top of the 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?

States a specific verb+resource ('Aerolineas Argentinas Aerolineas Plus miles for Aerolineas Argentinas flights') and immediately gives the earning rule (distance x a fare-letter/zone percentage). The airline is named explicitly, so it is trivially distinguishable from the dozens of sibling airline calculators.

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?

Gives clear context on when the tool applies (flights touching Argentina, listed fare letters, no price) and routes the agent to the companion tool by saying the segs miles come from 'calculate_flight_distance'. It also notes the refusal condition for out-of-scope flights, but does not explicitly contrast itself against other calculator siblings.

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