Tharstern MCP by usefulapi
v1.8.1Read jobs, estimates, orders, invoices, stock and prices in Tharstern.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tharstern_list_customers List customers
List or search customers, with optional delivery addresses and custom fields. Use dbTimeStamp to sync changes. Tharstern API: GET /api/customers.
| Parameter | Type | Description |
|---|---|---|
customerCode | string | Customer account code. |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
deleted | boolean | true = include logically deleted customers. |
id | array | Customer ids. |
includeCustomFields | boolean | |
includeDeliveryAddresses | boolean | |
keyword | string | Free-text search. |
minimalDetails | boolean | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
sortColumn | string | |
sortDirection | string |
tharstern_list_suppliers List suppliers
List suppliers, optionally by id, code or tax registration number. Tharstern API: GET /api/suppliers.
| Parameter | Type | Description |
|---|---|---|
TaxRegNo | string | |
code | array | Supplier codes. |
deleted | boolean | |
id | array |
tharstern_list_estimates List estimates
Search estimates (quotes) by reference, customer, dates, status or custom status. Tharstern API: GET /api/estimates.
| Parameter | Type | Description |
|---|---|---|
createdDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
createdDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
customStatus | array | |
customerCode | string | |
customerId | integer | |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
estimateRef | string | Estimate reference. |
estimator | string | |
expired | boolean | |
id | array | |
jobType | string | |
keyword | string | |
lastModifiedDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
lastModifiedDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
ordered | array | Ordered state values, as the vendor defines them. |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
requiredDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
requiredDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
sortColumn | string | |
sortDirection | string |
tharstern_list_jobs List jobs
Search production jobs by number, customer, dates and progress flags (completed, delivered, invoiced). Tharstern API: GET /api/jobs.
| Parameter | Type | Description |
|---|---|---|
cancelled | boolean | |
completed | boolean | |
createdDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
createdDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
customerCode | string | |
customerId | integer | |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
delivered | boolean | |
estimateId | integer | |
finishedProduction | boolean | |
id | array | |
invoiced | boolean | |
jobNo | array | Job numbers. |
jobType | string | |
keyword | string | |
lastModifiedDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
lastModifiedDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
produced | boolean | |
projectID | integer | |
requiredDateTimeFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
requiredDateTimeTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
sortColumn | string | Sort column name, as the vendor defines it. |
sortDirection | string |
tharstern_list_orders List sales orders
Search sales orders by number, customer, dates or status. Tharstern API: GET /api/orders.
| Parameter | Type | Description |
|---|---|---|
customerCode | array | Customer codes. |
customerId | array | Customer ids. |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
keyword | string | |
orderDateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
orderDateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
orderIDs | array | Sales order ids. |
orderNOs | array | Sales order numbers. |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
requiredDateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
requiredDateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
sortColumn | string | |
sortDirection | string | |
statuses | array | Order statuses, as the vendor defines them. |
tharstern_list_delivery_notes List delivery notes
Search delivery notes by number, order, job, status or last change date. Tharstern API: GET /api/deliverynotes.
| Parameter | Type | Description |
|---|---|---|
courier | string | |
deliveryNo | string | |
excludePreDeliveries | boolean | |
id | integer | |
jobNos | array | |
lastModifiedDateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
lastModifiedDateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
orderNos | array | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
sortColumn | string | |
sortDirection | string | |
status | array |
tharstern_list_invoices List invoices
List sales invoices by number, job, order, customer or date range. Tharstern API: GET /api/invoices.
| Parameter | Type | Description |
|---|---|---|
CustomerCode | string | |
FromDate | string | ISO 8601 date-time or date, as the vendor accepts it. |
JobNo | string | |
SalesOrderNo | string | |
ToDate | string | ISO 8601 date-time or date, as the vendor accepts it. |
companyInvoiceNo | string | |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
invoiceNo | array | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
sortColumn | string | |
sortDirection | string | |
types | array | Invoice types, as the vendor defines them. |
tharstern_list_purchase_orders List purchase orders
List purchase orders filtered by status. Tharstern API: GET /api/purchaseorders.
| Parameter | Type | Description |
|---|---|---|
status * | array | One or more purchase order statuses, as the vendor defines them. |
tharstern_list_products List products and stock
Search the product inventory, including stock balances and optionally locations. Tharstern API: GET /api/products.
| Parameter | Type | Description |
|---|---|---|
brand | string | |
category | string | |
customerCode | string | |
customerId | integer | |
dbTimeStamp | string | Return records changed after this DbTimestamp value (sync cursor). |
group | string | |
id | array | |
includeBOMDetails | boolean | |
includeLocations | boolean | |
keyword | string | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
productCode | string | |
stockType | string | |
types | array | Product types, as the vendor defines them. |
tharstern_get_product_price Get product price
Get the price of one product for a quantity, optionally for one customer. Tharstern API: GET /api/products/{id}/pricing.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | The product id (from tharstern_list_products). |
quantity * | integer | Quantity to price. |
customerId | integer | Customer id, for customer-specific prices. |
tharstern_list_stock_locations List stock locations
List stock locations, optionally with their contents. Tharstern API: GET /api/data/stock/locations.
| Parameter | Type | Description |
|---|---|---|
code | array | |
group | array | |
id | array | |
includeLocationContents | boolean | |
site | array | |
type | array |
tharstern_list_projects List projects
Search projects by number, customer, title or required date. Tharstern API: GET /api/projects.
| Parameter | Type | Description |
|---|---|---|
customerCode | string | |
customerId | integer | |
id | array | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
projectDateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
projectDateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
projectNo | array | |
requiredDateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
requiredDateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
sortColumn | string | |
sortDirection | string | |
title | string |
tharstern_list_tasks List tasks
List tasks, optionally open only, and filter by assignee, customer or project. Tharstern API: GET /api/tasks.
| Parameter | Type | Description |
|---|---|---|
assignedToOperatorID | integer | |
assignedToUserID | integer | |
customerID | integer | |
excludeCompleted | boolean | |
id | integer | |
keyword | string | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
projectID | integer | |
sortColumn | string | |
sortDirection | string | |
userID | integer |
tharstern_list_notes List notes
List notes, optionally for one module (for example Jobs or SalesOrders) and date range. Tharstern API: GET /api/notes.
| Parameter | Type | Description |
|---|---|---|
dateFrom | string | ISO 8601 date-time or date, as the vendor accepts it. |
dateTo | string | ISO 8601 date-time or date, as the vendor accepts it. |
id | integer | |
moduleId | integer | Id of the record that the note belongs to (needs moduleType). |
moduleType | string | |
noteTypeCode | string | |
noteTypeId | integer | |
operatorId | integer | |
userId | integer |
tharstern_list_operators List operators
List shop-floor operators, optionally by department. Tharstern API: GET /api/operators.
| Parameter | Type | Description |
|---|---|---|
department | array | |
departmentType | array | |
keyword | string | |
operatorCode | string | |
operatorId | integer | |
paging_numberOfRecords | integer | Number of records to return (paging_numberOfRecords). |
paging_startIndex | integer | Zero-based index of the first record (paging_startIndex). |
sortColumn | string | |
sortDirection | string |
tharstern_list_working_operations List working operations
List operations that operators are working on now or worked on, by job, resource or operator. Tharstern API: GET /api/workingoperations.
| Parameter | Type | Description |
|---|---|---|
id | array | |
interrupted | boolean | |
jobId | array | |
jobNo | array | |
operatorCode | array | |
operatorId | array | |
resourceId | array |
tharstern_list_milestones List milestone definitions
List all job milestone definitions, to read milestone names and values. Tharstern API: GET /api/milestones.
tharstern_list_currencies List currencies
List the currencies defined on the Tharstern system. Tharstern API: GET /api/data/currencies.
tharstern_get_licence Get licence details
Get the Tharstern licence: version, company name, number of users and operators, expiry and enabled modules. Tharstern API: GET /api/options/licencedetails.