Reftab MCP by usefulapi

v1.2.1
io.usefulapi/reftab Checked 2 days ago Published 12 hours ago

Read assets, licenses, loans, locations and maintenance records in Reftab.

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

reftab_list_assets List assets

List assets with optional filters, e.g. location, category, status or who has them on loan. Returns the first 50 by default. Reftab API: GET /api/assets.

ParameterTypeDescription
cidstringCategory ID, or comma-separated category IDs.
clidstringLocation ID, or comma-separated location IDs.
limitintegerRows to return (Reftab default 50).
loanstringLoan filter (as Reftab names it).
loanDetailsstringSet to include loan details in each asset (Reftab flag).
loaneestringLoanee filter (as Reftab names it).
loaneeDetailsstringSet to include loanee details in each asset (Reftab flag).
offsetintegerRows to skip, for paging (default 0).
querystringFree-text search in the asset fields.
statidstringStatus ID filter.
statusstringAsset status filter (as Reftab names it).

reftab_get_asset Get an asset

Get one asset by its asset ID (the barcode/tag, e.g. MAC000001). Reftab API: GET /api/assets/{aid}.

ParameterTypeDescription
aid *stringThe asset ID, as used in Reftab (barcode).

reftab_get_asset_loan_history Get an asset's loan history

List the loans and checkout/return history of one asset that the key may read. Useful for audits and chain of custody. Reftab API: GET /api/assets/{aid}/loans/history.

ParameterTypeDescription
aid *stringThe asset ID.

reftab_list_locations List locations

List all locations (sites, rooms, offices) with their IDs, names and asset counts. Reftab API: GET /api/locations.

reftab_get_location Get a location

Get one location by its location ID (clid), including its asset and license counts. Reftab API: GET /api/locations/{clid}.

ParameterTypeDescription
clid *stringThe location ID (clid).

reftab_list_categories List categories

List asset categories with their IDs and names. Reftab API: GET /api/categories.

reftab_list_licenses List licenses

List software licenses, with optional search, sort and status filters, e.g. to find renewals and costs. Reftab API: GET /api/licenses.

ParameterTypeDescription
dirstringSort direction: asc or desc.
limitintegerRows to return (Reftab default 50).
offsetintegerRows to skip, for paging (default 0).
searchstringFree-text search in license fields.
sortstringField to sort by (as Reftab names it).
statusstringLicense status filter (as Reftab names it).

reftab_get_license Get a license

Get one license by its numeric ID, including cost, vendor, seats and notification settings. Reftab API: GET /api/licenses/{id}.

ParameterTypeDescription
id *stringThe license ID.

reftab_list_loans List loans

List current and past loans (checkouts) of assets, licenses, accessories and kits, with optional filters such as status, loanee or activity dates. Reftab API: GET /api/loans.

ParameterTypeDescription
accidstringAccessory ID filter.
activitySincestringOnly loans with activity on or after this date.
activityUntilstringOnly loans with activity on or before this date.
aidstringAsset ID filter.
cidstringCategory ID, or comma-separated IDs.
clidstringLocation ID, or comma-separated IDs.
kidstringKit ID filter.
lgidstringLoan group ID filter.
licidstringLicense ID filter.
lidstringLoan ID filter.
limitintegerRows to return (Reftab default 50).
lnidstringLoanee ID filter.
loan_uidstringLoan UID filter.
loaneestringLoanee name or ID filter (as Reftab names it).
offsetintegerRows to skip, for paging (default 0).
statusstringLoan status filter (as Reftab names it).
typestringLoan type filter (as Reftab names it).

reftab_list_loanees List loanees

Search people who can hold loans (loanees and sub-users) by name or email. Reftab API: GET /api/loanees.

ParameterTypeDescription
limitintegerRows to return (Reftab default 50).
offsetintegerRows to skip, for paging (default 0).
qstringSearch text: name or email.

reftab_get_loanee Get a loanee

Get one loanee (person) by ID, with the details Reftab holds for them. Reftab API: GET /api/loanees/{lnid}.

ParameterTypeDescription
lnid *stringThe loanee ID.

reftab_list_reservations List reservations

List reservations of assets, licenses, accessories and kits, with optional filters. Reftab API: GET /api/reservations.

ParameterTypeDescription
accidstringAccessory ID filter.
aidstringAsset ID filter.
cidstringCategory ID, or comma-separated IDs.
clidstringLocation ID, or comma-separated IDs.
kidstringKit ID filter.
lgidstringLoan group ID filter.
licidstringLicense ID filter.
lidstringLoan ID filter.
limitintegerRows to return (Reftab default 50).
lnidstringLoanee ID filter.
loan_uidstringLoan UID filter.
offsetintegerRows to skip, for paging (default 0).
statusstringReservation status filter (as Reftab names it).

reftab_list_accessories List accessories

List accessories (small items such as chargers or cables) with their stock and category. Reftab API: GET /api/accessories.

ParameterTypeDescription
expandedstringSet to include the expanded accessory details (Reftab flag).
limitintegerRows to return (Reftab default 50).
offsetintegerRows to skip, for paging (default 0).

reftab_list_kits List kits

List kits (bundles of assets and accessories) that the key may read. Reftab API: GET /api/kits.

reftab_list_asset_maintenance List maintenance records

List asset maintenance records with optional filters, e.g. overdue or open work on one asset or location. Reftab API: GET /api/assetmaintenance.

ParameterTypeDescription
aidstringAsset ID filter.
amidstringMaintenance record ID filter.
clidstringLocation ID filter.
completedstringCompletion filter (Reftab flag).
limitintegerRows to return (Reftab default 50).
mnidstringMaintenance type ID filter.
offsetintegerRows to skip, for paging (default 0).
statidstringStatus ID filter.
statusstringMaintenance status filter (as Reftab names it).
uidstringUser ID filter.

reftab_get_asset_maintenance Get a maintenance record

Get one asset maintenance record by its ID. Reftab API: GET /api/assetmaintenance/{amid}.

ParameterTypeDescription
amid *stringThe maintenance record ID.

reftab_list_statuses List statuses and custom fields

List the asset statuses, categories and custom-field definitions of the account. Use it to pick valid filter values. Reftab API: GET /api/status.