Tharstern MCP by usefulapi

v1.8.1
io.usefulapi/tharstern Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
customerCodestringCustomer account code.
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
deletedbooleantrue = include logically deleted customers.
idarrayCustomer ids.
includeCustomFieldsboolean
includeDeliveryAddressesboolean
keywordstringFree-text search.
minimalDetailsboolean
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
sortColumnstring
sortDirectionstring

tharstern_list_suppliers List suppliers

List suppliers, optionally by id, code or tax registration number. Tharstern API: GET /api/suppliers.

ParameterTypeDescription
TaxRegNostring
codearraySupplier codes.
deletedboolean
idarray

tharstern_list_estimates List estimates

Search estimates (quotes) by reference, customer, dates, status or custom status. Tharstern API: GET /api/estimates.

ParameterTypeDescription
createdDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
createdDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
customStatusarray
customerCodestring
customerIdinteger
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
estimateRefstringEstimate reference.
estimatorstring
expiredboolean
idarray
jobTypestring
keywordstring
lastModifiedDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
lastModifiedDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
orderedarrayOrdered state values, as the vendor defines them.
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
requiredDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
requiredDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
sortColumnstring
sortDirectionstring

tharstern_list_jobs List jobs

Search production jobs by number, customer, dates and progress flags (completed, delivered, invoiced). Tharstern API: GET /api/jobs.

ParameterTypeDescription
cancelledboolean
completedboolean
createdDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
createdDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
customerCodestring
customerIdinteger
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
deliveredboolean
estimateIdinteger
finishedProductionboolean
idarray
invoicedboolean
jobNoarrayJob numbers.
jobTypestring
keywordstring
lastModifiedDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
lastModifiedDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
producedboolean
projectIDinteger
requiredDateTimeFromstringISO 8601 date-time or date, as the vendor accepts it.
requiredDateTimeTostringISO 8601 date-time or date, as the vendor accepts it.
sortColumnstringSort column name, as the vendor defines it.
sortDirectionstring

tharstern_list_orders List sales orders

Search sales orders by number, customer, dates or status. Tharstern API: GET /api/orders.

ParameterTypeDescription
customerCodearrayCustomer codes.
customerIdarrayCustomer ids.
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
keywordstring
orderDateFromstringISO 8601 date-time or date, as the vendor accepts it.
orderDateTostringISO 8601 date-time or date, as the vendor accepts it.
orderIDsarraySales order ids.
orderNOsarraySales order numbers.
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
requiredDateFromstringISO 8601 date-time or date, as the vendor accepts it.
requiredDateTostringISO 8601 date-time or date, as the vendor accepts it.
sortColumnstring
sortDirectionstring
statusesarrayOrder 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.

ParameterTypeDescription
courierstring
deliveryNostring
excludePreDeliveriesboolean
idinteger
jobNosarray
lastModifiedDateFromstringISO 8601 date-time or date, as the vendor accepts it.
lastModifiedDateTostringISO 8601 date-time or date, as the vendor accepts it.
orderNosarray
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
sortColumnstring
sortDirectionstring
statusarray

tharstern_list_invoices List invoices

List sales invoices by number, job, order, customer or date range. Tharstern API: GET /api/invoices.

ParameterTypeDescription
CustomerCodestring
FromDatestringISO 8601 date-time or date, as the vendor accepts it.
JobNostring
SalesOrderNostring
ToDatestringISO 8601 date-time or date, as the vendor accepts it.
companyInvoiceNostring
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
invoiceNoarray
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
sortColumnstring
sortDirectionstring
typesarrayInvoice types, as the vendor defines them.

tharstern_list_purchase_orders List purchase orders

List purchase orders filtered by status. Tharstern API: GET /api/purchaseorders.

ParameterTypeDescription
status *arrayOne 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.

ParameterTypeDescription
brandstring
categorystring
customerCodestring
customerIdinteger
dbTimeStampstringReturn records changed after this DbTimestamp value (sync cursor).
groupstring
idarray
includeBOMDetailsboolean
includeLocationsboolean
keywordstring
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
productCodestring
stockTypestring
typesarrayProduct 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.

ParameterTypeDescription
product_id *integerThe product id (from tharstern_list_products).
quantity *integerQuantity to price.
customerIdintegerCustomer 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.

ParameterTypeDescription
codearray
grouparray
idarray
includeLocationContentsboolean
sitearray
typearray

tharstern_list_projects List projects

Search projects by number, customer, title or required date. Tharstern API: GET /api/projects.

ParameterTypeDescription
customerCodestring
customerIdinteger
idarray
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
projectDateFromstringISO 8601 date-time or date, as the vendor accepts it.
projectDateTostringISO 8601 date-time or date, as the vendor accepts it.
projectNoarray
requiredDateFromstringISO 8601 date-time or date, as the vendor accepts it.
requiredDateTostringISO 8601 date-time or date, as the vendor accepts it.
sortColumnstring
sortDirectionstring
titlestring

tharstern_list_tasks List tasks

List tasks, optionally open only, and filter by assignee, customer or project. Tharstern API: GET /api/tasks.

ParameterTypeDescription
assignedToOperatorIDinteger
assignedToUserIDinteger
customerIDinteger
excludeCompletedboolean
idinteger
keywordstring
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
projectIDinteger
sortColumnstring
sortDirectionstring
userIDinteger

tharstern_list_notes List notes

List notes, optionally for one module (for example Jobs or SalesOrders) and date range. Tharstern API: GET /api/notes.

ParameterTypeDescription
dateFromstringISO 8601 date-time or date, as the vendor accepts it.
dateTostringISO 8601 date-time or date, as the vendor accepts it.
idinteger
moduleIdintegerId of the record that the note belongs to (needs moduleType).
moduleTypestring
noteTypeCodestring
noteTypeIdinteger
operatorIdinteger
userIdinteger

tharstern_list_operators List operators

List shop-floor operators, optionally by department. Tharstern API: GET /api/operators.

ParameterTypeDescription
departmentarray
departmentTypearray
keywordstring
operatorCodestring
operatorIdinteger
paging_numberOfRecordsintegerNumber of records to return (paging_numberOfRecords).
paging_startIndexintegerZero-based index of the first record (paging_startIndex).
sortColumnstring
sortDirectionstring

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.

ParameterTypeDescription
idarray
interruptedboolean
jobIdarray
jobNoarray
operatorCodearray
operatorIdarray
resourceIdarray

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.