Where to credit a flight itinerary
credit_optionsFor an itinerary of one or more flight segments, computes the status credits every eligible loyalty programme would award and ranks them by Lark Score. Optionally takes the member's positions (balance in the current window, held tier) in the programmes they hold and adds what the trip does to each gap. Each segment may carry travelDate (the flight date): the figure is then for the rules in force on that day, and a blank date means today's rules. With a date the reply repeats, per segment, coverage (how far Status Lark can vouch for the rules that day: repeat its text) and, where the figure depends on when the flight was booked, bookedSplit (both figures; ask for bookedDate only when its ask is true). Never guess a date. For a programme whose qualification year Status Lark has read (qualificationYear in programme_ladder), Lark Scores and the personal gap use the ladder in force on the first flight's date, and a flight in a later year starts the gap from zero (balanceNote says why); every other programme is measured on today's ladder, and dateNote names any announced ladder it does not apply. Figures are status credits (tier points, XP, Qpoints, status credits, elite points) in each programme's own currency; award-mile earning is not yet computed. A programme's verified/provisional flags, secondaryCriteria footnotes and zero reasons are published to users and must be repeated, never smoothed over. A zero with reason no-rate-captured means Status Lark holds no published rate — it does not mean the flight earns nothing; needs-fare means the programme earns on the fare paid and no fare was supplied — pass fare. When a board carries fareNeeded, read it first: ask for the fare before calling any programme the best for the trip. A segment's codeshare note says which carrier's table priced a codeshare and whether that was the programme's published rule or an assumption; repeat it. A segment's routeSetAssumed note says the figure is the programme's "other routes" rate because the route could not be placed in the named route set(s) that earn differently; repeat it beside the figure. A segment with verified: false carries a disclosure: that figure is not fully confirmed (Status Lark keeps it, marked). Repeat the disclosure verbatim beside the figure. Zero reasons ticket-not-eligible (the programme's terms exclude this kind of ticket — quote ticketTerms) and ticket-rule-not-captured (not read; most programmes exclude such tickets, but it is not their published word) apply to a ticketType other than a paid fare. Figures assume a paid ticket unless you say otherwise. Award tickets bought with miles or points, and staff, industry and most companion fares, generally earn no status — check the programme's own terms.
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": {
"segments": "<segments>"
},
"name": "credit_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rankBy | No | Default score. Cost needs a fare in one currency on every segment. | |
| segments | Yes | ||
| positions | No | Your standing in programmes you hold. Used for this reply only; never stored. |