Virgin Atlantic Flying Club Points Calculator
calculate_virgin_atlantic_pointsVirgin Atlantic Flying Club Virgin Points and Tier Points for Virgin Atlantic flights. Virgin Points = distance x booking-class % (J, C, D 500; I, Z 300; W, S 250; H, K 175; V, Y, B, R 150; L, U, M 100; Q, X, N, O 50; T 25) x tier (Red 1, Silver 1.3, Gold 1.6), rounded per flight; Tier Points are fixed per flight by class (25 to 200). The reward-only classes G, P and A, and E (no published rate), are not offered. Progress toward Silver (400) and Gold (1,000) Tier Points; tp is the Tier Points 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segs": "<segs>"
},
"name": "calculate_virgin_atlantic_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tp | No | Tier Points you have so far (optional). Used only for the progress toward Silver and Gold. | |
| cls | No | Booking class. JCD = J, C, D (Upper Class, 500%, 200 Tier Points); I = I (Upper Class, 300%, 200 Tier Points); Z = Z (Upper Class, 300%, 100 Tier Points); WS = W, S (Premium, 250%, 100 Tier Points); HK = H, K (Premium, 175%, 50 Tier Points); V = V (Economy Delight, 150%, 50 Tier Points); YBR = Y, B, R (Economy Classic, 150%, 50 Tier Points); LUM = L, U, M (Economy Classic, 100%, 50 Tier Points); QXNO = Q, X, N, O (Economy Classic, 50%, 25 Tier Points); T = T (Economy Light, 25%, 25 Tier Points). The letter on your ticket. The percentage is of the distance flown. Reward-only classes (G, P, A) and E are not listed. | YBR |
| segs | Yes | The 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). | |
| trip | No | Trip. ow = One way; rt = Round trip. Round trip counts the same flights back the other way. | ow |
| status | No | Your Flying Club tier. R = Red; S = Silver (+30% Virgin Points); G = Gold (+60% Virgin Points). | R |
| creditTo | No | Credit the flights to a partner program instead of Virgin Atlantic's own: delta = Delta SkyMiles (creditStatus one of: SkyMiles Member, Silver Medallion, Gold Medallion, Platinum Medallion, Diamond Medallion); 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. The booking class is cls (or creditClass). The flights are segs (their miles), or creditFlights. | |
| creditClass | No | The booking class letter for creditTo, when it differs from the class question. Ignored without creditTo. | |
| creditStatus | No | Your status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo. | |
| creditFlights | No | The 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
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | ||
| notes | Yes | ||
| inputs | Yes | ||
| airline | Yes | ||
| headline | Yes | ||
| progress | No | ||
| breakdown | Yes | ||
| calculator | Yes |