Machship MCP

v1.4.0
io.github.devkindhq/machship-mcp Checked 2 days ago Published 1 month ago

Model Context Protocol server for the Machship freight management platform

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

machship_ping Ping / Check Auth Status

Determines the current user's login status and retrieves session properties from Machship. Use this to verify authentication is working and to get the current user/company context. Returns: session info including user details, company ID, and permissions.

machship_get_attachment Get Attachment

Downloads the raw attachment file from Machship by attachment ID. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - id (number): Attachment ID

ParameterTypeDescription
id *integerAttachment ID

machship_get_attachment_pod_report Get Attachment POD Report

Downloads a Proof of Delivery (POD) report that includes attachment and consignment details. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - id (number): Attachment ID

ParameterTypeDescription
id *integerAttachment ID

machship_get_attachments_by_consignment_ids Get Attachments by Consignment IDs

Downloads attachments for up to 40 consignments in bulk (returned as zip). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - ids (number[]): Array of consignment IDs (max 40)

ParameterTypeDescription
ids *arrayConsignment IDs (max 40)

machship_upload_attachments Upload Attachments

Uploads one or more attachments to Machship. Args: - attachments (array): Array of attachment objects. Each object should contain: - consignmentId (number): Consignment to attach to - fileName (string): File name with extension - fileBase64 (string): Base64-encoded file content - attachmentTypeId (number, optional): Type of attachment

ParameterTypeDescription
attachments *arrayAttachments to upload

machship_get_carrier_invoices Get Carrier Invoices

Returns basic carrier invoice information (max 100 records per call). Args: - companyId (number, optional): Filter by company ID - carrierId (number, optional): Filter by carrier ID - fileName (string, optional): Filter by invoice file name - invoiceId (number, optional): Filter by specific invoice ID

ParameterTypeDescription
carrierIdintegerFilter by carrier ID
companyIdintegerFilter by company ID
fileNamestringFilter by invoice file name
invoiceIdintegerFilter by invoice ID

machship_get_carrier_invoice_entries Get Carrier Invoice Entries

Gets carrier invoice line entries with optional status filtering. Args: - carrierInvoiceId (number): The carrier invoice ID - status (string, optional): Filter entries by status

ParameterTypeDescription
carrierInvoiceId *integerCarrier invoice ID
statusstringFilter by entry status

machship_update_reprice_consignment Update and Reprice Consignment

Updates consignment items on a carrier invoice entry and triggers repricing. Use for reconciling carrier invoice discrepancies. Args: - body (object): Repricing request payload (consignmentId, items, etc.)

ParameterTypeDescription
body *objectRepricing request payload

machship_attempt_auto_reconciliation Attempt Auto Reconciliation

Attempts automatic reconciliation of carrier invoices based on configured carrier thresholds. Args: - body (object): Reconciliation request payload (carrierInvoiceId, etc.)

ParameterTypeDescription
body *objectReconciliation request payload

machship_upload_commercial_invoice Upload Commercial Invoice

Uploads one or more commercial invoice files for a consignment (for international shipments). Files are provided as base64-encoded content. Args: - consignmentId (number): The consignment to attach the invoice to - files (array): Array of files, each with fileName and fileBase64 content

ParameterTypeDescription
consignmentId *integerConsignment ID
files *arrayInvoice files to upload

machship_get_companies Get Companies

