UpKeep MCP by usefulapi

v1.22.1
io.usefulapi/upkeep Checked 1 day ago Published 10 hours ago

Read UpKeep work orders, assets, parts and meters; create requests and work orders.

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

upkeep_get_account Check API token

Confirm the UpKeep API token is active: returns the company id, the token's name, when it was created and when it was last used. GET /api/v1/organization-api-tokens/introspect.

upkeep_list_work_orders List work orders

List work orders (reactive and preventive), newest first, with status, priority, due date, asset, location, assignee, parts, time and cost. Filter by status, completion, priority, category, asset, location, assignee, title or date ranges. GET /work-orders.

ParameterTypeDescription
archivedbooleantrue = only archived work orders.
assetstringOnly records for this asset id.
assigned_by_userstringOnly records for this assigning user id.
assigned_to_userstringOnly records for this assigned user id.
categorystringOnly this work order category (e.g. Electrical).
completed_afterstringCompleted at or after this time. ISO 8601.
completed_beforestringCompleted at or before this time. ISO 8601.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
due_afterstringDue at or after this time. ISO 8601.
due_beforestringDue at or before this time. ISO 8601.
includesarrayExpand referenced records inline instead of returning ids. Allowed: asset, location, assignedToUser, assignedByUser, requestedByUser, completedByUser, team.
is_completebooleantrue = only completed work orders, false = only not yet completed.
limitintegerRecords per page, 1-100 (default 25).
locationstringOnly records for this location id.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt, dueDate, endDueDate, dateCompleted (default "createdAt DESC").
priorityintegerPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
public_requester_emailstringOnly work orders created by this email through the request portal.
statusstringOnly work orders in this status.
titlestringOnly work orders with exactly this title.
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_work_order Get work order

One work order by id with its checklist items, custom fields, time log, parts and files. GET /work-orders/{id}.

ParameterTypeDescription
work_order_id *stringUpKeep work order id (a short string such as "HW2I379ErS").
includesarrayExpand referenced records inline instead of returning ids. Allowed: asset, location, assignedToUser, assignedByUser, requestedByUser, completedByUser, team.

upkeep_list_assets List assets

List assets (equipment) with name, model, serial and barcode, location, status, downtime status, warranty and number of open work orders. Filter by name, serial number, barcode, location, status, category or assignee. GET /assets.

ParameterTypeDescription
assigned_to_userstringOnly records for this assigned user id.
barcodestringOnly the asset with this barcode number.
categorystringOnly assets in this category.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
downtime_statusstringOnly assets with this downtime status id.
includesarrayExpand referenced records inline instead of returning ids. Allowed: location, parentAsset, createdByUser, assignedToUser.
limitintegerRecords per page, 1-100 (default 25).
locationstringOnly records for this location id.
namestringOnly assets with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
serial_numberstringOnly the asset with this serial number.
statusstringOnly assets with this status (active or inactive).
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_asset Get asset

One asset by id with purchase and warranty details, custom fields and (optionally) assigned users, teams, vendors, parts, files and sub-assets. GET /assets/{id}.

ParameterTypeDescription
asset_id *stringUpKeep asset id (a short string such as "HW2I379ErS").
includesarrayExpand referenced records inline instead of returning ids. Allowed: assignedUsers, assignedTeams, assignedCustomers, assignedVendors, formItems, files, parts, subAssets, location, parentAsset, created…

upkeep_list_locations List locations

List locations (sites, buildings, rooms) with address, barcode, parent location and hierarchy level. GET /locations.

ParameterTypeDescription
barcodestringOnly the location with this barcode.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
hierarchy_levelintegerOnly this hierarchy level (0 = top level, up to 5).
includesarrayExpand referenced records inline instead of returning ids. Allowed: createdByUser, parentLocation, hierarchyLevel, ancestors, numTotalChildren, numTotalDescendants.
limitintegerRecords per page, 1-100 (default 25).
namestringOnly locations with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
parent_locationstringOnly records for this parent location id.
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_location Get location

One location by id. GET /locations/{id}.

ParameterTypeDescription
location_id *stringUpKeep location id (a short string such as "HW2I379ErS").

upkeep_list_parts List parts (inventory)

List spare parts with quantity on hand, minimum quantity, cost, category, location and part number. Compare quantity with minimumQuantity to find parts to reorder. GET /parts.

ParameterTypeDescription
categorystringOnly parts in this category.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
includesarrayExpand referenced records inline instead of returning ids. Allowed: location, createdByUser.
limitintegerRecords per page, 1-100 (default 25).
locationstringOnly records for this location id.
namestringOnly parts with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
part_numberstringOnly parts with this part number.
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_part Get part

