Skip to main content
Glama
joelynli0110

open-transfer-times

Compare and rank flight connections

compare_connections
Read-onlyIdempotent

Compare and rank multiple one-stop itineraries from safest to riskiest connection using transfer quality, ticket protection, confidence, and remaining margin.

Instructions

Assess several one-stop itineraries (for example the results of a flight search) and rank them from safest to riskiest connection: by transfer quality, then ticket protection (one ticket before unknown before self-transfer), then confidence, then remaining margin. Each option takes times or layover_minutes, like check_connection. Use the optional id to map results back to your own options (e.g. an offer id or price).

Input Schema

NameRequiredDescriptionDefault
optionsYesTwo to twenty itineraries to compare

Output Schema

NameRequiredDescriptionDefault
rankedYes
disclaimerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the ranking behavior and priority order: transfer quality, ticket protection, confidence, then remaining margin. It also explains how the optional id maps results back to the caller's options. It does not cover edge cases such as insufficient data or how confidence and margin are computed, but the core ranking logic is transparent.

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 compact and front-loaded: it states the comparison task, the ranking criteria, and the key input convention in three efficient sentences. Every sentence contributes useful information without repetition.

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

Completeness5/5

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

Given the rich input schema, full field descriptions, annotations, and the presence of an output schema, the description provides enough context for an agent to invoke the tool correctly. It explains the ranking purpose and the main input conventions without needing to restate return values.

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

Parameters3/5

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

Schema description coverage is 100% and the nested option fields are already well documented in the schema. The description adds some meaning by noting that each option can take times or layover_minutes and by explaining the purpose of the optional id, but most parameter semantics are already carried by the schema.

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

Purpose5/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: assess several one-stop itineraries and rank them from safest to riskiest. It also distinguishes the comparison behavior from per-connection checking by saying each option is shaped like check_connection, which helps separate it from the sibling tool.

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

Usage Guidelines4/5

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

It gives a clear usage context: several one-stop itineraries, for example flight-search results, should be compared and ranked. However, it does not explicitly say when to use this instead of check_connection or when not to use it, so the alternative-routing guidance is only implied.

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