Skip to main content
Glama

Get schedule by route

get_schedule_route
Read-onlyIdempotent

Return published schedules between two airports. Requires departure and arrival. Optional date. Use get_traffic_flights for live aircraft on a route area.

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": {
      "departure": "<departure>",
      "arrival": "<arrival>"
    },
    "name": "get_schedule_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate as YYYY-MM-DD. Example: 2026-03-15
arrivalYesArrival airport ICAO or IATA. Example: KEWR
departureYesDeparture airport ICAO or IATA. Example: KSFO

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds the meaningful qualifier 'published' (not all/real-time schedules) plus required-vs-optional input expectations. It says nothing about result volume, ordering, or pagination, which keeps it at an adequate rather than rich level.

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 short sentences, front-loaded with the core action, then requirements, then the alternative-tool pointer. No redundant or filler wording.

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

Completeness4/5

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

A simple three-parameter read tool with full schema coverage and rich annotations; no output schema exists, so return values needn't be explained. The definition covers purpose, inputs, and the main alternative, leaving only minor gaps like result ordering.

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%, with each parameter documented including ICAO/IATA and YYYY-MM-DD formats. The description only restates that departure and arrival are required and date optional, adding no meaning beyond the schema. Baseline 3 applies.

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: 'Return published schedules between two airports.' The 'between two airports' scope distinguishes it from airport- or flight-level siblings, though it doesn't explicitly name get_schedule_airport or get_schedule_flight. An agent can still tell what this tool returns.

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 clear context ('Requires departure and arrival. Optional date.') and explicitly routes live-aircraft queries to get_traffic_flights. No explicit when-not for the other schedule siblings, but the between-two-airports framing implies the boundary.

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