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

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ODPT_API_KEYYesYour ODPT API key from https://developer.odpt.org/

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_routeA

乗り換えルート検索 - 出発駅から到着駅までのルートを検索。日本語・英語・中国語自動識別、天候/高温/運休を検出し、LLM向けの留意(ai_transit_advice)を返す。language(ja/en/zh)を指定すると応答言語を強制(ユーザーのクエリ言語に合わせて指定推奨)。荒天・降雪・凍結時を除き、到着地点周辺のレンタサイクル案内を表示。user_location(緯度経度)指定時は運転見合わせ時の代替シェアサイクル案内を現在地基準で表示。

【出力指示/OUTPUT RULE】ツールの content には「表示済みの完成テキスト」が既に日本語・英語・中国語のどれかで含まれている。この content をそのままユーザーへ提示すること。要約・再構成・言い換え・省略・見出しの書き換えを一切しないこと。特に運転見合わせ・特別警報・緊急避難・振替輸送・シェアサイクル代替(emergency_alert / cycling_alternative / bus_transfer_alternative / suspended_lines)など運行障害時の安全情報は、原文のまま必ずすべて表示すること。

【留意の扱い/NOTE HANDLING】【留意】(英語は [Note])で始まる行と ai_transit_advice フィールドは、利用者向けの完成文ではなく、回答を組むための留意メモである。そのまま貼り付けず、内容を踏まえて自分の言葉で回答に織り込むこと。安全・危険・避難・振替輸送・代替手段に関する指示は省略しない。追加の説明は content の後に補足として付け加えてもよい。

get_station_infoB

駅情報取得 - 駅の基本情報をODPT APIから取得。language(ja/en/zh)指定で応答言語を強制可能。

get_weatherA

天気情報取得 - 気象庁APIから天気・気温を取得。高温時は熱中症の留意を返す。ai_transit_advice はLLM向けの留意メモ(ja/zh は 【留意】、en は [Note] で始まる)で、そのまま貼らず回答に織り込む。language(ja/en/zh)指定で応答言語を強制可能。

list_ferry_portsA

フェリー/水上バス港一覧 - 東海汽船(伊豆諸島航路)と東京クルーズ(水上バス)の全港を表示。

search_ferryA

フェリー/水上バス航路検索 - 港間の航路と時刻表を検索。language(ja/en/zh)指定で応答言語を強制可能。

list_transit_operatorsB

交通事業者一覧 - 鉄道・AGT・モノレール・路面電車・フェリーの全事業者を種別フィルター付きで表示。

list_community_busesA

🚌 東京都コミュニティバス一覧 - 東京バス協会(tokyobus.or.jp)掲載の41自治体コミュニティバス(ちぃばす・ハチ公バス・ムーバス等)を自治体別に表示。時刻表・路線は各自治体公式サイトへのリンクで案内。

get_operator_routesB

事業者別路線一覧 - 指定事業者の全路線と駅を表示(例: tokyometro, jreast, mir, twr, yurikamome, toden)。

search_flightA

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

search_fareA

🚃 運賃検索 - 2駅間の運賃をODPTデータから検索します(東京メトロ・都営対応)。サーバー内で運賃を直接返します。language(ja/en/zh)指定で応答言語を強制可能。

get_timetableA

🕐 時刻表検索 - 指定駅の時刻表をODPTデータから検索します。直接時刻を提供します。language(ja/en/zh)指定で応答言語を強制可能。

search_busA

🚌🚃 バス路線・乗り継ぎ・横断乗り継ぎ検索 - バス停/系統を検索、from+to でバス→電車→バスの乗り継ぎ経路を探索。ノンステップバス情報を含む。language(ja/en/zh)指定で応答言語を強制可能。

get_running_statusA

🚦 リアルタイム運行状況検索 - 指定事業者(または全事業者)の列車運行状況を公式ページから取得し、路線別ステータス(平常運転/遅延/一部運休/運転見合わせ)で返す。operator 指定で絞り込み、省略/ all で全事業者。language(ja/en/zh)指定で応答言語を強制可能。

find_nearby_stopsA

📍 最寄り駅・バス停検索 - 緯度経度(携帯電話のGPSなど位置情報)から一番近い駅・バス停・シェアサイクルポート・水上バス/フェリー乗り場を距離順で返す。各項目に距離・徒歩換算・乗り入れ路線(駅)・事業者と系統数(バス停)・貸出可能台数(シェアサイクル)・Google Maps リンクを付ける。半径内に0件のときは 1km→2km→5km に自動拡大して明示する。駅はODPT障害時も内蔵座標で縮退応答。バス停は都営・西武・横浜市営バス、シェアサイクルは docomoバイクシェア・HELLO CYCLING、水上バス/フェリーは東京クルーズ・東海汽船の乗り場が対象。language(ja/en/zh)指定で応答言語を強制可能(座標だけの入力では日本語になるため、英語/中国語で答えるときは必ず指定)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 14 tools

Disambiguation4/5

Each tool has a clear primary domain (rail route, ferry, flight, bus, fare, timetable, status, nearby, weather), but search_route and search_bus can both produce multi-leg journeys, leaving a small gray zone for cross-modal trips. list_community_buses also partially overlaps with search_bus, though the descriptions distinguish listing vs. searching.

Naming Consistency5/5

All names use a consistent snake_case verb_noun pattern (search_route, get_weather, list_ferry_ports, find_nearby_stops). Verb variation (search/get/list/find) is semantically meaningful rather than arbitrary.

Tool Count5/5

14 tools is well within the ideal 3-15 range and each tool maps to a distinct transit sub-domain (rail, bus, ferry, flight, weather, fare, timetable, status, nearby). No tool feels redundant or filler.

Completeness4/5

Coverage is broad: routing, station info, fares, timetables, real-time status, weather, ferries, flights, buses, and location lookup. Minor gaps exist—search_fare only supports Tokyo Metro/Toei, and there is no dedicated accessibility/facility or real-time bus-location tool—but agents can work around these.

Maintenance

ActivityNo data
ResponsivenessOutdated data