Status credits in one programme
earn_for_programmeComputes what an itinerary earns in ONE named programme, with the second-axis inputs the engine understands: member tier (where the programme's rules key on it) and booking channel (Atmos partner rules). Use credit_options to compare programmes; use this for the detail of one. 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. 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": {
"programme": "<programme>",
"segments": "<segments>"
},
"name": "earn_for_programme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | ||
| programme | Yes | ||
| memberTier | No | The tier the member holds, for the few programmes whose status earning rate depends on it (Finnair Plus, Miles&Smiles, Miles&Go). The tier's name as the programme prints it, or its last word ("Gold"). The answer's `memberTier` says which tier was applied, or that none was and why: repeat it. | |
| bookingChannel | No | Where the ticket was bought, for programmes that key partner earning on it. |