Skip to main content
Glama
Flight Search MCP
by sickn33

compare_travel_parties

Read-only

Find flights for groups departing from different cities and total separate bookings when itineraries are comparable.

Instructions

Find flights for groups travelling from different cities and report the sum of separate bookings when comparable.

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": {
      "parties": "<parties>"
    },
    "name": "compare_travel_parties"
  }
}

Input Schema

NameRequiredDescriptionDefault
partiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

B3.1/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 is covered. The description adds genuinely non-obvious behavior — that results are a sum of separate bookings — but the key qualifier 'when comparable' is unexplained, leaving the agent unsure what conditions must hold or what happens when bookings are not comparable.

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 well-formed sentence with no filler, and the group/multi-city scenario is front-loaded. It is arguably too terse for the schema's complexity, but nothing in the sentence is wasteful.

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 party-and-leg schema, no output schema, and zero parameter documentation, one sentence is far from sufficient. Missing are the number of parties allowed, how the per-party search options are honored, what 'comparable' means, and what shape the summed result takes.

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 the single 'parties' parameter hides a deeply nested request object containing a full flight search (legs, cabin, currency, market, maxStops, childAges, carrier filters). The description only implies that each party has a different origin; it says nothing about the per-party request structure, the 2–5 party limit, or that each party carries its own search options.

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 and resource ('Find flights') plus a distinct scenario (groups travelling from different cities) and the output intent (sum of separate bookings). It is clear enough to separate from a generic flight-search sibling, but it never names or contrasts a specific alternative such as compare_fare_totals or 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 Guidelines3/5

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

Usage is only implied by the phrase 'groups travelling from different cities' — the agent must infer that this is for multi-origin group trips and not for single-traveller or single-origin comparisons. There is no explicit when-to-use, when-not-to-use, or named alternative tool for those other cases.

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