Skip to main content
Glama

US airfare benchmark (DOT)

airfare_benchmark
Read-onlyIdempotent

Average fare actually paid on a US domestic route from the U.S. DOT Consumer Airfare Report (public domain, quarterly): latest {avg_fare_each_way, passengers_per_day, largest_carrier, lowest_fare_carrier}, year_over_year, lower_fare_carrier, seasonality {cheapest_quarter, priciest_quarter}, nearby_airports {options[], cheapest_alternative} (e.g. MIA vs FLL, JFK vs LGA vs EWR), history[]. Benchmark, not a live quote; ~5–6 month lag. $0.002/call. Use before booking or quoting a US domestic flight: what people actually paid on that route, the cheaper nearby airport and carrier, and the cheapest season.

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": "airfare_benchmark"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes3-letter US airport code, e.g. JFK
fromYes3-letter US airport code, e.g. MIA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnly/idempotent/openWorld) by disclosing the data lag (~5–6 months), quarterly cadence, public-domain provenance, that it is a benchmark not a live quote, and a $0.002/call cost. The cost and staleness disclosures are exactly the behavioral facts an agent needs before deciding to spend a call and how to frame the answer.

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?

Front-loaded with the source and payload, then the caveat, then the use case — a sensible ordering. It is dense and the long comma-separated field enumeration pushes toward run-on, but essentially every clause carries information an agent needs, so little is wasted.

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 full burden of describing the response and does so by enumerating the returned fields (avg_fare_each_way, seasonality, nearby_airports, history). Combined with the lag and cost disclosures, nothing material is missing for correct invocation.

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

Parameters4/5

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

Schema coverage is 100% and both parameters are documented as 3-letter US airport codes, so baseline would be 3. The description adds a small amount of value by illustrating the airport-pair reality (MIA vs FLL, JFK vs LGA vs EWR), which hints that codes drive nearby-airport comparisons, but it does not specify case handling or validation.

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?

States a specific resource and measurement — the average fare actually paid on a US domestic route, sourced from the DOT Consumer Airfare Report — and immediately contrasts it with a live quote. An agent can tell exactly what this returns and what it is not.

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?

Gives an explicit trigger: 'Use before booking or quoting a US domestic flight.' The described decision context (what people actually paid, cheaper nearby airport, cheapest season) makes the intended use concrete. No alternatives are named, but the sibling list contains no comparable fare tool, so this is a minor gap rather than a missing route.

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.