One part by id with quantity, cost, location and custom fields. GET /parts/{id}.

ParameterTypeDescription
part_id *stringUpKeep part id (a short string such as "HW2I379ErS").

upkeep_list_meters List meters

List meters (usage counters such as hours, mileage, temperature) with units, reading frequency and the asset or location they belong to. GET /meters.

ParameterTypeDescription
assetstringOnly records for this asset id.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
includesarrayExpand referenced records inline instead of returning ids. Allowed: asset, location, createdByUser.
limitintegerRecords per page, 1-100 (default 25).
locationstringOnly records for this location id.
namestringOnly meters with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_meter Get meter

One meter by id. GET /meters/{id}.

ParameterTypeDescription
meter_id *stringUpKeep meter id (a short string such as "HW2I379ErS").

upkeep_list_meter_readings List meter readings

Readings recorded for one meter (value, date, who recorded it), newest first. GET /meters/{id}/readings.

ParameterTypeDescription
meter_id *stringUpKeep meter id (a short string such as "HW2I379ErS").
limitintegerRecords per page, 1-100 (default 25).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
read_afterstringReading date at or after this time. ISO 8601.
read_beforestringReading date at or before this time. ISO 8601.

upkeep_add_meter_reading Add meter reading

WRITE: record a new reading on a meter (for example engine hours or mileage). A reading cannot be removed with this server, and a meter notification can create a work order automatically when its condition is met. POST /meters/{id}/readings.

ParameterTypeDescription
meter_id *stringUpKeep meter id (a short string such as "HW2I379ErS").
value *numberThe reading value.
datestringWhen the reading was taken (ISO 8601). Defaults to now.

upkeep_list_requests List work requests

List work requests submitted by staff or through the request portal (before they become work orders), with status open/approved/rejected. GET /requests.

ParameterTypeDescription
assetstringOnly records for this asset id.
assigned_to_userstringOnly records for this assigned user id.
categorystringOnly this request category.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
includesarrayExpand referenced records inline instead of returning ids. Allowed: asset, location, team, assignedToUser, assignedByUser, cancelledByUser.
limitintegerRecords per page, 1-100 (default 25).
locationstringOnly records for this location id.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt, dueDate, endDueDate (default "createdAt DESC").
public_requester_emailstringOnly requests sent by this email through the request portal.
request_statusstringOnly requests in this state.
requested_by_userstringOnly records for this requesting user id.
teamstringOnly records for this team id.
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_request Get work request

One work request by id with its form fields and, once approved, the linked work order id. GET /requests/{id}.

ParameterTypeDescription
request_id *stringUpKeep request id (a short string such as "HW2I379ErS").

upkeep_create_request Create work request

WRITE: submit a new work request for the maintenance team to approve (it appears in UpKeep's Requests list and may notify the approvers or the assignee). It is not a work order until approved. If the account has a request form configured, pass its field labels in `fields`. POST /requests.

ParameterTypeDescription
title *stringShort title, e.g. Repair sink.
assetstringAsset id.
assigned_to_userstringUser id to assign.
categorystringMust be one of the account's configured categories.
descriptionstring
due_datestringDue date, ISO 8601.
fieldsarrayRequest form values: each name must match a field label on the account's request form.
locationstringLocation id.
priorityintegerPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
teamstringTeam id.

upkeep_approve_request Approve work request

WRITE: approve a pending work request, which converts it into a work order (it may notify the assignee). Needs a token whose role may approve requests. Approving a request that is already approved or declined fails with HTTP 409. POST /requests/{id}/approve.

ParameterTypeDescription
request_id *stringUpKeep request id (a short string such as "HW2I379ErS").

upkeep_create_work_order Create work order

WRITE: create a new work order (it may notify the assignee and appears in UpKeep's work order board). Ids for asset, location and assignee come from the list tools. POST /work-orders.

ParameterTypeDescription
title *stringShort title, e.g. Repair sink.
assetstringAsset id.
assigned_to_userstringUser id to assign.
categorystringMust be one of the account's configured work order categories.
descriptionstring
due_datestringDue date, ISO 8601.
estimated_duration_hoursnumber
locationstringLocation id.
priorityintegerPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
start_datestringStart date, ISO 8601.

upkeep_update_work_order Update work order

WRITE: change fields of an existing work order: status (open, onHold, inProgress, complete), title, description, priority, due date or assignee. Only the fields you pass change; completing a work order may trigger the account's integrations (for example Zapier). Archiving and deleting are not offered. PATCH /work-orders/{id}.

ParameterTypeDescription
work_order_id *stringUpKeep work order id (a short string such as "HW2I379ErS").
assigned_to_userstringUser id to assign.
descriptionstring
due_datestringDue date, ISO 8601.
priorityintegerPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
statusstring
titlestring

upkeep_add_work_order_message Add work order message

WRITE: post a message (comment) on a work order's activity thread; people following the work order may be notified. POST /work-orders/{id}/update-messages.

ParameterTypeDescription
text *stringThe message text.
work_order_id *stringUpKeep work order id (a short string such as "HW2I379ErS").

upkeep_update_part_quantity Update part quantity

WRITE: set the quantity on hand (and optionally the minimum quantity that triggers a low-stock notification) of a part. This overwrites the stored number: read the part first and pass the new total, not the difference. PATCH /parts/{id}.

ParameterTypeDescription
part_id *stringUpKeep part id (a short string such as "HW2I379ErS").
quantity *numberThe new quantity on hand (a total).
minimum_quantitynumberNew low-stock threshold.

upkeep_list_users List users

List UpKeep users (technicians, admins, requesters) with account type, job title, status and last login. Use the ids to assign work orders. GET /users.

ParameterTypeDescription
account_typestringOnly users with this account type.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
emailstringOnly the user with this email.
limitintegerRecords per page, 1-100 (default 25).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC").
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.

upkeep_get_user Get user

One user by id. GET /users/{id}.

ParameterTypeDescription
user_id *stringUpKeep user id (a short string such as "HW2I379ErS").

upkeep_list_teams List teams

List teams with name and description. Use the ids to assign work. GET /teams.

ParameterTypeDescription
limitintegerRecords per page, 1-100 (default 25).
namestringOnly teams with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.

upkeep_list_vendors List vendors

List vendors (suppliers and contractors) with contact details. GET /vendors.

ParameterTypeDescription
business_namestringOnly vendors with exactly this business name.
limitintegerRecords per page, 1-100 (default 25).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.

upkeep_list_customers List customers

List customers (the parties whose assets or locations you maintain) with contact details. GET /customers.

ParameterTypeDescription
limitintegerRecords per page, 1-100 (default 25).
namestringOnly customers with exactly this name.
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.

upkeep_list_purchase_orders List purchase orders

List purchase orders with status (awaiting, approved, declined, fulfilled), vendor, dates, total cost and quantities. GET /purchase-orders.

ParameterTypeDescription
categorystringOnly this purchase order category.
created_afterstringCreated at or after this time. ISO 8601.
created_beforestringCreated at or before this time. ISO 8601.
due_afterstringDue at or after this time. ISO 8601.
due_beforestringDue at or before this time. ISO 8601.
includesarrayExpand referenced records inline instead of returning ids. Allowed: vendor, createdByUser, approvedByUser, fulfilledByUser, declinedByUser.
limitintegerRecords per page, 1-100 (default 25).
offsetintegerRecords to skip (default 0). Pass the previous reply's next_offset.
order_bystringSort: "<field> ASC|DESC" with field one of createdAt, updatedAt, dueDate, poDate, fulfilledAt, approvedAt, declinedAt (default "createdAt DESC").
statusstringOnly purchase orders in this status.
titlestringOnly purchase orders with exactly this title.
updated_afterstringUpdated at or after this time. ISO 8601.
updated_beforestringUpdated at or before this time. ISO 8601.
vendorstringOnly records for this vendor id.

upkeep_get_purchase_order Get purchase order

One purchase order by id with its parts, quantities, costs and shipping details. GET /purchase-orders/{id}.

ParameterTypeDescription
purchase_order_id *stringUpKeep purchase order id (a short string such as "HW2I379ErS").

upkeep_list_preventive_maintenance List preventive maintenance plans

List preventive maintenance (PM) templates, the recurring work that generates scheduled work orders, with their schedules. Filter by text, asset, location, assignee, team or priority. Pages are 1-based. GET /pm.

ParameterTypeDescription
assetstringOnly records for this asset id.
assigneestringOnly records for this assigned user id.
include_schedulesbooleanAlso return each PM's schedules.
locationstringOnly records for this location id.
pageintegerPage number from 1 (default 1).
page_sizeintegerPMs per page, 1-100 (default 25).
priorityintegerPriority: 0 none/lowest, 1 low, 2 medium, 3 high.
searchstringText to find in the PM's name or description.
teamstringOnly records for this team id.