Skip to main content
Glama
Flight Search MCP
by sickn33

search_split_itinerary

Read-only

Compare successive one-way fares to build multi-city or open-jaw itineraries with separately purchased tickets; does not infer protected connections.

Instructions

Compare successive one-way fares for a multi-city or open-jaw itinerary with independently purchased tickets. Do not infer protected connections.

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": {
      "legs": "<legs>"
    },
    "name": "search_split_itinerary"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsYes
sortNoprice
cabinNoeconomy
limitNo
adultsNo
localeNoBCP 47 locale. If omitted, use the language of the requested market.
marketNoIT
carriersNo
currencyNoEUR
maxStopsNo
maxTotalNo
childAgesNo
providersNo
lapInfantsNo
seatInfantsNo
excludedCarriersNo
maxDurationMinutesNo
allowSeparateTicketsNo

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 contributes the important caveat that segments are independently purchased and that protected connections must not be assumed, which is real behavioral context. It says nothing about result semantics, pricing, or how the separate-ticket comparison is composed, and with 18 parameters and no output schema much remains undisclosed.

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?

Two short sentences with no filler, and the core purpose is front-loaded before the constraint. The trailing 'Do not infer protected connections' is terse to the point of being opaque about what the agent should actually do with that information.

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 an 18-parameter, open-world search tool with no output schema, the definition is far too thin. An agent cannot tell from this text how to structure multi-leg input, how 'allowSeparateTickets' interacts with the stated purpose, or what the comparison output looks like.

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 only 6% across 18 parameters, so the description carries the burden — yet it explains none of them. The crucial 'legs' array structure, 'allowSeparateTickets' (default false, directly at odds with the tool's stated separate-ticket purpose), 'maxStops', 'providers', and infant/child parameters get no clarification at all.

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 ('Compare successive one-way fares for a multi-city or open-jaw itinerary'), which clearly separates it from the single-itinerary sibling search_flights. It stops short of naming any sibling explicitly, but the scope is concrete enough for an agent to act on.

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 description implies the use case — multi-city/open-jaw trips where legs are ticketed separately — and adds one exclusion ('Do not infer protected connections'). It never names an alternative tool or states when not to use this one versus quote_airtreks_itinerary or compare_fare_totals, so guidance remains implied rather than explicit.

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