Skip to main content
Glama

LuftFly Travel & Airport Data

Flight distance, time and CO2

flight_info
Read-onlyIdempotent

Between two airports: great-circle distance, rough flight time, time difference, and per-passenger CO2 estimate (UK government factors). For routes touching the US it also lists the carriers that fly the route (with passengers, load factor, on-time rate). It is not live flight status or a schedule.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "flight_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesAirport IATA (YUL) or ICAO (CYUL) code.
fromYesAirport IATA (YUL) or ICAO (CYUL) code.
passengersNo
round_tripNo
cabin_classNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely non-structured context: the CO2 figures come from UK government factors (implying estimates, not operational data) and that carrier/load-factor/on-time data is returned only for routes touching the US — an asymmetrical behavior an agent cannot learn from the schema.

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?

Three tight sentences: outputs first, the conditional US-carrier behavior second, the scope exclusion last. No filler, and the most decision-relevant information is front-loaded.

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?

With no output schema, the description carries the burden of describing return values and does so item by item, including the conditional carrier block. The remaining gap is optional-parameter semantics, which is a schema-documentation issue rather than a description omission.

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 coverage is only 40%: only `from` and `to` carry descriptions, while `passengers`, `round_trip` and `cabin_class` are undocumented in both schema and description. The description implies these steer the CO2/time calculation ("per-passenger CO2 estimate") but never states how cabin class or round-trip alter the result, so it fails to compensate for the coverage gap.

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 names the resource (a route between two airports) and enumerates the concrete outputs: great-circle distance, rough flight time, time difference, per-passenger CO2, plus US-route carrier data. It also closes with a scope exclusion ("not live flight status or a schedule"), which lets an agent separate it from schedule/status-oriented siblings without opening a schema.

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?

Usage context is clear: call it for route-level distance/time/emissions planning, and the final sentence rules out live status and schedules. What is missing is an explicit positive pointer to the alternative tool when an agent does need live status or schedules, so routing in that direction is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources