Azuga MCP by usefulapi

v1.6.1
io.usefulapi/azuga Checked 1 day ago Published 6 hours ago

Read driver scores, trips, driving events, vehicle locations and fault codes in Azuga.

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

azuga_get_profile Get profile

Get the signed-in Azuga user's profile: user name, device, vehicle, fleet score, reward counts and privileges. Also the cheapest authenticated call. Azuga: GET /profile/info.json.

ParameterTypeDescription
averageDaysintegerDays to average the score over (for example 30).
lastSyncTimestringReturn changes since this epoch-millisecond time.

azuga_list_driver_scores List driver scores

List driver scores with rank, fleet score, and the speeding, braking, hard-acceleration and idling sub-scores. Per driver, not per group. Azuga: GET /score/list.json.

ParameterTypeDescription
averageDaysintegerDays to average over (for example 30).
comparingPoolintegerComparison pool id (0 = default).
limitintegerMaximum drivers to return.
startIndexintegerIndex of the first driver to return.

azuga_list_trips List trips

List trips that started and ended between two times, with distance, duration and trip ids. Azuga: GET /trip/info.json.

ParameterTypeDescription
fromDate *stringTrips starting at or after this epoch-millisecond time.
toDate *stringTrips ending at or before this epoch-millisecond time.

azuga_get_trip_events Get trip events

Get the driving events of one trip: hard braking, extreme braking, sudden acceleration, over-speeding and idling, with time, speed, location and fuel. Good first workflow for harsh-driving reviews. Azuga: GET /trip/eventdetail.json (reports host).

ParameterTypeDescription
tripId *stringTrip id, from azuga_list_trips.

azuga_list_events List vehicle events

List fleet events for vehicles or groups between two times, for example speeding, idling or device events, with sorting and paging. Azuga: POST /events.json (read only).

ParameterTypeDescription
fromDate *stringEvents triggered at or after this time.
toDate *stringEvents triggered at or before this time.
eventTypestringComma-separated event types, for example Speeding,Idling.
groupIdsarrayGroup ids. Give one of vehicleNames, vehicleIds, groupNames, groupIds.
groupNamesarrayGroup names. Give one of vehicleNames, vehicleIds, groupNames, groupIds.
limitintegerMaximum results per page.
searchCriteriastringSearch one column for a value; ALL searches every column.
sortCriteriastringSort order: ascending or descending (default ascending by event time).
startIndexintegerIndex of the first result to return.
vehicleIdsarrayVehicle ids. Give one of vehicleNames, vehicleIds, groupNames, groupIds.
vehicleNamesarrayVehicle names. Give one of vehicleNames, vehicleIds, groupNames, groupIds.

azuga_list_live_locations List live vehicle status

List the live status and last known location of vehicles, optionally filtered by vehicle or group. Azuga: GET /live/location.json.

ParameterTypeDescription
groupNamestringGroup name.
pageintegerPage number, starting at 1.
vehicleNamestringVehicle name.

azuga_get_vehicle_location Get last vehicle location

Get the last known location of one tracked user (username of the device holder). Azuga: GET /trackee/location/last.json?username=.

ParameterTypeDescription
username *stringUsername of the tracked user.

azuga_list_vehicles List vehicles

List vehicles with their names, ids, groups and device details. Filter by name, group or id. Azuga: GET /vehicle/view.json.

ParameterTypeDescription
groupNamestringGroup name.
includeChildGroupsstringtrue or false: include vehicles of child groups.
lastSyncTimeintegerReturn changes since this epoch-millisecond time.
pageintegerPage number, starting at 1.
vehicleIdsstringComma-separated vehicle ids.
vehicleNamestringVehicle name.

azuga_list_drivers List drivers

List users of the account of one type (default driver), with names, usernames and ids. Azuga: GET /users/view.json?type=.

ParameterTypeDescription
typestringUser type, for example driver.

azuga_list_groups List groups

List vehicle and driver groups, with ids and names. Azuga: GET /groups/view.json.

ParameterTypeDescription
groupIdstringGroup id.
groupNamestringGroup name.

azuga_list_geofences List geofences

List geofences (virtual areas), with names and shapes. Filter by name or group. Azuga: GET /geofence/view.json.

ParameterTypeDescription
groupNamestringGroup name.
namestringGeofence name.
pageintegerPage number, starting at 1.

azuga_list_landmarks List landmarks

List landmarks (points of interest), with names, types and addresses. Filter by name, group or type. Azuga: GET /landmark/view.json.

ParameterTypeDescription
groupNamestringGroup name.
namestringLandmark name.
pageintegerPage number, starting at 1.
typestringLandmark type.

azuga_get_breadcrumbs Get vehicle breadcrumb trail

Get the GPS trail of one vehicle between two times, one point per recording, paged. Azuga: GET /breadcrumb/location.json.

ParameterTypeDescription
from *stringTrail start time.
to *stringTrail end time.
vehicleName *stringVehicle name.
localTimebooleanReturn times in the account's local time zone.
pageintegerPage number, starting at 1.
vinstringVehicle VIN (optional filter).

azuga_list_pairing_history List device pairing history

List which driver was paired with which vehicle or device, between two times. Azuga: GET /users/pairinghistory.json.

ParameterTypeDescription
endTime *stringEnd of the period, epoch milliseconds.
startTime *stringStart of the period, epoch milliseconds.
noAssociationsintegerSet to 1 to include pairings without an association.

azuga_list_rewards List reward history

List driver rewards between two times, with status (pending, processed or all). Azuga: GET /rewards/history.json.

ParameterTypeDescription
fromDate *stringStart of the period, epoch milliseconds.
toDate *stringEnd of the period, epoch milliseconds.
statusstringReward status: all, pending or processed.

azuga_get_vehicle_diagnostics Get vehicle diagnostic trouble codes

Get OBD diagnostic trouble codes (DTCs) reported by vehicles in a period, with code, definition, vehicle, location and time. Several vehicles per call. Azuga: POST /diagnostics.json (read only).

ParameterTypeDescription
fromDate *stringStart, yyyy-mm-dd HH:mm:ss.
toDate *stringEnd, yyyy-mm-dd HH:mm:ss.
vehicleIds *arrayVehicle ids, from azuga_list_vehicles.