Reftab MCP by usefulapi
v1.2.1Read 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.
| Parameter | Type | Description |
|---|---|---|
cid | string | Category ID, or comma-separated category IDs. |
clid | string | Location ID, or comma-separated location IDs. |
limit | integer | Rows to return (Reftab default 50). |
loan | string | Loan filter (as Reftab names it). |
loanDetails | string | Set to include loan details in each asset (Reftab flag). |
loanee | string | Loanee filter (as Reftab names it). |
loaneeDetails | string | Set to include loanee details in each asset (Reftab flag). |
offset | integer | Rows to skip, for paging (default 0). |
query | string | Free-text search in the asset fields. |
statid | string | Status ID filter. |
status | string | Asset 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}.
| Parameter | Type | Description |
|---|---|---|
aid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
aid * | string | The 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}.
| Parameter | Type | Description |
|---|---|---|
clid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
dir | string | Sort direction: asc or desc. |
limit | integer | Rows to return (Reftab default 50). |
offset | integer | Rows to skip, for paging (default 0). |
search | string | Free-text search in license fields. |
sort | string | Field to sort by (as Reftab names it). |
status | string | License 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}.
| Parameter | Type | Description |
|---|---|---|
id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
accid | string | Accessory ID filter. |
activitySince | string | Only loans with activity on or after this date. |
activityUntil | string | Only loans with activity on or before this date. |
aid | string | Asset ID filter. |
cid | string | Category ID, or comma-separated IDs. |
clid | string | Location ID, or comma-separated IDs. |
kid | string | Kit ID filter. |
lgid | string | Loan group ID filter. |
licid | string | License ID filter. |
lid | string | Loan ID filter. |
limit | integer | Rows to return (Reftab default 50). |
lnid | string | Loanee ID filter. |
loan_uid | string | Loan UID filter. |
loanee | string | Loanee name or ID filter (as Reftab names it). |
offset | integer | Rows to skip, for paging (default 0). |
status | string | Loan status filter (as Reftab names it). |
type | string | Loan 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Rows to return (Reftab default 50). |
offset | integer | Rows to skip, for paging (default 0). |
q | string | Search 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}.
| Parameter | Type | Description |
|---|---|---|
lnid * | string | The loanee ID. |
reftab_list_reservations List reservations
List reservations of assets, licenses, accessories and kits, with optional filters. Reftab API: GET /api/reservations.
| Parameter | Type | Description |
|---|---|---|
accid | string | Accessory ID filter. |
aid | string | Asset ID filter. |
cid | string | Category ID, or comma-separated IDs. |
clid | string | Location ID, or comma-separated IDs. |
kid | string | Kit ID filter. |
lgid | string | Loan group ID filter. |
licid | string | License ID filter. |
lid | string | Loan ID filter. |
limit | integer | Rows to return (Reftab default 50). |
lnid | string | Loanee ID filter. |
loan_uid | string | Loan UID filter. |
offset | integer | Rows to skip, for paging (default 0). |
status | string | Reservation 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.
| Parameter | Type | Description |
|---|---|---|
expanded | string | Set to include the expanded accessory details (Reftab flag). |
limit | integer | Rows to return (Reftab default 50). |
offset | integer | Rows 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.
| Parameter | Type | Description |
|---|---|---|
aid | string | Asset ID filter. |
amid | string | Maintenance record ID filter. |
clid | string | Location ID filter. |
completed | string | Completion filter (Reftab flag). |
limit | integer | Rows to return (Reftab default 50). |
mnid | string | Maintenance type ID filter. |
offset | integer | Rows to skip, for paging (default 0). |
statid | string | Status ID filter. |
status | string | Maintenance status filter (as Reftab names it). |
uid | string | User ID filter. |
reftab_get_asset_maintenance Get a maintenance record
Get one asset maintenance record by its ID. Reftab API: GET /api/assetmaintenance/{amid}.
| Parameter | Type | Description |
|---|---|---|
amid * | string | The 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.