Skip to main content
Glama

cwsi.net Fare Classes & Mileage Calculators

Compare two fare classes across airlines

compare_fare_classes
Read-onlyIdempotent

Side-by-side comparison of two fare classes, e.g. Delta K vs United M, from cwsi.net's fare charts. Covers American, Alaska, Delta, Southwest and United.

Input Schema

NameRequiredDescriptionDefault
fare_aYesFare letter (or Southwest fare name) on the first airline.
fare_bYesFare letter (or Southwest fare name) on the second airline.
airline_aYesFirst airline: AA/American, AS/Alaska, DL/Delta, WN/Southwest or UA/United.
airline_bYesSecond airline: AA/American, AS/Alaska, DL/Delta, WN/Southwest or UA/United.

Output Schema

NameRequiredDescriptionDefault
aYes
bYes
linkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / airline_a / maxLength
      Added value: +64
    • addedInput schema / properties / airline_b / maxLength
      Added value: +64
    • addedInput schema / properties / fare_a / maxLength
      Added value: +64
    • addedInput schema / properties / fare_b / maxLength
      Added value: +64
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the data provenance ('cwsi.net's fare charts') and a coverage boundary of five airlines, which is useful, but the airline list largely duplicates what airline_a/airline_b already state in the schema, and no failure behavior for unsupported carriers is described.

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

Conciseness5/5

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

A single front-loaded sentence with the purpose, an example, and the scope. No filler, no redundancy.

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

Completeness4/5

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

With full schema coverage, an output schema, and safety annotations, the description supplies what an agent needs to call the tool correctly. It is slightly thin on the relationship to get_fare_classes and on behavior for unsupported airline/fare combinations.

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 description coverage is 100%, so the baseline is 3; the description earns a bump by showing the pairing pattern ('Delta K vs United M'), which clarifies that each side is an airline plus a fare letter. It still does not address Southwest's fare-name convention, which is only mentioned in the schema.

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 ('side-by-side comparison of two fare classes') and immediately grounds it with a concrete example ('Delta K vs United M'). The scope statement ('Covers American, Alaska, Delta, Southwest and United') makes it easy to separate from the bulk-mileage calculators and from the sibling get_fare_classes, which lists rather than compares.

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

Usage Guidelines3/5

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

The example implies the intended use case, but there is no explicit when-to-use or when-not-to-use guidance and the obvious alternative, get_fare_classes, is never named. An agent must infer that this tool is for pairwise comparison rather than enumeration.

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