Skip to main content
Glama

Find domestic flights

find_domestic_flights
Read-onlyIdempotent

Query domestic flight schedules between departure and arrival airport IDs, optionally filtered by date and airline, to plan South Korean domestic air travel.

Instructions

Query domestic flight schedules between depAirportId and arrAirportId. Obtain airport IDs from list_airports and optional airlineId from list_airlines.

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": {
      "depAirportId": "<depAirportId>",
      "arrAirportId": "<arrAirportId>"
    },
    "name": "find_domestic_flights"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10
airlineIdNoAirline ID from list_airlines
arrAirportIdYesArrival airport ID from list_airports
depAirportIdYesDeparture airport ID from list_airports
depPlandTimeNoPlanned departure date in YYYYMMDD format (e.g. 20261125)

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds a small amount of context by framing results as schedules (not bookings or live status), but says nothing about date scoping, pagination behavior, or empty-result handling.

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 sentences, front-loaded with the query action and followed by the prerequisite lookups; every clause carries information. It is arguably slightly thin for a six-parameter tool, but nothing is redundant.

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?

With an output schema present and full annotation coverage, the description only needs to convey the call contract, which it mostly does via the required IDs. The main omission is any mention of depPlandTime as a date filter, leaving the agent to discover date scoping entirely from the schema.

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%, including the YYYYMMDD pattern for depPlandTime and page/pageSize bounds, so the schema does the heavy lifting. The description only restates the provenance of the airport and airline IDs that the schema already documents, adding no extra semantics such as whether depPlandTime is required or how results are ordered.

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?

The description states a specific verb and resource ('Query domestic flight schedules') and names the two key identifiers that define the query, so an agent can tell it apart from bus/train/ship finders. It stops short of explicitly contrasting with the close sibling domestic_flights_by_airport_name, so the ID-based vs name-based distinction is only implied.

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?

It gives usable prerequisites: get airport IDs from list_airports and the optional airlineId from list_airlines, which is genuine routing guidance. It offers no exclusions or explicit alternative (e.g. when to prefer the airport-name variant, or what to do if only a city name is known), so usage is implied rather than fully specified.

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