Skip to main content
Glama
Flight Ticket MCP Server

Flight Ticket MCP Server

by Goveiiiii

Searchflightroutes

searchFlightRoutes

Query available flight routes by departure city, destination city, and departure date to find matching flights for trip planning.

Instructions

航班路线查询 - 根据出发地、目的地和出发日期查询可用航班信息

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_city": "<departure_city>",
      "destination_city": "<destination_city>",
      "departure_date": "<departure_date>"
    },
    "name": "searchFlightRoutes"
  }
}

Input Schema

NameRequiredDescriptionDefault
departure_cityYes
departure_dateYes
destination_cityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a read-only lookup but says nothing about whether city values are names or IATA codes, what date format is expected, what the results contain (availability, schedules, fares), or whether results are limited/paginated.

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?

A single short sentence with the resource front-loaded and no redundant wording. It is efficient, though its brevity reflects under-specification rather than disciplined compression.

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

Completeness2/5

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

For a tool with three required, fully undocumented parameters, no annotations, and no output schema, the description should define input formats and describe the shape of the returned flight data. It leaves both the input contract and the return content unstated.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate — but it only restates the three parameter names (departure city, destination city, departure date) with no added format, encoding, or constraint details. An agent still cannot infer from it whether 'departure_city' expects 'Beijing' or 'PEK', or whether the date must be ISO-formatted.

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 gives a specific verb (query/search) and resource (available flight routes) plus the three search dimensions, so an agent can tell it apart from status-oriented siblings like getFlightStatus or getFlightInfo. It stops short of explicitly naming which sibling to use instead for other flight lookups.

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?

The usage is implied clearly enough — use it to find flights between two cities on a given date — but there is no explicit when-to-use vs. when-not guidance, no mention of alternatives such as getFlightsInArea or getTransferFlightsByThreePlace, and no stated prerequisites.

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