Skip to main content
Glama
Flight Search MCP
by sickn33

compare_checkout_quotes

Read-only

Compare pre-payment checkout totals for identical flights, party, fare conditions, and extras across sellers; exclude listings and mismatches, and show price changes from the original quote.

Instructions

Compare seller totals observed before payment for identical flights, party, fare conditions and extras. Excludes listings and mismatches, and shows changes from the original quote.

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": {
      "expected": "<expected>",
      "offers": "<offers>"
    },
    "name": "compare_checkout_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
offersYes
expectedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish read-only and open-world behavior, so the description's job is to add comparison-specific context. It does so by stating that only identical flights, party, fare conditions and extras are compared, that listings and mismatches are excluded, and that changes from the original quote are shown.

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?

The description is two compact sentences with the comparison scope front-loaded. Every clause carries useful information about what is compared, what is excluded, and what output is surfaced.

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

Completeness3/5

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

The tool has a complex nested input schema and no output schema, so the description should be richer. It covers the comparison intent and exclusions, but it leaves the input-object roles and the shape or interpretation of comparison results 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% and both parameters are deeply nested objects, so the description must carry most of the explanatory burden. It gestures at matching on flights, party, fare conditions and extras, and at seller totals observed at checkout, but it never explains the roles of 'expected' versus 'offers', the meaning of quotedTotal/checkoutTotal, or the significance of the stage field.

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 gives a clear verb and resource: comparing seller totals at checkout for otherwise identical itinerary criteria. It also scopes the tool by excluding listings and mismatches. It does not explicitly distinguish this from similar-sounding siblings such as compare_fare_totals, so it stops short of a 5.

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 phrase 'observed before payment' implies the tool is for checkout-stage comparisons, and the exclusions clarify what data it will not compare. However, there is no explicit when-to-use guidance, no prerequisites, and no named alternatives for other comparison scenarios.

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