Delta SkyMiles Calculator
calculate_delta_milesEstimate what a Delta Air Lines ticket earns (miles or points, and status credit where it applies), using cwsi.net's calculator and the airline's published rules. Unofficial.
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": "calculate_delta_miles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | Paying with a Delta Amex card. none = No; BL = Blue; GO = Gold; PL = Platinum; RE = Reserve. | none |
| fare | No | Fare type. CR = Classic (or Refundable); EX = Extra; PB = Basic (Comfort, First, Premium Select, One); BA = Main Basic (Basic Economy). Delta Comfort, First, Premium Select and Delta One earn as Classic or Extra, whichever you bought. Their Basic fares earn as Basic. | CR |
| price | No | Ticket price in US dollars. Base fare plus carrier charges, without government taxes and fees (shown on your receipt). Required unless creditTo is given. | |
| status | No | Your Medallion status. none = None; FO = Silver; GM = Gold; PM = Platinum; DM = Diamond. | none |
| creditTo | No | Credit the flights to a partner program instead of Delta Air Lines's own: flying-club = Flying Club (creditStatus one of: Red, Silver, Gold); 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. Give the flights as creditFlights (one entry per flight with its great-circle miles). No price is needed with creditTo. | |
| creditClass | No | The booking class letter on the ticket, for creditTo (required with creditTo). 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 |