Skip to main content
Glama
tokyo-transit-mcp
by loosephoto

Search Flight

search_flight
Read-onlyIdempotent

Search arrival and departure flights by airport or flight number, then propose access routes from the arrival terminal to a destination. Filter by date, airline, direction, or language.

Instructions

✈️ 空港フライト時刻・到着時刻表示 - 羽田/成田等の空港または便名で到着/出発フライトを検索。destination 指定で到着ターミナル→目的地のアクセス経路を自動提案。language(ja/en/zh)指定で応答言語を強制可能。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_flight"
  }
}

Input Schema

NameRequiredDescriptionDefault
airlineNo航空会社IATAコード(任意・絞り込み)
airportNo空港名またはIATAコード(例: 羽田空港, 成田空港, HND, NRT)
languageNo応答言語の強制指定(省略時は空港名/便名から自動判定)
directionNo到着(arrival)または出発(departure)。省略時は到着。
destinationNo到着時の連携先(例: 東京駅)。指定すると到着ターミナル→目的地のアクセス経路を提案。
flight_dateNoフライト日付 YYYY-MM-DD(省略時は当日)
flight_numberNo便名(例: NH001, JL000)

Output Schema

NameRequiredDescriptionDefault
statusYesSUCCESS / NO_DATA / ERROR など
messageNo
detected_languageNoja / en / zh

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.58.27
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "detected_language": {
      +      "description": "ja / en / zh",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "SUCCESS / NO_DATA / ERROR など",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. Addedv2.58.7

TDQS

A3.5/5.0
Behavior3/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 one genuine behavioral note — that supplying destination triggers automatic terminal-to-destination access routing, and that language forces the response locale — but omits things like default direction handling details and data freshness, which matter for an open-world live-data tool.

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 tight clauses with the core capability front-loaded before the two optional behaviors; the emoji and title echo cost a little space but nothing is redundant or buried. Efficient for the amount of information conveyed.

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, return values need not be explained, and the rich annotations plus full schema coverage carry most of the load. The description covers the primary lookups and the two notable side behaviors; only minor gaps remain (no mention of the arrival-by-default behavior or the airline filter, both of which the schema handles).

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%, so every one of the seven parameters is already documented with examples and enums. The description only restates airport, destination and language at a high level and adds no format, precedence, or interaction rules (e.g. airport vs flight_number precedence) beyond the schema, so 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 (到着/出発フライト) plus the two lookup keys (空港名 or 便名), which is enough to separate it from search_bus/search_ferry/search_route siblings. It does not explicitly name an alternative, so it stops short of a 5.

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?

Usage is implied by the lookup keys (airport name/IATA code or flight number) and by the destination-driven route suggestion, but there is no explicit when-not guidance and no routing to a sibling such as search_route even though the destination feature overlaps with it. An agent can infer intent but must decide on its own between this and the route-search tools.

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