ParkPow MCP by usefulapi

v1.6.1
io.usefulapi/parkpow Checked 2 days ago Published 1 day ago

Read vehicles, visits and occupancy; edit vehicle records and tags, and add comments in ParkPow.

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

parkpow_list_vehicles List vehicles

List vehicles in the account with make, model, colour, type, payment status and tags. Plate match is case-insensitive and exact unless you use license_plate_contains. ParkPow API: GET /api/v1/vehicles/.

ParameterTypeDescription
colorstringVehicle colour.
created_afterstringOnly vehicles created after this date-time.
license_platestringExact licence plate (case-insensitive).
license_plate_containsstringLicence plate contains this text (case-insensitive).
makestringVehicle make (exact, case-insensitive).
modelstringVehicle model (exact, case-insensitive).
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
pageintegerPage number (default 1).
page_sizeintegerResults per page.
payment_statusPayment status: 0 = unpaid, 1 = paid.
tagsstringTag names, comma-separated.
typestringVehicle type.

parkpow_list_visits List visits

List vehicle visits (camera sightings with plate, times and score), filterable by period, plate, site and vehicle details. Use start and end to keep the period small: pages past 100 fail, so use parkpow_list_visits_large for big exports. ParkPow API: GET /api/v1/visit-list/.

ParameterTypeDescription
camera_namestringCamera name.
endstringEnd of the period (ISO 8601).
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
pageintegerPage number (default 1).
page_sizeintegerResults per page.
platestringExact licence plate.
sitestringParking lot (site) id.
site_namestringParking lot name.
startstringStart of the period (ISO 8601).
vehicle_colorstringVehicle colour.
vehicle_makestringVehicle make.
vehicle_modelstringVehicle model.
vehicle_typestringVehicle type.

parkpow_list_visits_large List visits (large exports)

List vehicle visits with cursor pagination, for large exports where parkpow_list_visits stops at page 100. Pass the cursor from the previous reply. ParkPow API: GET /api/v1/visit-list-large/.

ParameterTypeDescription
camera_namestringCamera name.
cursorstringCursor from the previous reply's next link (omit for the first page).
endstringEnd of the period (ISO 8601).
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
platestringExact licence plate.
sitestringParking lot (site) id.
site_namestringParking lot name.
startstringStart of the period (ISO 8601).
vehicle_colorstringVehicle colour.
vehicle_makestringVehicle make.
vehicle_modelstringVehicle model.
vehicle_typestringVehicle type.

parkpow_get_visit Get a visit

Get one visit by id: vehicle, start and end cameras, times, duration, score and plate images. ParkPow API: GET /api/v1/visit/{id}/.

ParameterTypeDescription
visit_id *integerThe visit id (from parkpow_list_visits).

parkpow_list_sites List sites

List parking lots (sites) with their cameras, number of parking spaces, current occupancy and occupancy percentage. ParkPow API: GET /api/v1/parking-list/.

ParameterTypeDescription
namestringSite name (exact, case-insensitive).
name_containsstringSite name contains this text (case-insensitive).
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
pageintegerPage number (default 1).
page_sizeintegerResults per page.

parkpow_get_site_occupancy Get site occupancy

Get the live parking occupancy of one site: total spaces, free spaces and current occupancy. Read-only, though ParkPow takes it as a POST. ParkPow API: POST /api/v1/parking-occupancy/.

ParameterTypeDescription
site_id *integerThe site id (from parkpow_list_sites).

parkpow_list_vehicle_tags List vehicle tags

List the vehicle tags defined in the account (ids and names). ParkPow API: GET /api/v1/vehicle-tags/.

ParameterTypeDescription
namestringTag name (exact).
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
pageintegerPage number (default 1).
page_sizeintegerResults per page.

parkpow_list_vehicle_comments List vehicle comments

List comments on vehicles, optionally for one vehicle id. ParkPow API: GET /api/v1/vehicle-comments/.

ParameterTypeDescription
orderingstringField to sort by, passed as ParkPow's `ordering` parameter.
pageintegerPage number (default 1).
page_sizeintegerResults per page.
vehicle_idintegerOnly comments on this vehicle id.

parkpow_create_vehicle Create or update a vehicle

Create a vehicle, or update the existing vehicle that ParkPow matches to this plate, with the fields you send. Use it to add tenant, employee or permit data (field1 to field6 are free-text custom fields). ParkPow API: POST /api/v1/create-vehicle/.

ParameterTypeDescription
license_plate *stringLicence plate (required).
colorstringVehicle colour.
field1stringCustom text field 1.
field2stringCustom text field 2.
field3stringCustom text field 3.
field4stringCustom text field 4.
field5stringCustom text field 5.
field6stringCustom text field 6.
makestringVehicle make.
modelstringVehicle model.
payment_statusPayment status: 0 = unpaid, 1 = paid.
regionstringPlate region or country code.
typestringVehicle type.

parkpow_set_vehicle_tag Set or clear a vehicle tag

Set a tag on a vehicle (checked = true) or clear it (checked = false). Repeating the same call gives the same result. Get ids from parkpow_list_vehicles and parkpow_list_vehicle_tags. ParkPow API: POST /api/v1/edit-tags/.

ParameterTypeDescription
checked *booleantrue sets the tag on the vehicle, false clears it.
tag_id *integerThe tag id.
vehicle_id *integerThe vehicle id.

parkpow_add_vehicle_comment Add a vehicle comment

Add a comment to a vehicle. Each call adds a new comment, so repeating it adds a duplicate. ParkPow API: POST /api/v1/vehicle-comments/.

ParameterTypeDescription
message *stringThe comment text.
vehicle_id *integerThe vehicle id to comment on.