Skip to main content
Glama
Flight Search MCP
by sickn33

compare_fare_totals

Read-only

Compare total flight fare costs by ranking fares with quoted baggage and seat fees per passenger and leg, while keeping unknown prices unknown and marking estimates clearly.

Instructions

Rank fares with quoted bags and seats per passenger and leg. Unknown prices remain unknown, and estimates are clearly marked.

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": {
      "currency": "<currency>",
      "travellers": "<travellers>",
      "fares": "<fares>"
    },
    "name": "compare_fare_totals"
  }
}

Input Schema

NameRequiredDescriptionDefault
faresYes
currencyYes
travellersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

B3/5.0
Behavior3/5

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

With readOnlyHint already declaring the safety profile, the description adds genuinely behavioral context about how unknowns and estimates are handled in the output. It does not explain what makes a price an 'estimate' or how such values affect ranking, so the added transparency is real but incomplete.

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?

Two sentences with no wasted wording, and the core comparison scope is front-loaded. The caveat about unknown prices and estimates follows efficiently.

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

Completeness2/5

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

The schema is complex, with required nested fare and extras objects, enums for change and refund, and verification flags, yet the description addresses almost none of it. For a tool with no output schema and no parameter documentation, this is materially under-specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden of explaining all three top-level parameters and their nested fields. It only hints at the extras semantics ('bags and seats per passenger and leg') and says nothing about currency, travellers, fare labels, verification flags for base or extras, or change/refund conditions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Rank fares' with the scope of 'quoted bags and seats per passenger and leg.' That is enough to distinguish it from generic quoting tools, but it never names or contrasts a sibling, so an agent must infer its place among compare_checkout_quotes and calculate_trip_cost.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and names no alternative. It implies a comparison use case but leaves the agent to decide when ranking fares with extras is preferable to quoting or calculating costs elsewhere.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.