SchoolBusTrack MCP by usefulapi

v1.6.1
io.usefulapi/schoolbustrack Checked 2 days ago Published 13 hours ago

Read pupils, routes, bus positions, trips, boarding lists and incidents in SchoolBusTrack.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

schoolbustrack_ping Check the key

Show which school this key acts for, its name, its scopes and its rate limit. Good first call. SchoolBusTrack API: GET /v1/ping.

schoolbustrack_list_students List pupils

List pupils with their class, campus, route assignment and active flag. Guardian and emergency contact details are never returned. Needs students:read. SchoolBusTrack API: GET /v1/students.

ParameterTypeDescription
campusIdstringOnly records of this campus id.
classIdstringOnly pupils in this class id.
cursorstringThe nextCursor from the previous page.
enrollmentNumberstringOnly the pupil with this enrollment number.
includeInactivebooleanInclude inactive records (default false).
limitintegerPage size, 1–200 (default 50).
routeIdstringOnly pupils assigned to this route id.
updatedSincestringISO 8601 instant. Returns records changed at or after it, oldest change first (for syncs).

schoolbustrack_get_student Get a pupil

Get one pupil by id: class, campus, route assignment and status. Guardian and emergency contact details are never returned. Needs students:read. SchoolBusTrack API: GET /v1/students/{id}.

ParameterTypeDescription
studentId *stringThe pupil id (from schoolbustrack_list_students).

schoolbustrack_list_routes List routes

List bus routes with their type, schedule, stop count, bus and driver. Needs routes:read. SchoolBusTrack API: GET /v1/routes.

ParameterTypeDescription
campusIdstringOnly records of this campus id.
codestringOnly the route with this code.
cursorstringThe nextCursor from the previous page.
includeInactivebooleanInclude inactive records (default false).
limitintegerPage size, 1–200 (default 50).
typestringOnly routes of this type.
updatedSincestringISO 8601 instant. Returns records changed at or after it, oldest change first (for syncs).

schoolbustrack_get_route Get a route

Get one route by id, with its ordered stops. Needs routes:read. SchoolBusTrack API: GET /v1/routes/{id}.

ParameterTypeDescription
routeId *stringThe route id (from schoolbustrack_list_routes).

schoolbustrack_list_buses List buses

List buses with registration, seats, status, tracker state and last known location. Needs buses:read. SchoolBusTrack API: GET /v1/buses.

ParameterTypeDescription
campusIdstringOnly records of this campus id.
cursorstringThe nextCursor from the previous page.
includeInactivebooleanInclude inactive records (default false).
limitintegerPage size, 1–200 (default 50).
registrationNumberstringOnly the bus with this registration number.
statusstringOnly buses with this status.
updatedSincestringISO 8601 instant. Returns records changed at or after it, oldest change first (for syncs).

schoolbustrack_list_bus_locations List bus positions

Get the latest position of every bus, with speed, heading and whether the fix is stale. Needs locations:read. SchoolBusTrack API: GET /v1/buses/locations.

schoolbustrack_get_bus_location Get a bus position

Get the latest position of one bus by id. Needs locations:read. SchoolBusTrack API: GET /v1/buses/{id}/location.

ParameterTypeDescription
busId *stringThe bus id (from schoolbustrack_list_buses).

schoolbustrack_list_trips List trips

List scheduled, running and completed trips. Filter by school day or time range, status, route, bus, driver or campus. Needs trips:read. SchoolBusTrack API: GET /v1/trips.

ParameterTypeDescription
busIdstringOnly trips of this bus id.
campusIdstringOnly records of this campus id.
cursorstringThe nextCursor from the previous page.
datestringA school-local day: yyyy-mm-dd or today.
driverIdstringOnly trips of this driver id.
fromstringISO 8601 instant, UTC with Z.
limitintegerPage size, 1–200 (default 50).
routeIdstringOnly trips on this route id.
statusstringOnly trips with this status.
tostringISO 8601 instant, UTC with Z.
updatedSincestringISO 8601 instant. Returns records changed at or after it, oldest change first (for syncs).

schoolbustrack_get_trip Get a trip

Get one trip by id: status, times, distance, duration, its stops and student count. Needs trips:read. SchoolBusTrack API: GET /v1/trips/{id}.

ParameterTypeDescription
tripId *stringThe trip id (from schoolbustrack_list_trips).

schoolbustrack_get_trip_manifest Get a trip manifest

Get the boarding list of one trip: each pupil with status and last event, grouped by stop, plus unlisted pupils and counts. Needs trips:read. SchoolBusTrack API: GET /v1/trips/{id}/manifest.

ParameterTypeDescription
tripId *stringThe trip id (from schoolbustrack_list_trips).

schoolbustrack_list_incidents List incidents

List incidents and SOS alerts, newest first, with status, severity, bus, trip and driver. Needs incidents:read. SchoolBusTrack API: GET /v1/incidents.

ParameterTypeDescription
busIdstringOnly incidents on this bus id.
cursorstringThe nextCursor from the previous page.
driverIdstringOnly incidents of this driver id.
fromstringISO 8601 instant, UTC with Z.
isSosbooleantrue for SOS alerts only, false for the rest.
limitintegerPage size, 1–200 (default 50).
severitystringOnly incidents with this severity.
statusstringOnly incidents with this status.
tostringISO 8601 instant, UTC with Z.
tripIdstringOnly incidents on this trip id.
typestringOnly incidents of this type.
updatedSincestringISO 8601 instant. Returns records changed at or after it, oldest change first (for syncs).