{"openapi":"3.1.0","info":{"title":"LTA Data Mall (BYOK) API","version":"0.1.0","description":"LTA Data Mall (BYOK) lets an AI assistant read your own LTA Data Mall data through the LTA Data Mall API with a key you supply (LTA DataMall AccountKey). Read-only: 12 tools (bus_arrival, list_bus_services, list_bus_routes, list_bus_stops, taxi_availability, list_taxi_stands, train_service_alerts, carpark_availability, expressway_travel_times, traffic_incidents, ev_charging_points, flood_alerts)....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ltadatamall.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ltadatamall/docs"},"termsOfService":"https://connectorbay.com/byok-ltadatamall/terms"},"servers":[{"url":"https://byok-ltadatamall.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ltadatamall/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/bus_arrival":{"post":{"operationId":"bus_arrival","summary":"Get real-time arrivals at a bus stop for all services or one service: for each of the next three buses the estimated arr","description":"Get real-time arrivals at a bus stop for all services or one service: for each of the next three buses the estimated arrival time, load (seats or standing), bus type and wheelchair feature. Empty when no buses run. Use for \"When is the next bus 15 at stop 83139\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bus_stop_code":{"description":"5-digit bus stop code such as 83139 (list_bus_stops finds codes).","maxLength":200,"title":"Bus Stop Code","type":"string"},"service_no":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Bus service number such as 15 or 107M.","title":"Service No"}},"required":["bus_stop_code"],"title":"bus_arrivalArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_bus_services":{"post":{"operationId":"list_bus_services","summary":"List bus services in operation with operator, direction, category, origin and destination stop codes and dispatch freque","description":"List bus services in operation with operator, direction, category, origin and destination stop codes and dispatch frequencies by time of day. 500 records per call; use skip to page. Use for \"What is the dispatch frequency of service 107M\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service_no":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Bus service number such as 15 or 107M.","title":"Service No"},"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"list_bus_servicesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_bus_routes":{"post":{"operationId":"list_bus_routes","summary":"List the bus stops along each bus route with stop sequence, distance and first and last bus times on weekdays, Saturdays","description":"List the bus stops along each bus route with stop sequence, distance and first and last bus times on weekdays, Saturdays and Sundays. 500 records per call; use skip to page. Use for \"What are the stops and last bus times for service 15\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"list_bus_routesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_bus_stops":{"post":{"operationId":"list_bus_stops","summary":"List bus stops with 5-digit code, road name, landmark description and coordinates. 500 records per call; use skip to pag","description":"List bus stops with 5-digit code, road name, landmark description and coordinates. 500 records per call; use skip to page. Use for \"Which bus stops are on Victoria St\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"list_bus_stopsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/taxi_availability":{"post":{"operationId":"taxi_availability","summary":"List coordinates of all taxis currently available for hire in Singapore (updated every minute; hired and busy taxis are ","description":"List coordinates of all taxis currently available for hire in Singapore (updated every minute; hired and busy taxis are not included). 500 records per call. Use for \"How many taxis are available in Singapore right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"taxi_availabilityArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_taxi_stands":{"post":{"operationId":"list_taxi_stands","summary":"List taxi stands and stops with code, name, coordinates, ownership, type and barrier-free flag. Use for \"Which taxi stan","description":"List taxi stands and stops with code, name, coordinates, ownership, type and barrier-free flag. Use for \"Which taxi stands are barrier free\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"list_taxi_standsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/train_service_alerts":{"post":{"operationId":"train_service_alerts","summary":"Get current MRT and LRT service status: status 1 for normal or minor delays, 2 for disruption, with affected line, direc","description":"Get current MRT and LRT service status: status 1 for normal or minor delays, 2 for disruption, with affected line, direction, stations, free bus and shuttle information and advisory messages. Use for \"Are there any MRT disruptions right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"train_service_alertsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/carpark_availability":{"post":{"operationId":"carpark_availability","summary":"List available parking lots at HDB, LTA and URA carparks with development name, coordinates, lot type (C cars, H heavy v","description":"List available parking lots at HDB, LTA and URA carparks with development name, coordinates, lot type (C cars, H heavy vehicles, Y motorcycles) and agency. Updated every minute, 500 records per call. Use for \"How many lots are free at carparks in Orchard\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"carpark_availabilityArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/expressway_travel_times":{"post":{"operationId":"expressway_travel_times","summary":"List estimated travel times in minutes for expressway segments, by direction, updated every 5 minutes. Use for \"How long","description":"List estimated travel times in minutes for expressway segments, by direction, updated every 5 minutes. Use for \"How long does the AYE take from end to end now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"skip":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Records to skip, in steps of 500 (0, 500, 1000 ...). Each call returns at most 500 records.","title":"Skip"}},"title":"expressway_travel_timesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/traffic_incidents":{"post":{"operationId":"traffic_incidents","summary":"List incidents currently on Singapore roads (accidents, breakdowns, road blocks, diversions, heavy traffic) with type, c","description":"List incidents currently on Singapore roads (accidents, breakdowns, road blocks, diversions, heavy traffic) with type, coordinates and message. Use for \"Are there any accidents on the roads now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"traffic_incidentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/ev_charging_points":{"post":{"operationId":"ev_charging_points","summary":"List EV charging stations and their charging points for a postal code, with operator, plug type, power rating, price and","description":"List EV charging stations and their charging points for a postal code, with operator, plug type, power rating, price and live availability (1 available, 0 occupied). Use for \"Which EV chargers are available near postal code 018956\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"postal_code":{"description":"Singapore postal code, for example 018956.","maxLength":200,"title":"Postal Code","type":"string"}},"required":["postal_code"],"title":"ev_charging_pointsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/flood_alerts":{"post":{"operationId":"flood_alerts","summary":"List current flood alerts issued by PUB with headline, severity, location description, instruction and expiry time. Use ","description":"List current flood alerts issued by PUB with headline, severity, location description, instruction and expiry time. Use for \"Is there flooding anywhere in Singapore\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"flood_alertsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}