Skip to main content
Glama

Status Lark

Compare flight options for status

compare_itineraries
Read-only

Compares 2 to 4 alternative itineraries for the same trip (different airlines, routings, cabins or fares) by what each earns towards status. Use it when the user is choosing between flights; use credit_options for a single itinerary. With the member's positions it also sets out, per programme held, what each option earns and what would remain to the next tier. Each option is answered exactly as credit_options answers it, cut to its top Lark-ranked programmes plus any programme the member holds; rowsOmitted counts the rest, and credit_options gives the full board for one option. Every honesty marker on a row applies as it does there: a range means the total is the lowest figure, verified:false and disclosure must be repeated. Status Lark compares what each option earns towards status. It does not see prices, schedules or availability, and it does not say which option to buy. 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": {
      "options": "<options>"
    },
    "name": "compare_itineraries"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYesThe alternatives to compare, each a complete itinerary.
positionsNoYour standing in programmes you hold. Used for this reply only; never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes far beyond them by disclosing response-shaping behavior an agent must act on: rowsOmitted truncation, Lark-ranked top programmes, honesty markers (range, verified:false, disclosure, secondaryCriteria, zero reasons), fareNeeded board-level warnings, codeshare and routeSetAssumed notes, and coverage/bookedSplit semantics when a travelDate is supplied. It also explains the meaning of specific zero reasons (no-rate-captured, needs-fare, ticket-not-eligible, ticket-rule-not-captured) rather than leaving them opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and sibling routing are front-loaded, which is good, but the body is a dense run-on wall of marker-by-marker instructions with visible repetition (the verified:false/disclosure repeat rule is stated twice). Given there is no output schema, most content earns its place, but it is hard to scan and could be tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a non-trivial two-parameter tool returning a complex comparison payload, the description carries the full burden and does so: it explains the shape of each option's answer, truncation behavior, all honesty markers, date-dependent coverage, ticket-type caveats, and what the tool deliberately cannot see. An agent could call and report this tool correctly from the description alone.

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 the baseline is 3, but the description adds cross-parameter semantics the schema cannot express: a blank travelDate means today's rules and a date must never be guessed, bookedDate should only be requested when the reply's 'ask' flag is true, and fare must be passed when a board carries fareNeeded. These are decision rules, not restatements of field docs.

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 and resource ('Compares 2 to 4 alternative itineraries for the same trip') plus the comparison axis ('what each earns towards status') and the variation dimensions (airlines, routings, cabins, fares). It also explicitly separates itself from the sibling 'credit_options' for a single itinerary, so an agent can route correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit trigger ('Use it when the user is choosing between flights') and an explicit alternative ('use credit_options for a single itinerary'). It also draws negative boundaries — no prices, schedules or availability, and no purchase recommendation — and gives conditional guidance for travelDate, bookedDate and fare, so an agent knows both when to call and what not to expect from it.

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