Returns all companies accessible to the authenticated user. Args: - atOrBelowCompanyId (number, optional): Filter to companies at or below this company in the hierarchy - response_format ('json' | 'markdown'): Output format (default: 'json') Returns: Array of company objects, each containing: { "id": number, // Company ID — use this in other tool calls "name": string, // Display name of the company "isActive": boolean, // Whether the company is active "parentCompanyId": number | null } Examples: - Use when: "List all companies I have access…

ParameterTypeDescription
atOrBelowCompanyIdintegerLimit to companies at or below this company ID in the hierarchy
response_formatstringOutput format: 'json' (machine-readable, default) or 'markdown' (human-readable)

machship_get_company_carriers Get Company Carriers, Accounts and Services

Returns all available carriers, carrier accounts, and freight services for a company. Call this before creating consignments or quotes to discover which services and accounts are available. Args: - companyId (number): Company ID - response_format ('json' | 'markdown'): Output format (default: 'json') Returns: Array of carrier objects with nested accounts and services, each containing: { "carrierId": number, "carrierName": string, "accounts": [ { "accountId": number, "accountName": string, "services": [{ "serviceId": number, "serviceName": str…

ParameterTypeDescription
companyId *integerCompany ID
response_formatstringOutput format: 'json' (default) or 'markdown'

machship_get_item Get Company Item

Returns a single saved item (product/SKU) with its dimensions by ID. Args: - id (number): Item ID

ParameterTypeDescription
id *integerItem ID

machship_get_items Get All Company Items

Returns a paginated list of saved items for a company (max 200 per request). Args: - companyId (number): Company ID - startIndex (number, optional): Pagination start index (default 1) - retrieveSize (number, optional): Number of items to retrieve (default 200, max 200)

ParameterTypeDescription
companyId *integerCompany ID
retrieveSizeintegerItems to retrieve (max 200)
startIndexintegerPagination start index

machship_get_item_by_sku Get Company Item by SKU

Returns a saved item matching the given SKU for a company. Args: - companyId (number): Company ID - sku (string): Product SKU code

ParameterTypeDescription
companyId *integerCompany ID
sku *stringProduct SKU

machship_get_item_complex Get Complex Company Item

Returns a single complex item (with detailed dimensions/packaging data) by ID. Args: - id (number): Item ID

ParameterTypeDescription
id *integerItem ID

machship_get_items_complex Get All Complex Company Items

Returns a paginated list of complex items for a company (max 200 per request). Args: - companyId (number): Company ID - startIndex (number, optional): Pagination start index (default 1) - retrieveSize (number, optional): Number of items to retrieve (default 200, max 200)

ParameterTypeDescription
companyId *integerCompany ID
retrieveSizeintegerItems to retrieve (max 200)
startIndexintegerPagination start index

machship_get_item_complex_by_sku Get Complex Company Item by SKU

Returns a complex item (detailed dimensions) by SKU for a company. Args: - companyId (number): Company ID - sku (string): Product SKU code

ParameterTypeDescription
companyId *integerCompany ID
sku *stringProduct SKU

machship_create_item_complex Create Complex Company Item

Creates a new complex item (product/SKU with detailed packaging info) for a company. Args: - companyId (number): Company ID to create item under - item (object): Item details including sku, description, weight, dimensions, etc.

ParameterTypeDescription
companyId *integerCompany ID
item *objectComplex item data (sku, description, weight, length, width, height, etc.)

machship_delete_item Delete Company Item

Deletes a saved item from a company. This action is irreversible. Args: - companyItemId (number): The ID of the item to delete

ParameterTypeDescription
companyItemId *integerCompany item ID to delete

machship_get_items_by_skus Get Company Items by SKUs (Batch)

Returns a list of saved items matching any of the supplied SKUs (standard items only, max 100 SKUs). SKUs that don't match any item are silently omitted — compare returned Sku values against your input to detect misses. Args: - companyId (number): Company ID - skus (string[]): Array of SKU codes to look up (max 100)

ParameterTypeDescription
companyId *integerCompany ID
skus *arraySKU codes to look up (max 100)

machship_get_company_location Get Company Location

Returns details for a single company location (warehouse, store, depot). Args: - id (number): Company location ID

ParameterTypeDescription
id *integerCompany location ID

machship_get_company_locations Get All Company Locations

Returns all locations (warehouses, stores, depots) for a given company. Args: - companyId (number): Company ID

ParameterTypeDescription
companyId *integerCompany ID

machship_create_company_location Create Company Location

Creates a new company location (warehouse, store, depot pickup point). Args: - location (object): Location data including companyId, name, address, suburb, postcode, state, country, contactName, phone, etc.

ParameterTypeDescription
location *objectLocation data (companyId, name, address, suburb, postcode, state, country, contactName, phone)

machship_edit_company_location Edit Company Location

Edits an existing company location. Args: - location (object): Updated location data including id and any fields to update

ParameterTypeDescription
location *objectUpdated location data including id

machship_get_permanent_pickups Get Permanent Pickups for Company Location

Gets all permanent scheduled pickups configured for a company location. Args: - companyLocationId (number): Company location ID

ParameterTypeDescription
companyLocationId *integerCompany location ID

machship_add_permanent_pickups Add Permanent Pickups to Company Location

Adds permanent scheduled pickups to a company location. Args: - payload (object): Contains companyLocationId and pickup schedule details

ParameterTypeDescription
payload *objectPermanent pickup configuration including companyLocationId and schedule

machship_get_consignment Get Consignment

Returns full details for a single consignment by ID. Args: - id (number): Consignment ID - includeDeleted (boolean, optional): Include deleted consignments - includeRequestGuids (boolean, optional): Include request GUIDs in response

ParameterTypeDescription
id *integerConsignment ID
includeDeletedbooleanInclude deleted consignments
includeRequestGuidsbooleanInclude request GUIDs

machship_get_consignments_by_ids Get Consignments by IDs (Batch)

Returns details for multiple consignments by their IDs (max 100 per request). Args: - ids (number[]): Array of consignment IDs (max 100)

ParameterTypeDescription
ids *arrayConsignment IDs (max 100)

machship_get_consignments_by_reference1 Get Consignments by Reference 1

Finds consignments by their Reference 1 field (order number, etc). Max 10 per request. Args: - references (string[]): Array of Reference 1 values (max 10)

ParameterTypeDescription
references *arrayReference 1 values (max 10)

machship_get_consignments_by_reference2 Get Consignments by Reference 2

Finds consignments by their Reference 2 field. Max 10 per request. Args: - references (string[]): Array of Reference 2 values (max 10)

ParameterTypeDescription
references *arrayReference 2 values (max 10)

machship_get_consignments_by_carrier_id Get Consignments by Carrier Consignment ID

Finds consignments by carrier's own consignment/tracking ID. Max 10 per request. Args: - carrierConsignmentIds (string[]): Array of carrier consignment IDs (max 10)

ParameterTypeDescription
carrierConsignmentIds *arrayCarrier consignment IDs (max 10)

machship_get_consignment_statuses Get Consignment Tracking Statuses

Returns tracking/delivery statuses for a batch of consignments, with optional date filter. Args: - ids (number[]): Consignment IDs - sinceDateCreatedUtc (string, optional): Only return statuses since this UTC datetime (ISO 8601)

ParameterTypeDescription
ids *arrayConsignment IDs
sinceDateCreatedUtcstringFilter: only statuses since this UTC datetime (ISO 8601)

machship_update_consignment_statuses Update Consignment Tracking Statuses

Manually updates tracking statuses for consignments (e.g. mark as delivered). Args: - statuses (array): Array of manual tracking status objects, each with consignmentId, status, and datetime

ParameterTypeDescription
statuses *arrayTracking status updates

machship_get_unmanifested_consignments Get Unmanifested Consignments

Returns consignments that have been created but not yet manifested (booked with carrier). Args: - companyId (number): Company ID - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies

ParameterTypeDescription
companyId *integerCompany ID
carrierIdintegerFilter by carrier ID
includeChildCompaniesbooleanInclude child companies
retrieveSizeintegerItems to retrieve
startIndexintegerPagination start index

machship_get_active_consignments Get Active Consignments

Returns all active (in-transit) consignments for a company. Args: - companyId (number): Company ID - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies

ParameterTypeDescription
companyId *integerCompany ID
carrierIdintegerFilter by carrier ID
includeChildCompaniesbooleanInclude child companies
retrieveSizeintegerItems to retrieve
startIndexintegerPagination start index

machship_get_all_consignments Get All Consignments

Returns all consignments for a company with date range and status filtering. Args: - companyId (number): Company ID - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies - includeDeletedConsignments (boolean, optional): Include deleted - fromDateTimeLocal (string, optional): Start date filter (local time) - toDateTimeLocal (string, optional): End date filter (local time) - filterByEtaCompletedOrDespatch (…

ParameterTypeDescription
companyId *integerCompany ID
carrierIdintegerFilter by carrier ID
filterByEtaCompletedOrDespatchstringFilter by ETA, completed, or despatch status
fromDateTimeLocalstringStart date filter (local time ISO 8601)
includeChildCompaniesbooleanInclude consignments from child companies
includeDeletedConsignmentsbooleanInclude deleted consignments in results
retrieveSizeintegerNumber of results to return (default 40, max 200)
startIndexintegerPagination start index (default 1)
toDateTimeLocalstringEnd date filter (local time ISO 8601)

machship_get_recent_consignments Get Recently Created or Updated Consignments

Returns consignments created or updated within a UTC date range. Ideal for sync/polling workflows. Args: - companyId (number): Company ID - fromDateUtc (string): Start datetime in UTC (ISO 8601) - toDateUtc (string): End datetime in UTC (ISO 8601) - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies - getNotes (boolean, optional): Include notes in response - getReconciliationData (boolean, optional): Inc…

ParameterTypeDescription
companyId *integerCompany ID
fromDateUtc *stringStart datetime UTC (ISO 8601)
toDateUtc *stringEnd datetime UTC (ISO 8601)
carrierIdintegerFilter by carrier ID
getNotesbooleanInclude notes in the response
getReconciliationDatabooleanInclude reconciliation data in the response
includeChildCompaniesbooleanInclude consignments from child companies
retrieveSizeintegerNumber of results to return (default 40, max 200)
startIndexintegerPagination start index (default 1)

machship_get_completed_consignments Get Completed Consignments

Returns completed (delivered) consignments within a date range (max 2000 results). Args: - companyId (number): Company ID - startDate (string): Start date (ISO 8601) - endDate (string): End date (ISO 8601) - includeChildCompanies (boolean, optional): Include sub-companies

ParameterTypeDescription
companyId *integerCompany ID
endDate *stringEnd date (ISO 8601)
startDate *stringStart date (ISO 8601)
includeChildCompaniesbooleanInclude consignments from child companies

machship_create_consignment Create Consignment

Creates a new unmanifested consignment in Machship. This is the core operation for booking freight. Args: - consignment (object): Full consignment details including: - companyId, fromCompanyLocationId, toAddress (suburb, postcode, state, country) - items (array of packages with weight, dimensions) - carrierId, serviceId, reference1, reference2, etc.

ParameterTypeDescription
consignment *objectConsignment data (companyId, from/to locations, items, carrier, service, references)

machship_create_consignment_with_complex_items Create Consignment with Complex Items

Creates a consignment using complex item definitions (with detailed packaging/dangerous goods data). Args: - consignment (object): Consignment data with complexItems array instead of standard items

ParameterTypeDescription
consignment *objectConsignment data with complexItems array

machship_create_consignment_existing_items Create Consignment with Existing Saved Items

Creates a consignment using previously saved company items (by item ID / SKU). Args: - consignment (object): Consignment data referencing existing saved item IDs

ParameterTypeDescription
consignment *objectConsignment data referencing existing item IDs

machship_edit_consignment Edit Unmanifested Consignment

Edits an existing unmanifested (not yet booked) consignment. Cannot edit manifested consignments. Args: - consignment (object): Updated consignment data including the consignment id

ParameterTypeDescription
consignment *objectUpdated consignment data including id

machship_delete_consignments Delete Unmanifested Consignments

Deletes multiple unmanifested consignments. Cannot delete manifested consignments. Args: - ids (number[]): Array of consignment IDs to delete

ParameterTypeDescription
ids *arrayConsignment IDs to delete

machship_search_consignments Search Consignments

Searches consignments by reference numbers (Reference 1, Reference 2, or carrier IDs). Args: - references (string[]): Array of reference strings to search for

ParameterTypeDescription
references *arrayReference values to search

machship_get_consignment_creation_settings Get Consignment Creation Settings

Returns settings and defaults needed for creating consignments for a company (required fields, defaults, etc.). Args: - companyId (number, optional): Company ID (defaults to authenticated company)

ParameterTypeDescription
companyIdintegerCompany ID (optional)

machship_get_consignment_attachments Get Consignment Attachments

Returns attachment metadata (not file contents) for a consignment. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_update_despatch_dates Update Despatch Dates for Manifest

Updates despatch dates and estimated time of arrival (ETA) for a set of consignments. Args: - updates (array): Array of objects with consignmentId and new despatch date/ETA

ParameterTypeDescription
updates *arrayDespatch date updates (consignmentId, despatchDate, eta)

machship_get_consignment_by_pending_id Get Consignment by Pending Consignment ID

Get consignment details (if it exists) using a pending consignment ID that has been transformed (linked) into a consignment. Args: - id (number): Pending consignment ID

ParameterTypeDescription
id *integerPending consignment ID

machship_get_consignment_for_clone Get Consignment for Clone

Get the details of an existing consignment in a format that can be passed directly to the createConsignmentWithComplexItems endpoint to create a copy. Args: - id (number): Consignment ID to retrieve in clone format

ParameterTypeDescription
id *integerConsignment ID

machship_get_unmanifested_consignment_for_edit Get Unmanifested Consignment for Edit

Get an unmanifested consignment in the same format required to perform an update via the editUnmanifestedConsignment endpoint. Args: - id (number): Consignment ID (must be in unmanifested state)

ParameterTypeDescription
id *integerConsignment ID (must be unmanifested)

machship_get_consignments_by_pending_ids Get Consignments by Pending Consignment IDs (Batch)

Get consignment details for multiple consignments using Pending Consignment IDs as the lookup. Maximum of 100 consignments per request. Args: - ids (number[]): Array of pending consignment IDs (max 100)

ParameterTypeDescription
ids *arrayPending consignment IDs (max 100)

machship_group_consignments_for_consolidation Group Consignments for Consolidation

Automatically groups consignments into consolidation groups based on options (carrier, route, etc.). Returns groups without actually consolidating — preview step before consolidation. Args: - options (object): Consolidation grouping options (companyId, carrierId, etc.)

ParameterTypeDescription
options *objectConsolidation grouping options

machship_perform_consolidation Perform Consolidation

Consolidates a set of consignments into consolidated shipments. This merges multiple consignments into fewer shipment units for carrier efficiency. Args: - request (object): Consolidation request with consignment IDs and consolidation parameters

ParameterTypeDescription
request *objectConsolidation request payload

machship_group_and_perform_consolidation Group and Perform Consolidation

Groups and consolidates consignments in a single operation (combines grouping + performing). Args: - options (object): Consolidation options (companyId, carrierId, grouping rules, etc.)

ParameterTypeDescription
options *objectConsolidation options

machship_get_custom_schemas Get All Custom Schemas

Returns all custom schemas defined in the Machship organisation. Custom schemas extend Machship entities with additional fields.

machship_get_custom_schema Get Custom Schema by ID

Returns a specific custom schema by its DotNet class ID. Args: - id (string): The DotNet class ID of the schema

ParameterTypeDescription
id *stringDotNet class ID of the schema

machship_create_custom_schema Create Custom Schema

Creates a new custom schema to extend Machship entities with additional fields. Args: - name (string): Schema name - type (string): Schema type/entity to extend - schema (object): JSON schema definition

ParameterTypeDescription
name *stringSchema name
schema *objectJSON schema definition
type *stringSchema type/entity

machship_update_custom_schema Update Custom Schema

Updates an existing custom schema by its DotNet class ID. Args: - id (string): DotNet class ID of the schema to update - schema (object): Updated JSON schema definition

ParameterTypeDescription
id *stringDotNet class ID
schema *objectUpdated JSON schema definition

machship_delete_custom_schema Delete Custom Schema

Deletes a custom schema by its DotNet class ID. This is irreversible. Args: - id (string): DotNet class ID of the schema to delete

ParameterTypeDescription
id *stringDotNet class ID

machship_get_posted_invoices Get Posted Financial Invoices

Returns posted financial invoices within an optional date range (max 100 per call). Args: - startDate (string, optional): Start date filter (ISO 8601) - endDate (string, optional): End date filter (ISO 8601) - startIndex (number, optional): Pagination start index (default 1) - retrieveSize (number, optional): Number to retrieve (default 100, max 100)

ParameterTypeDescription
endDatestringEnd date filter (ISO 8601)
retrieveSizeintegerNumber of results to return (default 100, max 100)
startDatestringStart date filter (ISO 8601)
startIndexintegerPagination start index (default 1)

machship_get_invoice_by_document_number Get Financial Invoice by Document Number

Returns a specific financial invoice by document number, with optional PDF download. Args: - documentNumber (string): Invoice document number - returnPdfFileBytes (boolean, optional): Include PDF as base64 bytes in response

ParameterTypeDescription
documentNumber *stringInvoice document number
returnPdfFileBytesbooleanInclude PDF as base64 bytes

machship_get_identities Get Identities

Get all identities owned by an organisation, with details on which companies they are linked to. Requires administrator access to the organisation. Args: - organisationId (number): Organisation ID - onlyUnlinkedIdentities (boolean, optional): Return only identities not linked to any company - identityProviderId (number, optional): Filter by identity provider

ParameterTypeDescription
organisationId *integerOrganisation ID
identityProviderIdintegerFilter by identity provider ID
onlyUnlinkedIdentitiesbooleanReturn only unlinked identities

machship_get_identity Get Identity

Get the identity with the given ID. Args: - id (number): Identity ID

ParameterTypeDescription
id *integerIdentity ID

machship_get_available_roles Get Available Roles

Get all roles that are available to assign to users of a certain company. Args: - companyId (number): Company ID

ParameterTypeDescription
companyId *integerCompany ID

machship_create_identities Create Identities

Create identities in MachShip and assign companies and roles. All identities must belong to the same identityProvider and organisation. Requires administrator access. Args: - identities (array): Array of identity objects, each with: - givenName (string): First name (required) - familyName (string): Last name (required) - displayName (string): Display name (required) - emailAddress (string): Email (required) - identifyingClaim (string): Unique claim for identity provider (required) - organisationId (number): Organisation ID (required) - identityProviderId (number)…

ParameterTypeDescription
identities *arrayIdentities to create

machship_update_identity Update Identity

Updates properties on an identity. All fields except password are required; omitted fields are set to null. Args: - id (number): Identity ID (required) - givenName (string): First name (required) - familyName (string): Last name (required) - displayName (string): Display name (required) - emailAddress (string): Email address (required) - owningCompanyId (number): Owning company ID (required) - password (string, optional): New password - phone / businessPhone / mobile / position / notes (optional)

ParameterTypeDescription
displayName *stringDisplay name
emailAddress *stringEmail address
familyName *stringLast name
givenName *stringFirst name
id *integerIdentity ID
owningCompanyId *integerOwning company ID
businessPhonestringBusiness phone number
mobilestringMobile number
notesstringAdditional notes about the identity
passwordstringNew password (optional)
phonestringPhone number
positionstringJob position or title

machship_delete_identities Delete Identities

Delete the identities with the given IDs. This action is irreversible. Args: - ids (number[]): Array of identity IDs to delete

ParameterTypeDescription
ids *arrayIdentity IDs to delete

machship_disable_identities Disable Identities

Disable the identities with the given IDs, preventing them from logging in. Args: - ids (number[]): Array of identity IDs to disable

ParameterTypeDescription
ids *arrayIdentity IDs to disable

machship_reenable_identities Re-enable Identities

Re-enable previously disabled identities, restoring login access. Args: - ids (number[]): Array of identity IDs to re-enable

ParameterTypeDescription
ids *arrayIdentity IDs to re-enable

machship_return_identity_public_keys Return Identity Public Keys

Get the public keys of the supplied identities. These keys can be used by a linked organisation to grant those identities access to companies in their organisation. Requires administrator access. Args: - ids (number[]): Array of identity IDs to retrieve public keys for

ParameterTypeDescription
ids *arrayIdentity IDs

machship_get_identity_provider Get Identity Provider

Get a specific identity provider by ID. Args: - identityProviderId (number): Identity provider ID

ParameterTypeDescription
identityProviderId *integerIdentity provider ID

machship_get_identity_providers_for_company Get Identity Providers for Company

Get all identity providers associated with a specific company. Args: - companyId (number): Company ID

ParameterTypeDescription
companyId *integerCompany ID

machship_get_identity_providers_for_logged_user Get Identity Providers for Logged-in User

Returns all identity providers for the current user's organisation. No parameters required.

machship_get_identity_providers_for_organisation Get Identity Providers for Organisation

Returns all identity providers for the specified organisation. Args: - organisationId (number): Organisation ID

ParameterTypeDescription
organisationId *integerOrganisation ID

machship_get_consignment_label_pdf Get Consignment Label PDF

Returns the consignment label PDF. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_item_label_pdf Get Item Label PDF

Returns item/package labels for a consignment as a PDF. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID - printA4 (boolean, optional): Print in A4 format (default: label-size)

ParameterTypeDescription
consignmentId *integerConsignment ID
printA4booleanPrint in A4 format

machship_get_item_labels_zip Get Item Labels ZIP (Batch)

Gets item labels as a zip file for up to 40 consignments. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentIds (number[]): Consignment IDs (max 40) - printA4 (boolean, optional): Print in A4 format - singlePdf (boolean, optional): Combine all labels into a single PDF inside the zip

ParameterTypeDescription
consignmentIds *arrayConsignment IDs (max 40)
printA4booleanPrint in A4 format
singlePdfbooleanCombine into single PDF

machship_get_manifest_label_pdf Get Manifest Label PDF

Returns the manifest document as a PDF by manifest ID. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - manifestId (number): Manifest ID

ParameterTypeDescription
manifestId *integerManifest ID

machship_get_manifest_label_pdf_by_consignment Get Manifest Label PDF by Consignment

Returns the manifest PDF for the manifest associated with a given consignment. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_commercial_invoice_pdf Get Commercial Invoice PDF

Returns the commercial invoice PDF for a consignment (used for international shipments). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_dangerous_goods_pdf Get Dangerous Goods Document PDF

Returns the dangerous goods declaration document PDF for a consignment. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_send_labels_to_printer Send Labels to Printer

Sends labels directly to a configured printer in Machship. Args: - requests (array): Array of print requests, each with consignmentId, printerId, labelType, etc.

ParameterTypeDescription
requests *arrayPrint requests (consignmentId, printerId, labelType)

machship_group_consignments_for_printing Group Consignments for Printing

Groups consignments for batch label printing and returns print groups. Args: - consignmentIds (number[]): Consignment IDs to group for printing

ParameterTypeDescription
consignmentIds *arrayConsignment IDs

machship_get_consignment_pdf_file_info Get Consignment PDF File Info

Returns the consignment label PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_item_pdf_file_info Get Item Label PDF File Info

Returns the item/package label PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType. Args: - consignmentId (number): Consignment ID - printA4 (boolean, optional): Whether the label is in A4 format

ParameterTypeDescription
consignmentId *integerConsignment ID
printA4booleanA4 format flag

machship_get_manifest_pdf_file_info Get Manifest PDF File Info

Returns the manifest PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType. Args: - manifestId (number): Manifest ID

ParameterTypeDescription
manifestId *integerManifest ID

machship_get_dangerous_goods_pdf_file_info Get Dangerous Goods Document PDF File Info

Returns the dangerous goods declaration PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_mo41_document_pdf Get MO41 Document PDF

Returns the MO41 document PDF for a consignment (used for specific carrier compliance documents). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_mo41_document_pdf_file_info Get MO41 Document PDF File Info

Returns the MO41 document PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType. Args: - consignmentId (number): Consignment ID

ParameterTypeDescription
consignmentId *integerConsignment ID

machship_get_special_instructions_pdf Get Special Instructions PDF

Returns the special instructions document PDF for a consignment. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentId (number): Consignment ID - printA4 (boolean, optional): Print in A4 format

ParameterTypeDescription
consignmentId *integerConsignment ID
printA4booleanPrint in A4 format

machship_return_item_pdfs_for_consignments Return Item PDFs for Consignments (POST)

Returns item labels as a zip for up to 40 consignments (POST variant — use this when passing a body payload is preferred over query string). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header. Args: - consignmentIds (number[]): Consignment IDs (max 40) - printA4 (boolean, optional): Print in A4 format

ParameterTypeDescription
consignmentIds *arrayConsignment IDs (max 40)
printA4booleanPrint in A4 format

machship_search_locations Search Locations

Returns up to 10 Machship locations matching a suburb or postcode search string. Use this to look up valid delivery/pickup locationIds before creating consignments. Args: - s (string): Search string — suburb name, postcode, or both (e.g. "Melbourne 3000") - response_format ('json' | 'markdown'): Output format (default: 'json') Returns: Array of location objects: { "id": number, "suburb": string, "postcode": string, "state": string, "country": string } Examples: - Use when: "What location ID is for Sydney 2000?" -> search "Sydney 2000", pick from results - Use when: Validating…

ParameterTypeDescription
s *stringSearch string: suburb name, postcode, or both (e.g. 'Melbourne 3000')
response_formatstringOutput format: 'json' (default) or 'markdown'

machship_get_locations_exact Get Locations (Exact Match)

Returns locations that exactly match provided suburb/postcode combinations. Supports multiple location lookups in one call. Args: - locations (array): Array of suburb/postcode pairs to look up exactly

ParameterTypeDescription
locations *arraySuburb/postcode pairs for exact matching

machship_get_locations_with_options Get Locations with Search Options

Returns locations with additional search options/filters applied. Args: - s (string): Search string - options (object): Additional search options (country, state, etc.)

ParameterTypeDescription
s *stringSearch string
optionsobjectAdditional location search options

machship_get_manifests Get Manifests

Returns a paginated list of manifests for a company (max 200 per call). A manifest represents a carrier pickup booking for a group of consignments. Args: - companyId (number, optional): Company ID - startIndex (number, optional): Pagination start index (default 1) - retrieveSize (number, optional): Number to retrieve (default 40, max 200) - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies - startDate / endDate (string, optional): Date range filter (ISO 8601) - response_format ('json' | 'markdown'): Output format (…

ParameterTypeDescription
carrierIdintegerFilter by carrier ID
companyIdintegerCompany ID
endDatestringFilter to date (ISO 8601)
includeChildCompaniesbooleanInclude manifests from child companies
response_formatstringOutput format: 'json' (default) or 'markdown'
retrieveSizeintegerNumber of results to return (default 40, max 200)
startDatestringFilter from date (ISO 8601)
startIndexintegerPagination start index (default 1)

machship_group_all_for_manifest Group All Unmanifested Consignments for Manifest

Groups ALL unmanifested consignments for a company into manifest groups (preview before manifesting). Args: - companyId (number): Company ID

ParameterTypeDescription
companyId *integerCompany ID

machship_group_consignments_for_manifest Group Consignments for Manifest

Groups a specific set of consignments into manifest groups (preview before manifesting). Args: - consignmentIds (number[]): Consignment IDs to group

ParameterTypeDescription
consignmentIds *arrayConsignment IDs to group

machship_manifest_consignments Manifest / Book Consignments with Carrier

Books/manifests consignments with the carrier — creates the pickup booking and generates tracking numbers. This is the final step in the consignment workflow before physical pickup. Args: - manifests (array): Array of booked manifest objects with consignment IDs and carrier booking details

ParameterTypeDescription
manifests *arrayManifest booking objects (consignmentIds, carrierId, despatchDate, etc.)

machship_rebook_manifest_pickup Rebook Manifest Pickup

Rebooks the carrier pickup for an existing manifest (e.g. missed pickup or changed schedule). Args: - rebooking (object): Rebooking details including manifestId and new pickup datetime

ParameterTypeDescription
rebooking *objectRebooking details (manifestId, pickupDate, etc.)

machship_get_consignment_notes Get Consignment Notes

Returns all notes attached to a consignment (internal comments, delivery instructions, etc.). Args: - id (number): Consignment ID

ParameterTypeDescription
id *integerConsignment ID

machship_get_linked_from_organisations Get Linked-From Organisations

Returns all organisations that have linked INTO this organisation (suppliers, partners). Args: - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - sort (string, optional): Sort field - searchText (string, optional): Filter by name

ParameterTypeDescription
retrieveSizeintegerNumber of results to return (max 100)
searchTextstringFilter results by organisation name
sortstringSort field name
startIndexintegerPagination start index

machship_get_linked_to_organisations Get Linked-To Organisations

Returns all organisations this organisation has linked TO (customers, subsidiaries). Args: - startIndex (number, optional): Pagination start index - retrieveSize (number, optional): Number to retrieve - sort (string, optional): Sort field - searchText (string, optional): Filter by name

ParameterTypeDescription
retrieveSizeintegerNumber of results to return (max 100)
searchTextstringFilter results by organisation name
sortstringSort field name
startIndexintegerPagination start index

machship_get_organisation_public_key Get Organisation Public Key

Returns the public key for an organisation, used to set up inter-organisation links. Args: - id (number, optional): Organisation ID (defaults to current org)

ParameterTypeDescription
idintegerOrganisation ID (optional)

machship_get_organisation_by_public_key Get Organisation Details by Public Key

Validates a public key and returns the corresponding organisation details. Use this to verify a partner's public key before linking. Args: - publicKey (string): Organisation public key to look up

ParameterTypeDescription
publicKey *stringOrganisation public key

machship_reset_organisation_public_key Reset Organisation Public Key

Resets the public key for an organisation (generates new key). Does NOT affect existing links. Args: - id (number, optional): Organisation ID (defaults to current org)

ParameterTypeDescription
idintegerOrganisation ID (optional)

machship_create_pending_consignment Create Pending Consignment

Creates a pending consignment — a draft/staging consignment that hasn't been rated or assigned to a carrier yet. Pending consignments can be converted to full consignments after quoting. Args: - consignment (object): Pending consignment data including companyId, from/to address, items, references, etc.

ParameterTypeDescription
consignment *objectPending consignment data (companyId, fromAddress, toAddress, items, reference1, reference2)

machship_get_pending_consignment Get Pending Consignment

Returns details for a single pending consignment by ID. Args: - id (number): Pending consignment ID

ParameterTypeDescription
id *integerPending consignment ID

machship_get_pending_consignments_by_ids Get Pending Consignments by IDs (Batch)

Returns details for multiple pending consignments by IDs (max 10 per request). Args: - ids (number[]): Pending consignment IDs (max 10)

ParameterTypeDescription
ids *arrayPending consignment IDs (max 10)

machship_get_pending_consignments_by_reference1 Get Pending Consignments by Reference 1

Finds pending consignments by Reference 1 field. Max 10 per request. Args: - references (string[]): Reference 1 values (max 10)

ParameterTypeDescription
references *arrayReference 1 values (max 10)

machship_get_pending_consignments_by_reference2 Get Pending Consignments by Reference 2

Finds pending consignments by Reference 2 field. Max 10 per request. Args: - references (string[]): Reference 2 values (max 10)

ParameterTypeDescription
references *arrayReference 2 values (max 10)

machship_get_recent_pending_consignments Get Recently Created/Updated Pending Consignments

Returns pending consignments created or updated within a UTC date range. Useful for sync workflows. Args: - companyId (number): Company ID - fromDateUtc (string): Start datetime UTC (ISO 8601) - toDateUtc (string): End datetime UTC (ISO 8601) - startIndex (number, optional): Pagination start - retrieveSize (number, optional): Page size - carrierId (number, optional): Filter by carrier - includeChildCompanies (boolean, optional): Include sub-companies - getDeleted (boolean, optional): Include deleted pending consignments

ParameterTypeDescription
companyId *integerCompany ID
fromDateUtc *stringStart datetime UTC (ISO 8601)
toDateUtc *stringEnd datetime UTC (ISO 8601)
carrierIdintegerFilter by carrier ID
getDeletedbooleanInclude deleted pending consignments
includeChildCompaniesbooleanInclude pending consignments from child companies
retrieveSizeintegerNumber of results to return (max 200)
startIndexintegerPagination start index

machship_delete_pending_consignments Delete Pending Consignments

Deletes one or more pending consignments. Args: - ids (number[]): Pending consignment IDs to delete

ParameterTypeDescription
ids *arrayPending consignment IDs to delete

machship_create_quote Create Quote

Creates a freight quote in Machship — returns available carrier rates for a shipment. Use this to compare carrier prices and transit times before creating a consignment. Args: - quote (object): Quote request including: - companyId (number): Company to quote under - fromAddress or fromLocationId: Pickup address or location ID - toAddress: Delivery address (suburb, postcode, state, country) - items: Array of items with weight (kg), length/width/height (cm) - carrierId / serviceId (optional): Filter to a specific carrier/service Returns: Array of available rate options…

ParameterTypeDescription
quote *objectQuote request body (companyId, fromAddress/fromLocationId, toAddress, items)

machship_create_quote_complex_items Create Quote with Complex Items

Creates a freight quote using complex item definitions (detailed packaging, dangerous goods, serialisation data). Args: - quote (object): Quote request with complexItems array instead of standard items Returns: Same as machship_create_quote — array of rate options with cost and transit info. Examples: - Use when: Items have dangerous goods codes, serial numbers, or non-standard packaging - Use when: machship_create_quote returned a validation error about item structure

ParameterTypeDescription
quote *objectQuote request with complexItems array

machship_get_quotes Get All Quotes

Returns all quotes for a given company. Args: - companyId (number): Company ID - response_format ('json' | 'markdown'): Output format (default: 'json') Returns: Array of quote summary objects: { "id": number, "reference": string, "status": string, "createdDate": string } Examples: - Use when: "List all quotes for company 123" - Use when: You need a quote ID to pass to machship_get_quote for full details - Don't use when: You want to create a new quote (use machship_create_quote instead) Error Handling: - Error 404: companyId does not exist or is not accessible

ParameterTypeDescription
companyId *integerCompany ID
response_formatstringOutput format: 'json' (default) or 'markdown'

machship_get_quote Get Quote

Returns full details for a single quote by ID, including all carrier rate options. Args: - id (number): Quote ID - response_format ('json' | 'markdown'): Output format (default: 'json') Returns: Full quote object with all carrier rate options, addresses, and item details. Examples: - Use when: "Show me the full details for quote 456" - Use when: You have a quote ID and need the carrier rates to pick one for a consignment

ParameterTypeDescription
id *integerQuote ID
response_formatstringOutput format: 'json' (default) or 'markdown'

machship_get_routes Get Available Routes

Returns a list of available freight routes and carrier services for a single shipment request. Use this to find all carrier options (rates, ETAs) before creating a consignment. Args: - request (object): Route request including: - companyId: Company ID (required) - fromLocation: { suburb, postcode, state, country } — origin location - toLocation: { suburb, postcode, state, country } — destination location - items: Array of packages with weight (kg), length/width/height (cm), name (string), quantity (integer > 0) - despatchDate (optional): Planned despatch date (ISO 86…

ParameterTypeDescription
request *objectRoute request (companyId, from/to location, items with weight/dimensions, optional despatchDate)

machship_get_routes_batch Get Available Routes (Batch)

Returns available routes for multiple shipment requests in a single call. Efficient for bulk rate shopping across multiple shipments. Args: - requests (array): Array of route request objects (same structure as single route request)

ParameterTypeDescription
requests *arrayArray of route requests

machship_get_routes_complex_items Get Available Routes with Complex Items

Returns available routes for a shipment with complex item definitions (dangerous goods, specialised packaging). Args: - request (object): Route request with complexItems array (including dangerous goods classifications)

ParameterTypeDescription
request *objectRoute request with complexItems (dangerous goods, specialised packaging)