Skip to main content
Glama
Flight Search MCP
by sickn33

compare_airports

Read-only

Compare up to nine airport-pair flight alternatives for one-way or round trips by price, duration, or overall suitability to choose the right departure and arrival airports.

Instructions

Compare up to nine airport-pair alternatives for a one-way or round trip.

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": {
      "request": "<request>",
      "origins": "<origins>",
      "destinations": "<destinations>"
    },
    "name": "compare_airports"
  }
}

Input Schema

NameRequiredDescriptionDefault
originsYes
requestYes
destinationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile and external-data nature are covered structurally. The description adds the nine-pair ceiling and the one-way/round-trip scope, which are genuinely useful, but it says nothing about price freshness, provider coverage, or how the 'best' sort is computed.

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

Conciseness4/5

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

A single front-loaded sentence with no filler or redundant restatement of the name. It is lean to the point of under-specification, but every word used earns its place.

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?

For a tool with a deeply nested request object, six-leg support, and ~20 optional filters, one sentence is far short of complete. With no output schema, the description also leaves the return shape (ranked alternatives? per-pair pricing?) entirely unstated.

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 compensate for over twenty optionals and a nested request.legs object, yet it mentions none of them — no explanation of the up-to-six-leg structure, cabin, sort, market/currency/locale pairing, or passenger and infant fields. Only the origins × destinations cap is implied.

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?

States a specific verb (compare) and resource (airport-pair alternatives), plus the scale cap of nine pairs and the supported trip types (one-way or round trip). It does not differentiate itself from siblings such as compare_fare_totals or compare_checkout_quotes, so an agent cannot rule those out from the description alone.

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?

No when-to-use guidance, no prerequisites, and no named alternative. The agent learns nothing about when this comparison tool is preferable to compare_fare_totals or explore_dates.

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