{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.lad.lviv.ua",
    "site": "lviv.ua",
    "addresses": [
      {
        "address": "172.67.217.34",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.208.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.24.60",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3035::ac43:d922",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3035::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::6815:183c",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.217.34",
          "104.21.24.60",
          "2606:4700:3035::ac43:d922",
          "2606:4700:3030::6815:183c"
        ],
        "first_seen": "2026-11-21T17:29:01.372Z",
        "last_seen": "2026-11-21T17:29:01.372Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "io.github.vbhjckfd/timetable-api-node",
      "version": "1.8.23",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.vbhjckfd",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/vbhjckfd/timetable-api-node",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "40647",
    "server_name": "io.github.vbhjckfd/timetable-api-node",
    "url": "https://api.lad.lviv.ua/mcp",
    "host": "api.lad.lviv.ua",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-21T17:29:01.372Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "6d984a05bb61fd4b987303bc53eb766ddd134fe50e378ec188770de1bacc98f8",
    "first_listed_at": "2026-11-21T17:29:01.372Z",
    "created_at": "2026-11-21T12:15:10.147Z",
    "resolved_addresses": [
      "172.67.217.34",
      "104.21.24.60",
      "2606:4700:3035::ac43:d922",
      "2606:4700:3030::6815:183c"
    ]
  },
  "server": {
    "name": "io.github.vbhjckfd/timetable-api-node",
    "title": "Lviv Public Transport",
    "description": "Lviv public transport MCP: stops, timetables, routes, and live vehicle positions. No API key.",
    "version": "1.8.22",
    "registry_status": "active",
    "repository_url": "https://github.com/vbhjckfd/timetable-api-node",
    "website_url": "https://lad.lviv.ua",
    "published_at": "2026-11-18T14:53:41.514Z",
    "updated_at": "2026-11-18T14:53:41.514Z",
    "first_seen": "2026-11-21T12:15:09.364Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:53:12.560Z"
  },
  "operator": null,
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1277,
    "first_check_in_window": "2026-11-21T17:29:01.372Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "6d984a05bb61fd4b987303bc53eb766ddd134fe50e378ec188770de1bacc98f8",
    "tools": 9,
    "resources": 4,
    "prompts": 5,
    "first_seen": "2026-11-21T17:29:02.651Z",
    "tool_names": [
      "get_stop_realtime",
      "search_stops",
      "find_routes_between",
      "get_route_static",
      "get_route_realtime",
      "get_disruptions",
      "get_stops_around_location",
      "get_nearby_vehicles",
      "get_vehicle_info"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_stop_realtime",
          "title": "Get Stop Realtime",
          "description": "Returns live arrivals at a stop: route, destination, vehicle type, minutes until arrival, and each vehicle's position. Use this as the **default tool** when the user asks about arrivals, departures, or the next bus/tram at a specific stop. Requires a numeric stop ID (shown on stop signage); use `search_stops` when you have a stop name, or `get_stops_around_location` when you have coordinates.",
          "inputSchema": {
            "type": "object",
            "required": [
              "stop_id"
            ],
            "properties": {
              "stop_id": {
                "type": "integer",
                "description": "Municipal stop code shown on stop signage (e.g. 707). Accepts a positive integer or an equivalent digit-only string.",
                "exclusiveMinimum": 0
              },
              "lowfloor_only": {
                "type": "boolean",
                "description": "Only low-floor arrivals (step-free: wheelchairs, prams). Timetable entries without a tracked vehicle are left out, since their floor is unknown. Default false."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "stop",
                  "arrivals",
                  "lowfloor_only",
                  "updated_at"
                ],
                "properties": {
                  "stop": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "lat",
                      "lng"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "lat": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "lng": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "arrivals": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "route",
                        "direction",
                        "vehicle_type",
                        "arrival_minutes",
                        "vehicle_id",
                        "lat",
                        "lng",
                        "bearing",
                        "lowfloor",
                        "scheduled"
                      ],
                      "properties": {
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "route": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bearing": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lowfloor": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "direction": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "scheduled": {
                          "type": "boolean"
                        },
                        "vehicle_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "vehicle_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "arrival_minutes": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "disruptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "reason",
                        "since",
                        "until",
                        "until_text",
                        "routes",
                        "stops",
                        "alternatives",
                        "detour",
                        "area",
                        "note",
                        "source",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "area": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "lat",
                            "lng",
                            "radius_meters"
                          ],
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "radius_meters": {
                              "type": "number"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "suspended",
                            "detour",
                            "stop_moved",
                            "stop_closed"
                          ],
                          "type": "string"
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "since": {
                          "type": "string"
                        },
                        "stops": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "detour": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "via",
                            "skipped_stops"
                          ],
                          "properties": {
                            "via": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "skipped_stops": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "reason": {
                          "type": "string"
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "alternatives": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "lowfloor_only": {
                    "type": "boolean"
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "required": [
                            "center",
                            "zoom",
                            "layers"
                          ],
                          "properties": {
                            "zoom": {
                              "type": "number"
                            },
                            "center": {
                              "type": "array",
                              "items": false,
                              "maxItems": 2,
                              "minItems": 2,
                              "prefixItems": [
                                {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              ]
                            },
                            "layers": {
                              "type": "object",
                              "properties": {
                                "stops": {
                                  "type": "string"
                                },
                                "vehicles": {
                                  "type": "string"
                                },
                                "polylines": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        },
                        "type": {
                          "type": "string",
                          "const": "map"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "required": [
                            "source"
                          ],
                          "properties": {
                            "source": {
                              "type": "string"
                            }
                          }
                        },
                        "type": {
                          "type": "string",
                          "const": "arrival_list"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "annotations": {
            "title": "Get Stop Realtime",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_stops",
          "title": "Search Stops",
          "description": "Finds stops by name (Ukrainian or English transliteration, case-insensitive, partial match) and returns each stop's numeric ID, coordinates, and the routes serving it. Use this as the **first step** when the user names a stop or landmark stop (e.g. \"Опера\", \"Rynok\", \"Головний вокзал\") and you need a stop ID for `get_stop_realtime` or `find_routes_between`. One name usually covers both sides of the street under different IDs; each is returned, and the `routes` list tells them apart. Use `get_stops_around_location` instead when you have coordinates rather than a name.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 25,
                "minimum": 1,
                "description": "Maximum stops to return (1–25, default 10)."
              },
              "query": {
                "type": "string",
                "minLength": 2,
                "description": "Stop name or part of it, e.g. \"Ринок\", \"opera\", \"Стрийська\"."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "query",
                  "stops",
                  "updated_at"
                ],
                "properties": {
                  "query": {
                    "type": "string"
                  },
                  "stops": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "lat",
                        "lng",
                        "routes",
                        "eng_name"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "eng_name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "updated_at": {
                    "type": "string"
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Search Stops",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_routes_between",
          "title": "Find Routes Between Stops",
          "description": "Lists the routes from one place to another: which stop to board, where to get off, the direction's destination, stops in between, and the walk at each end — best first, walking counted. Each end is a stop ID (`from_stop_id`) or coordinates (`from_lat` + `from_lng`), e.g. an address the user gave; a point covers every stop within a 600 m walk of it. `options` are direct routes. `transfer_options` have exactly one interchange (never more): ride `legs[0]`, walk `transfer_walk_meters` (within a 300 m stop cluster, 0 when it is the same stop) to `legs[1].board_stop`, ride `legs[1]`. They are listed when there is no direct route or when they beat the best direct one. Every option carries `schedule`: by the timetable, when to leave, when each leg boards and alights, when you arrive, and `total_minutes` door to door. Plan for now by default, or pass `depart_at` or `arrive_by` (\"HH:MM\" Lviv time today, or ISO 8601). When planning for now, options also carry `next_departures`: the live next departures of the first leg from its boarding stop, so no separate `get_stop_realtime` call is needed. `map_stops` holds the best trip's stops in riding order, each with a `role` (board, transfer — or transfer_alight + transfer_board when the interchange is a walk — and alight). Use when the user asks how to get from A to B, which bus/tram goes from one place to another, how long it takes, or when to leave to be somewhere on time. A stop end covers every stop within a 300 m walk of it, since a line's two directions often stop on opposite sides of a street under different names; `board_stop` says where to actually wait. Routes the city has suspended, and stops a detour skips, are left out. `walk_meters` is set when the two ends are within a 300 m walk of each other: no ride is searched then, so tell the user to walk. Otherwise both lists empty means the trip needs two or more transfers. Get stop IDs with `search_stops` or `get_stops_around_location`.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to_lat": {
                "type": "number",
                "maximum": 90,
                "minimum": -90,
                "description": "Decimal latitude of the destination, WGS84 (e.g. 49.842 for central Lviv)."
              },
              "to_lng": {
                "type": "number",
                "maximum": 180,
                "minimum": -180,
                "description": "Decimal longitude of the destination, WGS84 (e.g. 24.031 for central Lviv)."
              },
              "from_lat": {
                "type": "number",
                "maximum": 90,
                "minimum": -90,
                "description": "Decimal latitude of the start point, WGS84 (e.g. 49.842 for central Lviv)."
              },
              "from_lng": {
                "type": "number",
                "maximum": 180,
                "minimum": -180,
                "description": "Decimal longitude of the start point, WGS84 (e.g. 24.031 for central Lviv)."
              },
              "arrive_by": {
                "type": "string",
                "description": "Arrive by this time: \"HH:MM\" Lviv time today, or ISO 8601. Not together with `depart_at`."
              },
              "depart_at": {
                "type": "string",
                "description": "Leave at this time: \"HH:MM\" Lviv time today, or ISO 8601. Default now. Not together with `arrive_by`."
              },
              "to_stop_id": {
                "type": "integer",
                "description": "Stop ID where the trip ends. Give this or `to_lat` + `to_lng`.",
                "exclusiveMinimum": 0
              },
              "from_stop_id": {
                "type": "integer",
                "description": "Stop ID where the trip starts. Give this or `from_lat` + `from_lng`.",
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "from",
                  "to",
                  "timing",
                  "options",
                  "transfer_options",
                  "map_stops",
                  "updated_at"
                ],
                "properties": {
                  "to": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "stop_ids"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "point": {
                        "type": "object",
                        "required": [
                          "lat",
                          "lng"
                        ],
                        "properties": {
                          "lat": {
                            "type": "number"
                          },
                          "lng": {
                            "type": "number"
                          }
                        }
                      },
                      "stop_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "from": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "stop_ids"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "point": {
                        "type": "object",
                        "required": [
                          "lat",
                          "lng"
                        ],
                        "properties": {
                          "lat": {
                            "type": "number"
                          },
                          "lng": {
                            "type": "number"
                          }
                        }
                      },
                      "stop_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "timing": {
                    "type": "object",
                    "required": [
                      "mode",
                      "at"
                    ],
                    "properties": {
                      "at": {
                        "type": "string"
                      },
                      "mode": {
                        "enum": [
                          "depart_at",
                          "arrive_by"
                        ],
                        "type": "string"
                      }
                    }
                  },
                  "options": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "route",
                        "vehicle_type",
                        "direction",
                        "destination",
                        "board_stop",
                        "alight_stop",
                        "stops_count",
                        "walk_to_board_meters",
                        "walk_from_alight_meters",
                        "schedule"
                      ],
                      "properties": {
                        "route": {
                          "type": "string"
                        },
                        "schedule": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "leave_at",
                            "arrive_at",
                            "total_minutes",
                            "legs"
                          ],
                          "properties": {
                            "legs": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "board_at",
                                  "alight_at"
                                ],
                                "properties": {
                                  "board_at": {
                                    "type": "string"
                                  },
                                  "alight_at": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "leave_at": {
                              "type": "string"
                            },
                            "arrive_at": {
                              "type": "string"
                            },
                            "total_minutes": {
                              "type": "integer"
                            }
                          }
                        },
                        "direction": {
                          "type": "integer"
                        },
                        "board_stop": {
                          "type": "object",
                          "required": [
                            "id",
                            "name",
                            "lat",
                            "lng"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "lat": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "lng": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "alight_stop": {
                          "type": "object",
                          "required": [
                            "id",
                            "name",
                            "lat",
                            "lng"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "lat": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "lng": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        },
                        "destination": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "stops_count": {
                          "type": "integer"
                        },
                        "vehicle_type": {
                          "type": "string"
                        },
                        "next_departures": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "arrival_minutes",
                              "scheduled",
                              "vehicle_id",
                              "lowfloor"
                            ],
                            "properties": {
                              "lowfloor": {
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              },
                              "scheduled": {
                                "type": "boolean"
                              },
                              "vehicle_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "arrival_minutes": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "walk_to_board_meters": {
                          "type": "integer"
                        },
                        "walk_from_alight_meters": {
                          "type": "integer"
                        }
                      }
                    }
                  },
                  "map_stops": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "lat",
                        "lng",
                        "role"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "role": {
                          "enum": [
                            "board",
                            "transfer",
                            "transfer_alight",
                            "transfer_board",
                            "alight"
                          ],
                          "type": "string"
                        }
                      }
                    }
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "disruptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "reason",
                        "since",
                        "until",
                        "until_text",
                        "routes",
                        "stops",
                        "alternatives",
                        "detour",
                        "area",
                        "note",
                        "source",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "area": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "lat",
                            "lng",
                            "radius_meters"
                          ],
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "radius_meters": {
                              "type": "number"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "suspended",
                            "detour",
                            "stop_moved",
                            "stop_closed"
                          ],
                          "type": "string"
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "since": {
                          "type": "string"
                        },
                        "stops": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "detour": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "via",
                            "skipped_stops"
                          ],
                          "properties": {
                            "via": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "skipped_stops": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "reason": {
                          "type": "string"
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "alternatives": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "walk_meters": {
                    "type": "integer"
                  },
                  "transfer_options": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "legs",
                        "transfer_walk_meters",
                        "stops_count",
                        "walk_to_board_meters",
                        "walk_from_alight_meters",
                        "schedule"
                      ],
                      "properties": {
                        "legs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "route",
                              "vehicle_type",
                              "direction",
                              "destination",
                              "board_stop",
                              "alight_stop",
                              "stops_count"
                            ],
                            "properties": {
                              "route": {
                                "type": "string"
                              },
                              "direction": {
                                "type": "integer"
                              },
                              "board_stop": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "name",
                                  "lat",
                                  "lng"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "lat": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "lng": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                }
                              },
                              "alight_stop": {
                                "type": "object",
                                "required": [
                                  "id",
                                  "name",
                                  "lat",
                                  "lng"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "lat": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "lng": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "name": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                }
                              },
                              "destination": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "stops_count": {
                                "type": "integer"
                              },
                              "vehicle_type": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "schedule": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "leave_at",
                            "arrive_at",
                            "total_minutes",
                            "legs"
                          ],
                          "properties": {
                            "legs": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "board_at",
                                  "alight_at"
                                ],
                                "properties": {
                                  "board_at": {
                                    "type": "string"
                                  },
                                  "alight_at": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "leave_at": {
                              "type": "string"
                            },
                            "arrive_at": {
                              "type": "string"
                            },
                            "total_minutes": {
                              "type": "integer"
                            }
                          }
                        },
                        "stops_count": {
                          "type": "integer"
                        },
                        "next_departures": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "arrival_minutes",
                              "scheduled",
                              "vehicle_id",
                              "lowfloor"
                            ],
                            "properties": {
                              "lowfloor": {
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              },
                              "scheduled": {
                                "type": "boolean"
                              },
                              "vehicle_id": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "arrival_minutes": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              }
                            }
                          }
                        },
                        "transfer_walk_meters": {
                          "type": "integer"
                        },
                        "walk_to_board_meters": {
                          "type": "integer"
                        },
                        "walk_from_alight_meters": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Find Routes Between Stops",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_route_static",
          "title": "Get Route Static",
          "description": "Returns static route data: name, long name, vehicle type, colour, the ordered stop list for both directions, and the timetable of departures from the first stop (workday, Saturday and Sunday). Use when the user asks which stops a route serves, where it goes, or its scheduled departure times. Set `include_shapes` only when you will draw the route on a map — the polylines are large and carry nothing a text answer needs. Do NOT use this for live vehicle positions — use `get_route_realtime` instead. Requires a route short name (e.g. \"T30\", \"32A\") or numeric external ID.",
          "inputSchema": {
            "type": "object",
            "required": [
              "route_name"
            ],
            "properties": {
              "route_name": {
                "type": "string",
                "minLength": 1,
                "description": "Route short name (e.g. \"T30\", \"32A\") or numeric external ID."
              },
              "include_shapes": {
                "type": "boolean",
                "description": "Include route polylines ([lat, lng] points per direction) for map drawing. Default false."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "route",
                  "stops",
                  "updated_at"
                ],
                "properties": {
                  "route": {
                    "type": "object",
                    "required": [
                      "name",
                      "long_name",
                      "color",
                      "type"
                    ],
                    "properties": {
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "color": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "long_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "stops": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "name",
                          "lat",
                          "lng",
                          "departures"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "lat": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "lng": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "schedule": {
                            "type": "object",
                            "required": [
                              "workday",
                              "saturday",
                              "sunday",
                              "weekend"
                            ],
                            "properties": {
                              "sunday": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "weekend": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "workday": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "saturday": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "departures": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "shapes": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "disruptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "reason",
                        "since",
                        "until",
                        "until_text",
                        "routes",
                        "stops",
                        "alternatives",
                        "detour",
                        "area",
                        "note",
                        "source",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "area": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "lat",
                            "lng",
                            "radius_meters"
                          ],
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "radius_meters": {
                              "type": "number"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "suspended",
                            "detour",
                            "stop_moved",
                            "stop_closed"
                          ],
                          "type": "string"
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "since": {
                          "type": "string"
                        },
                        "stops": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "detour": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "via",
                            "skipped_stops"
                          ],
                          "properties": {
                            "via": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "skipped_stops": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "reason": {
                          "type": "string"
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "alternatives": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Route Static",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_route_realtime",
          "title": "Get Route Realtime",
          "description": "Returns every vehicle currently running on a route: position, the destination it is heading to, and its next stop with estimated arrival. `headways` sums up each direction: how many vehicles run, the live gaps between consecutive vehicles in minutes (front to back), and how often the timetable says it should run right now. Use when the user asks \"where is my tram/bus right now?\", how many vehicles are running, how far the next one is, or how often a route runs. Pass `direction` (0 or 1, as in `get_route_static`'s `stops`) to get only one way. Prefer `get_stop_realtime` when the user is at a stop and wants arrival times there. Requires a route short name (e.g. \"T30\", \"32A\") or numeric external ID.",
          "inputSchema": {
            "type": "object",
            "required": [
              "route_name"
            ],
            "properties": {
              "direction": {
                "type": "integer",
                "maximum": 1,
                "minimum": 0,
                "description": "Only vehicles heading this way: 0 or 1, the index into get_route_static's `stops`. Omit for both."
              },
              "route_name": {
                "type": "string",
                "minLength": 1,
                "description": "Route short name (e.g. \"T30\", \"32A\") or numeric external ID."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "route_name",
                  "destinations",
                  "direction",
                  "vehicles",
                  "headways",
                  "updated_at"
                ],
                "properties": {
                  "headways": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "direction",
                        "destination",
                        "vehicles",
                        "gaps_minutes",
                        "scheduled_headway_minutes"
                      ],
                      "properties": {
                        "vehicles": {
                          "type": "integer"
                        },
                        "direction": {
                          "type": "integer"
                        },
                        "destination": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "gaps_minutes": {
                          "type": "array",
                          "items": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          }
                        },
                        "scheduled_headway_minutes": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "vehicles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "direction",
                        "destination",
                        "next_stop",
                        "lat",
                        "lng",
                        "bearing",
                        "lowfloor"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "bearing": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lowfloor": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "direction": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "next_stop": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "id",
                            "name",
                            "arrival"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "arrival": {
                              "type": "string"
                            }
                          }
                        },
                        "destination": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "direction": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "route_name": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "disruptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "reason",
                        "since",
                        "until",
                        "until_text",
                        "routes",
                        "stops",
                        "alternatives",
                        "detour",
                        "area",
                        "note",
                        "source",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "area": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "lat",
                            "lng",
                            "radius_meters"
                          ],
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "radius_meters": {
                              "type": "number"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "suspended",
                            "detour",
                            "stop_moved",
                            "stop_closed"
                          ],
                          "type": "string"
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "since": {
                          "type": "string"
                        },
                        "stops": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "detour": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "via",
                            "skipped_stops"
                          ],
                          "properties": {
                            "via": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "skipped_stops": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "reason": {
                          "type": "string"
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "alternatives": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "destinations": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Route Realtime",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_disruptions",
          "title": "Get Disruptions",
          "description": "Lists closures, detours and moved stops the city announced that are in force today: affected routes, the streets a detour uses, routes to take instead of a suspended one, reason, dates and source. The GTFS stop lists and timetables do not reflect any of this. Use when the user asks about road works, closures, detours, or why a route is not running or a vehicle is off its usual path. Pass `route` and/or `stop_id` to get only the entries touching them; omit both for the whole city.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "route": {
                "type": "string",
                "minLength": 1,
                "description": "Only disruptions on this route, by short name (e.g. \"Т30\", \"А34\"). Omit for all routes."
              },
              "stop_id": {
                "type": "integer",
                "description": "Only disruptions at this stop. Omit for all stops.",
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "route",
                  "stop_id",
                  "disruptions",
                  "updated_at"
                ],
                "properties": {
                  "route": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "stop_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "disruptions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "kind",
                        "reason",
                        "since",
                        "until",
                        "until_text",
                        "routes",
                        "stops",
                        "alternatives",
                        "detour",
                        "area",
                        "note",
                        "source",
                        "url"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "area": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "lat",
                            "lng",
                            "radius_meters"
                          ],
                          "properties": {
                            "lat": {
                              "type": "number"
                            },
                            "lng": {
                              "type": "number"
                            },
                            "radius_meters": {
                              "type": "number"
                            }
                          }
                        },
                        "kind": {
                          "enum": [
                            "suspended",
                            "detour",
                            "stop_moved",
                            "stop_closed"
                          ],
                          "type": "string"
                        },
                        "note": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "since": {
                          "type": "string"
                        },
                        "stops": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "until": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "detour": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "via",
                            "skipped_stops"
                          ],
                          "properties": {
                            "via": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "skipped_stops": {
                              "type": "array",
                              "items": {
                                "type": "integer"
                              }
                            }
                          }
                        },
                        "reason": {
                          "type": "string"
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "until_text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "alternatives": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "name",
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Disruptions",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_stops_around_location",
          "title": "Get Stops Around Location",
          "description": "Finds stops near a geographic point, returning each stop's numeric ID, name, coordinates, walking distance, and the routes serving it. Use this as the **first step** when the user gives an address or coordinates and you need stop IDs for `get_stop_realtime` or `find_routes_between`. Use `search_stops` instead when the user gives a stop name. Default radius is 500 m (about a 6-minute walk), enough in the city centre; widen it to 1 000–3 000 m in suburbs or rural areas where stops are sparse.",
          "inputSchema": {
            "type": "object",
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "latitude": {
                "type": "number",
                "maximum": 90,
                "minimum": -90,
                "description": "Decimal latitude of the search centre, WGS84 (e.g. 49.842 for central Lviv)."
              },
              "longitude": {
                "type": "number",
                "maximum": 180,
                "minimum": -180,
                "description": "Decimal longitude of the search centre, WGS84 (e.g. 24.031 for central Lviv)."
              },
              "radius_meters": {
                "type": "integer",
                "maximum": 3000,
                "minimum": 50,
                "description": "Search radius in metres (50–3000, default 500). Use ~300 for a single dense intersection, 1000–3000 for suburban or rural areas."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "center_lat",
                  "center_lng",
                  "radius_meters",
                  "stops",
                  "updated_at"
                ],
                "properties": {
                  "stops": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "lat",
                        "lng",
                        "routes",
                        "distance_meters"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "routes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "distance_meters": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "center_lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "center_lng": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "radius_meters": {
                    "type": "number"
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Stops Around Location",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_nearby_vehicles",
          "title": "Get Nearby Vehicles",
          "description": "Returns live vehicles near a point, nearest first, each with its route, destination, and distance. Use when the user asks \"what transport is near me right now?\" or wants a live map around a location. Narrow with `route` when the user cares about one line; prefer `get_route_realtime` for a whole route and `get_stop_realtime` for arrival times at a stop. Requires decimal latitude and longitude (WGS84).",
          "inputSchema": {
            "type": "object",
            "required": [
              "latitude",
              "longitude"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum vehicles to return, nearest first (1–50, default 15). `total` reports how many were in range."
              },
              "route": {
                "type": "string",
                "minLength": 1,
                "description": "Only vehicles on this route, by short name (e.g. \"Т30\", \"А1\"). Omit for all routes."
              },
              "latitude": {
                "type": "number",
                "maximum": 90,
                "minimum": -90,
                "description": "Decimal latitude of the centre point, WGS84 (e.g. 49.842 for central Lviv)."
              },
              "longitude": {
                "type": "number",
                "maximum": 180,
                "minimum": -180,
                "description": "Decimal longitude of the centre point, WGS84 (e.g. 24.031 for central Lviv)."
              },
              "lowfloor_only": {
                "type": "boolean",
                "description": "Only low-floor vehicles (step-free: wheelchairs, prams). Timetable entries without a tracked vehicle are left out, since their floor is unknown. Default false."
              },
              "radius_meters": {
                "type": "integer",
                "maximum": 1000,
                "minimum": 100,
                "description": "Search radius in metres (100–1000, default 500)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "center_lat",
                  "center_lng",
                  "radius_meters",
                  "lowfloor_only",
                  "total",
                  "vehicles",
                  "updated_at"
                ],
                "properties": {
                  "total": {
                    "type": "integer"
                  },
                  "vehicles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "route",
                        "vehicle_type",
                        "direction",
                        "destination",
                        "lat",
                        "lng",
                        "bearing",
                        "lowfloor",
                        "distance_meters"
                      ],
                      "properties": {
                        "id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "lat": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lng": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "route": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bearing": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "lowfloor": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "direction": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "destination": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "vehicle_type": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "distance_meters": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "center_lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "center_lng": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "lowfloor_only": {
                    "type": "boolean"
                  },
                  "radius_meters": {
                    "type": "number"
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Nearby Vehicles",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_vehicle_info",
          "title": "Get Vehicle Info",
          "description": "Returns details for one vehicle by ID: position, route, destination, license plate, and its upcoming stops with names and estimated arrival times. Use when the user wants to follow a particular vehicle, e.g. \"where does this tram go next?\" or \"when will it reach X?\". Vehicle IDs come from `get_route_realtime`, `get_nearby_vehicles`, or `get_stop_realtime` results. Do NOT use this to get all vehicles on a route — use `get_route_realtime` instead.",
          "inputSchema": {
            "type": "object",
            "required": [
              "vehicle_id"
            ],
            "properties": {
              "vehicle_id": {
                "type": "string",
                "minLength": 1,
                "description": "Vehicle ID as returned by get_route_realtime, get_nearby_vehicles, or get_stop_realtime."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "view",
              "data",
              "ui_blocks"
            ],
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "vehicle_id",
                  "route",
                  "license_plate",
                  "lat",
                  "lng",
                  "bearing",
                  "direction",
                  "destination",
                  "upcoming_stops",
                  "updated_at"
                ],
                "properties": {
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lng": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "route": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "bearing": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "direction": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "vehicle_id": {
                    "type": "string"
                  },
                  "destination": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "license_plate": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "upcoming_stops": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "arrival",
                        "departure"
                      ],
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "arrival": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "departure": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  }
                }
              },
              "view": {
                "type": "string",
                "const": "transit_realtime"
              },
              "ui_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "object",
                      "required": [
                        "center",
                        "zoom",
                        "layers"
                      ],
                      "properties": {
                        "zoom": {
                          "type": "number"
                        },
                        "center": {
                          "type": "array",
                          "items": false,
                          "maxItems": 2,
                          "minItems": 2,
                          "prefixItems": [
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          ]
                        },
                        "layers": {
                          "type": "object",
                          "properties": {
                            "stops": {
                              "type": "string"
                            },
                            "vehicles": {
                              "type": "string"
                            },
                            "polylines": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "type": {
                      "type": "string",
                      "const": "map"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Get Vehicle Info",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "about",
          "uri": "timetable://about",
          "mimeType": "text/markdown",
          "description": "Scope, usage, and data caveats for this server."
        },
        {
          "name": "tools-reference",
          "uri": "timetable://reference/tools",
          "mimeType": "text/markdown",
          "description": "What each MCP tool returns and when to use it."
        },
        {
          "name": "prompts-reference",
          "uri": "timetable://reference/prompts",
          "mimeType": "text/markdown",
          "description": "Catalog of prompt templates and their arguments."
        },
        {
          "name": "routes",
          "uri": "timetable://routes",
          "mimeType": "application/json",
          "description": "Every route's short name, long name, vehicle type and the terminus of each direction. Names here are what the route tools take."
        }
      ],
      "prompts": [
        {
          "name": "transit-map-view",
          "description": "Render live vehicles on map for a stop.",
          "arguments": [
            {
              "name": "stop_id",
              "required": true,
              "description": "Municipal stop code shown on stop signage (e.g. 707). Accepts a positive integer or an equivalent digit-only string."
            }
          ]
        },
        {
          "name": "transit-arrival-list",
          "description": "Render upcoming arrivals list for a stop.",
          "arguments": [
            {
              "name": "stop_id",
              "required": true,
              "description": "Municipal stop code shown on stop signage (e.g. 707). Accepts a positive integer or an equivalent digit-only string."
            }
          ]
        },
        {
          "name": "transit-hybrid-view",
          "description": "Render map and arrival list together with synchronized ETA values.",
          "arguments": [
            {
              "name": "stop_id",
              "required": true,
              "description": "Municipal stop code shown on stop signage (e.g. 707). Accepts a positive integer or an equivalent digit-only string."
            }
          ]
        },
        {
          "name": "plan-trip",
          "description": "Find routes (direct or with one transfer) between two places in Lviv, the next live departures and when to leave.",
          "arguments": [
            {
              "name": "from",
              "required": true,
              "description": "Where the trip starts: stop name, landmark, numeric stop ID, or \"lat,lng\"."
            },
            {
              "name": "to",
              "required": true,
              "description": "Where the trip ends: stop name, landmark, numeric stop ID, or \"lat,lng\"."
            },
            {
              "name": "arrive_by",
              "required": false,
              "description": "Optional: \"HH:MM\" (Lviv time) the rider has to be there by."
            }
          ]
        },
        {
          "name": "route-status",
          "description": "Where the vehicles of one route are right now.",
          "arguments": [
            {
              "name": "route_name",
              "required": true,
              "description": "Route short name (e.g. \"T30\", \"32A\") or numeric external ID."
            }
          ]
        }
      ]
    },
    "instructions": "Lviv, Ukraine public transport assistant. Read-only. No authentication required.\n\n## Tool selection\n\n- User names a stop (\"Опера\", \"Rynok\", \"Головний вокзал\") → `search_stops` to get its stop ID\n- User gives an address or coordinates → `get_stops_around_location` to get nearby stop IDs\n- User asks about arrivals or \"when is the next bus/tram at stop X\" → `get_stop_realtime`\n- User asks how to get from A to B, how long it takes, or when to leave → `find_routes_between` with stop IDs or coordinates for each end (direct routes, or one interchange). Each option already carries live next departures and a timetable estimate; pass `depart_at` or `arrive_by` for another time\n- User asks \"where is route X right now\", how many vehicles run on it, or how often it runs → `get_route_realtime` (`headways` per direction)\n- User asks which stops a route serves, where it goes, or its timetable → `get_route_static` (`include_shapes: true` only for drawing a map)\n- User asks \"what vehicles are near me\" → `get_nearby_vehicles` (filter with `route` when relevant)\n- User needs step-free access (wheelchair, pram) → pass `lowfloor_only: true` to `get_stop_realtime` or `get_nearby_vehicles`\n- User wants to follow one vehicle by ID → `get_vehicle_info`\n- User asks about closures, road works, detours or why a route is not running → `get_disruptions` (optionally filtered by `route` or `stop_id`)\n\n## Input conventions\n\n- Stop IDs are **numeric codes** printed on physical stop signage (e.g. 707). Accept both integer and digits-only string.\n- Route names are **short names** as shown on vehicles and stops (e.g. \"Т30\", \"А1\"); Latin letters (\"T30\", \"A01\") work too. Numeric external IDs are also accepted, so a bare number is not a route name.\n- Never guess a stop ID from a place name — resolve it with `search_stops` or `get_stops_around_location` first. `find_routes_between` also takes coordinates directly.\n- Times (`depart_at`, `arrive_by`, `schedule`) are Lviv local time, \"HH:MM\".\n- One stop name usually covers both sides of the street under different IDs; each direction stops on one of them. The `routes` list on each stop tells them apart.\n\n## UI contract\n\nEvery tool response is a JSON object with three top-level keys:\n- `view` — always `\"transit_realtime\"`\n- `data` — the structured payload; answer from this\n- `ui_blocks` — ordered rendering hints for map-capable clients; process in array order. Blocks point into `data` rather than repeating it.\n\nBlock types:\n- `map` — render a map centred on `center [lat, lng]` at `zoom`. `layers` maps `stops`, `vehicles` and `polylines` to a dot path in the result (e.g. `\"data.arrivals\"`); plot what each path holds. Every stop and vehicle there has `lat`/`lng`; vehicles also have `bearing`.\n- `arrival_list` — render the arrivals at `source`, already sorted by `arrival_minutes`. Show `route`, `direction` (destination), `vehicle_type`, and ETA; a `null` `arrival_minutes` means no ETA.\n\n## Data caveats\n\n- Live positions and ETAs come from upstream GTFS-RT feeds; occasional gaps or stale positions are expected. An arrival with `scheduled: true` is a timetable entry, not a tracked vehicle.\n- `find_routes_between` `schedule` times are estimates from per-stop timetables: ride times are inferred, not read off one trip, and public holidays run as their weekday.\n- `get_route_static` departure times (`departures` and `schedule.workday`/`saturday`/`sunday`) are only populated for the first stop of each direction. Saturday and Sunday timetables can differ; `schedule.weekend` merges both days and is kept only for backward compatibility.\n- `direction` is the index into `get_route_static`'s `stops` array (0 = outbound, 1 = return); `destination` is the name of that direction's last stop.\n- Detours, suspended routes and moved stops are not in the GTFS feed. `get_stop_realtime`, `get_route_static`, `get_route_realtime` and `find_routes_between` add a `disruptions` array when an announced one touches their routes or stops; always tell the us"
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}