vintrace MCP by usefulapi is an MCP server published by io.usefulapi, hosted at vintrace.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 34 tools, including vintrace_list_work_orders, vintrace_list_wine_batches, vintrace_get_vessel_details_report, vintrace_get_vessel, vintrace_list_lab_requests.
Read vintrace vessels, batches, work orders, lab results, stock; assign work orders, add notes.
4,413 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List winery work orders (cellar jobs such as transfers, additions, bottling) with their jobs, assignee, status and scheduled time. Filter by scheduled time range, status and operation type. Reply: results plus next_offset. GET /v7/operation/work-orders.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| status | string | Work order status, or several separated by commas (for example READY,IN_PROGRESS). |
| operation_types | string | Winery job type, or several separated by commas (for example TIRAGE,TRANSFER). |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| scheduled_since | string | Only work orders scheduled at or after this time (inclusive). |
| scheduled_before | string | Only work orders scheduled at or before this time (inclusive). |
{
"name": "vintrace_list_work_orders",
"title": "List work orders",
"description": "List winery work orders (cellar jobs such as transfers, additions, bottling) with their jobs, assignee, status and scheduled time. Filter by scheduled time range, status and operation type. Reply: results plus next_offset. GET /v7/operation/work-orders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"status": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Work order status, or several separated by commas (for example READY,IN_PROGRESS)."
},
"operation_types": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Winery job type, or several separated by commas (for example TIRAGE,TRANSFER)."
},
"scheduled_since": {
"type": "string",
"description": "Only work orders scheduled at or after this time (inclusive)."
},
"scheduled_before": {
"type": "string",
"description": "Only work orders scheduled at or before this time (inclusive)."
}
}
},
"annotations": {
"title": "List work orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List wine batches (the named lots of wine) with volume, variety, vintage and owner. Use include=vessels,allocations to add where each batch sits. Reply: results plus next_offset. GET /v7/operation/wine-batches.
| Parameter | Type | Description |
|---|---|---|
| id | string | Comma-separated vintrace batch ids to fetch. |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| include | string | Extra parts to include, comma-separated: vessels, allocations. |
{
"name": "vintrace_list_wine_batches",
"title": "List wine batches",
"description": "List wine batches (the named lots of wine) with volume, variety, vintage and owner. Use include=vessels,allocations to add where each batch sits. Reply: results plus next_offset. GET /v7/operation/wine-batches.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Comma-separated vintrace batch ids to fetch."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"include": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Extra parts to include, comma-separated: vessels, allocations."
}
}
},
"annotations": {
"title": "List wine batches",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The bulk wine report: every vessel (tank, barrel, bin, press, tanker) with its contents, volume, batch, owner and winery as at a date. Use extra_fields=composition,allocations,liveMetrics to add them. Covers every winery the token's user may access unless wineryId/wineryName narrows it. GET /v7/report/vessel-details-report.
| Parameter | Type | Description |
|---|---|---|
| as_at | string | Run the report as at this time (default now). |
| batch | string | Only vessels holding this wine batch. |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| owner | string | Only this owner. |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| vessel | string | Only this vessel (by name/code). |
| vessel_id | integer | Only this vessel id. |
| winery_id | integer | Only this winery. |
| product_id | integer | Only this wine/product id. |
| vessel_type | string | Vessel types, comma-separated: TANK, BIN, BARREL, BARREL_GROUP, BIN_GROUP, PRESS, TANKER. |
| winery_name | string | Only the winery with this exact name. |
| extra_fields | string | Extra fields, comma-separated: composition, allocations, liveMetrics. |
| business_unit | string | Only this winery business unit. |
{
"name": "vintrace_get_vessel_details_report",
"title": "Vessel contents report",
"description": "The bulk wine report: every vessel (tank, barrel, bin, press, tanker) with its contents, volume, batch, owner and winery as at a date. Use extra_fields=composition,allocations,liveMetrics to add them. Covers every winery the token's user may access unless wineryId/wineryName narrows it. GET /v7/report/vessel-details-report.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"as_at": {
"type": "string",
"description": "Run the report as at this time (default now)."
},
"batch": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only vessels holding this wine batch."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"owner": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this owner."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"vessel": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this vessel (by name/code)."
},
"vessel_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this vessel id.",
"exclusiveMinimum": 0
},
"winery_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this winery.",
"exclusiveMinimum": 0
},
"product_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this wine/product id.",
"exclusiveMinimum": 0
},
"vessel_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Vessel types, comma-separated: TANK, BIN, BARREL, BARREL_GROUP, BIN_GROUP, PRESS, TANKER."
},
"winery_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only the winery with this exact name."
},
"extra_fields": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Extra fields, comma-separated: composition, allocations, liveMetrics."
},
"business_unit": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this winery business unit."
}
}
},
"annotations": {
"title": "Vessel contents report",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One vessel by id: a tank, barrel, barrel group, tanker or bin, with its details, dimensions and contents. GET /v7/vessel/<tanks|barrels|barrel-groups|tankers|bins>/{id}.
| Parameter | Type | Description |
|---|---|---|
| vessel_id * | integer | vintrace vessel id. |
| vessel_type * | string | What kind of vessel. |
{
"name": "vintrace_get_vessel",
"title": "Get vessel",
"description": "One vessel by id: a tank, barrel, barrel group, tanker or bin, with its details, dimensions and contents. GET /v7/vessel/<tanks|barrels|barrel-groups|tankers|bins>/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vessel_type",
"vessel_id"
],
"properties": {
"vessel_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace vessel id.",
"exclusiveMinimum": 0
},
"vessel_type": {
"enum": [
"tank",
"barrel",
"barrel_group",
"tanker",
"bin"
],
"type": "string",
"description": "What kind of vessel."
}
}
},
"annotations": {
"title": "Get vessel",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The lab console: analysis tasks (samples to measure) with lab, template, vessel, batch, status and arrival. Completed tasks are left out unless status includes Completed. Reply: results plus next_offset. GET /v7/lab/lab-requests.
| Parameter | Type | Description |
|---|---|---|
| batch | array | Only tasks sampled from batches with these names. Several values match any of them. |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| status | array | Task statuses (for example Completed to include finished tasks). Several values match any of them. |
| lab_name | array | Only tasks assigned to labs with these names. Several values match any of them. |
| date_after | string | Only tasks requested at or after this time. |
| date_before | string | Only tasks requested at or before this time. |
| vessel_name | array | Only tasks sampled from vessels with these names. Several values match any of them. |
| arrival_status | string | Only samples with this arrival status. |
| modified_since | string | Only tasks modified at or after this time. |
| work_order_number | array | Only tasks requested by these work orders (TWL123 or 123). Several values match any of them. |
| analysis_template_name | array | Only tasks using these analysis templates. Several values match any of them. |
{
"name": "vintrace_list_lab_requests",
"title": "List lab requests",
"description": "The lab console: analysis tasks (samples to measure) with lab, template, vessel, batch, status and arrival. Completed tasks are left out unless status includes Completed. Reply: results plus next_offset. GET /v7/lab/lab-requests.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"batch": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Only tasks sampled from batches with these names. Several values match any of them."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"status": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Task statuses (for example Completed to include finished tasks). Several values match any of them."
},
"lab_name": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Only tasks assigned to labs with these names. Several values match any of them."
},
"date_after": {
"type": "string",
"description": "Only tasks requested at or after this time."
},
"date_before": {
"type": "string",
"description": "Only tasks requested at or before this time."
},
"vessel_name": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Only tasks sampled from vessels with these names. Several values match any of them."
},
"arrival_status": {
"enum": [
"Arrived",
"Not Arrived"
],
"type": "string",
"description": "Only samples with this arrival status."
},
"modified_since": {
"type": "string",
"description": "Only tasks modified at or after this time."
},
"work_order_number": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Only tasks requested by these work orders (TWL123 or 123). Several values match any of them."
},
"analysis_template_name": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "Only tasks using these analysis templates. Several values match any of them."
}
}
},
"annotations": {
"title": "List lab requests",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List trial blends (planned blend trials) with status and composition. Use composition_summary_by=variety,vintage to summarise. Reply: results plus next_offset. GET /v7/operation/trial-blends.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| status | string | Trial blend status, or several separated by commas. |
| modified_since | string | Only records modified after this time. |
| modified_before | string | Only records modified before this time. |
| composition_summary_by | string | Summarise composition by: variety, vintage, region, subRegion (comma-separated). |
{
"name": "vintrace_list_trial_blends",
"title": "List trial blends",
"description": "List trial blends (planned blend trials) with status and composition. Use composition_summary_by=variety,vintage to summarise. Reply: results plus next_offset. GET /v7/operation/trial-blends.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"status": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Trial blend status, or several separated by commas."
},
"modified_since": {
"type": "string",
"description": "Only records modified after this time."
},
"modified_before": {
"type": "string",
"description": "Only records modified before this time."
},
"composition_summary_by": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Summarise composition by: variety, vintage, region, subRegion (comma-separated)."
}
}
},
"annotations": {
"title": "List trial blends",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Winemaking operations completed in a date range (transfers, additions, blends, racking...) with the from/to vessels and before/after volumes. Defaults to today when no dates are given. GET /v6/transaction/search.
| Parameter | Type | Description |
|---|---|---|
| date_to | string | Operations completed on or before this date. |
| date_from | string | Operations completed on or after this date. |
| batch_name | string | Batch name. |
| owner_name | string | Owner name. |
| winery_name | string | Winery name. |
{
"name": "vintrace_search_transactions",
"title": "Search winemaking transactions",
"description": "Winemaking operations completed in a date range (transfers, additions, blends, racking...) with the from/to vessels and before/after volumes. Defaults to today when no dates are given. GET /v6/transaction/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"date_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Operations completed on or before this date."
},
"date_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Operations completed on or after this date."
},
"batch_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Batch name."
},
"owner_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Owner name."
},
"winery_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Winery name."
}
}
},
"annotations": {
"title": "Search winemaking transactions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Barrel move shipments / barrel treatments recorded in vintrace, with barrel states and treatment types. Reply: results plus next_offset. GET /v7/operation/barrel-treatments.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| treatment | string | Only this treatment. |
| modified_since | string | Only records modified after this time. |
| modified_before | string | Only records modified before this time. |
{
"name": "vintrace_list_barrel_treatments",
"title": "List barrel treatments",
"description": "Barrel move shipments / barrel treatments recorded in vintrace, with barrel states and treatment types. Reply: results plus next_offset. GET /v7/operation/barrel-treatments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"treatment": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this treatment."
},
"modified_since": {
"type": "string",
"description": "Only records modified after this time."
},
"modified_before": {
"type": "string",
"description": "Only records modified before this time."
}
}
},
"annotations": {
"title": "List barrel treatments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List vineyard blocks (grower, vineyard, region, variety). To see fruit placements for a vintage pass include=fruitPlacements together with vintage. Reply: results plus next_offset. GET /v7/harvest/blocks.
| Parameter | Type | Description |
|---|---|---|
| id | string | Comma-separated block ids. |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| include | string | Extra parts to include, for example fruitPlacements (with vintage). |
| vintage | string | Vintage year (needed with include). |
{
"name": "vintrace_list_blocks",
"title": "List vineyard blocks",
"description": "List vineyard blocks (grower, vineyard, region, variety). To see fruit placements for a vintage pass include=fruitPlacements together with vintage. Reply: results plus next_offset. GET /v7/harvest/blocks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Comma-separated block ids."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"include": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Extra parts to include, for example fruitPlacements (with vintage)."
},
"vintage": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "Vintage year (needed with include)."
}
}
},
"annotations": {
"title": "List vineyard blocks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List vineyard block assessments (vine and fruit assessments by the viticulture team). Reply: results plus next_offset. GET /v7/harvest/assessments.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| assessed_by | string | Filter by assessor: a vintrace user id (123), or ext:<external id>. Prefix ne: to exclude that user (ne:123); the default is an exact match (eq:). |
| extra_fields | string | Extra fields to include, comma-separated (see the BlockAssessment fields). |
| created_since | string | Only assessments created after this time. |
| created_before | string | Only assessments created before this time. |
{
"name": "vintrace_list_block_assessments",
"title": "List block assessments",
"description": "List vineyard block assessments (vine and fruit assessments by the viticulture team). Reply: results plus next_offset. GET /v7/harvest/assessments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"assessed_by": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Filter by assessor: a vintrace user id (123), or ext:<external id>. Prefix ne: to exclude that user (ne:123); the default is an exact match (eq:)."
},
"extra_fields": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Extra fields to include, comma-separated (see the BlockAssessment fields)."
},
"created_since": {
"type": "string",
"description": "Only assessments created after this time."
},
"created_before": {
"type": "string",
"description": "Only assessments created before this time."
}
}
},
"annotations": {
"title": "List block assessments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List active fruit bookings (grape deliveries planned for a vintage) for one or more wineries: grower, block, variety, expected pick time and quantity. vintage and winery_ids are required. Reply: results plus next_offset. GET /v7/operation/bookings.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| vintage * | integer | Vintage year, e.g. 2026. |
| block_name | string | Only this block. |
| winery_ids * | array | vintrace winery ids (see vintrace_get_vessel_details_report for winery names/ids). |
| grower_name | string | Only this grower. |
| arrival_after | string | Arrival after this time. |
| vineyard_name | string | Only this vineyard. |
| arrival_before | string | Arrival before this time. |
| booking_number | string | A vintrace booking number. |
| modified_since | string | Added, changed or deactivated since this time. |
{
"name": "vintrace_list_bookings",
"title": "List fruit bookings",
"description": "List active fruit bookings (grape deliveries planned for a vintage) for one or more wineries: grower, block, variety, expected pick time and quantity. vintage and winery_ids are required. Reply: results plus next_offset. GET /v7/operation/bookings.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vintage",
"winery_ids"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"vintage": {
"type": "integer",
"maximum": 2200,
"minimum": 1900,
"description": "Vintage year, e.g. 2026."
},
"block_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this block."
},
"winery_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 20,
"minItems": 1,
"description": "vintrace winery ids (see vintrace_get_vessel_details_report for winery names/ids)."
},
"grower_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this grower."
},
"arrival_after": {
"type": "string",
"description": "Arrival after this time."
},
"vineyard_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this vineyard."
},
"arrival_before": {
"type": "string",
"description": "Arrival before this time."
},
"booking_number": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A vintrace booking number."
},
"modified_since": {
"type": "string",
"description": "Added, changed or deactivated since this time."
}
}
},
"annotations": {
"title": "List fruit bookings",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List bulk wine/juice intakes (wine bought or received in bulk) with batch, volume, owner and cost. Reply: results plus next_offset. GET /v7/operation/bulk-intakes.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| modified_since | string | Only records modified after this time. |
| modified_before | string | Only records modified before this time. |
| purchase_reference | string | Exact purchase reference (sent to vintrace as eq:<reference>). |
{
"name": "vintrace_list_bulk_intakes",
"title": "List bulk intakes",
"description": "List bulk wine/juice intakes (wine bought or received in bulk) with batch, volume, owner and cost. Reply: results plus next_offset. GET /v7/operation/bulk-intakes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"modified_since": {
"type": "string",
"description": "Only records modified after this time."
},
"modified_before": {
"type": "string",
"description": "Only records modified before this time."
},
"purchase_reference": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact purchase reference (sent to vintrace as eq:<reference>)."
}
}
},
"annotations": {
"title": "List bulk intakes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Fruit intake operations (grape deliveries weighed in at the winery): weights, grower, block, vineyard, vintage, docket numbers and metrics. Filter by vintage, grower, vineyard, block or recorded time. Page with first_result and max_results. GET /v6/intake-operations/search.
| Parameter | Type | Description |
|---|---|---|
| vintage | string | Vintage year. |
| block_name | string | Block name. |
| owner_name | string | Fruit owner name. |
| grower_name | string | Grower name. |
| max_results | integer | Results per page, 1-200. |
| winery_name | string | Winery name. |
| first_result | integer | Start index of the page (default 0; vintrace "first"). |
| intake_docket | string | Intake docket number. |
| vineyard_name | string | Vineyard name. |
| modified_since | string | Modified since this time. |
| recorded_after | string | Recorded at or after this time. |
| delivery_docket | string | Delivery docket number. |
| recorded_before | string | Recorded at or before this time. |
{
"name": "vintrace_search_fruit_intakes",
"title": "Search fruit intakes",
"description": "Fruit intake operations (grape deliveries weighed in at the winery): weights, grower, block, vineyard, vintage, docket numbers and metrics. Filter by vintage, grower, vineyard, block or recorded time. Page with first_result and max_results. GET /v6/intake-operations/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"vintage": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "Vintage year."
},
"block_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Block name."
},
"owner_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Fruit owner name."
},
"grower_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Grower name."
},
"max_results": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200.",
"exclusiveMinimum": 0
},
"winery_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Winery name."
},
"first_result": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"intake_docket": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Intake docket number."
},
"vineyard_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Vineyard name."
},
"modified_since": {
"type": "string",
"description": "Modified since this time."
},
"recorded_after": {
"type": "string",
"description": "Recorded at or after this time."
},
"delivery_docket": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Delivery docket number."
},
"recorded_before": {
"type": "string",
"description": "Recorded at or before this time."
}
}
},
"annotations": {
"title": "Search fruit intakes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List stock dispatch actions (bottled goods and dry goods sent out) with routes, items and shipping information. Reply: results plus next_offset. GET /v7/stock/dispatches.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
{
"name": "vintrace_list_stock_dispatches",
"title": "List stock dispatches",
"description": "List stock dispatch actions (bottled goods and dry goods sent out) with routes, items and shipping information. Reply: results plus next_offset. GET /v7/stock/dispatches.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
}
}
},
"annotations": {
"title": "List stock dispatches",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List shipments created by Bulk Dispatch and inter-winery dispatch operations, with destination and wine details. Reply: results plus next_offset. GET /v7/operation/shipments.
| Parameter | Type | Description |
|---|---|---|
| type | string | Operation type. |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| include | string | Extra wine details to include: allocations, metrics, composition, cost (comma-separated). |
| freight_code | string | Freight code name. |
| dispatch_type | string | Dispatch type name. |
| modified_since | string | Only records modified after this time. |
| modified_before | string | Only records modified before this time. |
{
"name": "vintrace_list_shipments",
"title": "List bulk shipments",
"description": "List shipments created by Bulk Dispatch and inter-winery dispatch operations, with destination and wine details. Reply: results plus next_offset. GET /v7/operation/shipments.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Operation type."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"include": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Extra wine details to include: allocations, metrics, composition, cost (comma-separated)."
},
"freight_code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Freight code name."
},
"dispatch_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Dispatch type name."
},
"modified_since": {
"type": "string",
"description": "Only records modified after this time."
},
"modified_before": {
"type": "string",
"description": "Only records modified before this time."
}
}
},
"annotations": {
"title": "List bulk shipments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Bulk wine cost movements between two times (cost of wine moved between batches and wineries), optionally for one winery or business unit. Needs the vintrace permission to view costs. Reply: results plus next_offset. GET /v7/costs/business-unit-transactions.
| Parameter | Type | Description |
|---|---|---|
| end * | string | End of the period (required). |
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| start * | string | Start of the period (required). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| winery_id | integer | Only this winery. |
| winery_name | string | Only the winery with this exact name. |
| business_unit | string | Only this business unit. |
{
"name": "vintrace_list_cost_transactions",
"title": "List bulk wine cost movements",
"description": "Bulk wine cost movements between two times (cost of wine moved between batches and wineries), optionally for one winery or business unit. Needs the vintrace permission to view costs. Reply: results plus next_offset. GET /v7/costs/business-unit-transactions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "End of the period (required)."
},
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"start": {
"type": "string",
"description": "Start of the period (required)."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"winery_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this winery.",
"exclusiveMinimum": 0
},
"winery_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only the winery with this exact name."
},
"business_unit": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this business unit."
}
}
},
"annotations": {
"title": "List bulk wine cost movements",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List brand allocations of bulk wine (how much of a wine is promised to which brand), by status and vintage. Reply: results plus next_offset. GET /v7/allocations/brand-allocations.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-200 (vintrace default 10). |
| offset | integer | Index of the first result (default 0). Pass the previous reply's offset + limit. |
| status | string | Allocation status. |
| vintage | integer | Vintage year. |
| modified_since | string | Only records modified after this time. |
{
"name": "vintrace_list_brand_allocations",
"title": "List brand allocations",
"description": "List brand allocations of bulk wine (how much of a wine is promised to which brand), by status and vintage. Reply: results plus next_offset. GET /v7/allocations/brand-allocations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (vintrace default 10).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Index of the first result (default 0). Pass the previous reply's offset + limit."
},
"status": {
"enum": [
"INCOMPLETE",
"COMPLETE",
"ARCHIVED"
],
"type": "string",
"description": "Allocation status."
},
"vintage": {
"type": "integer",
"maximum": 2200,
"minimum": 1900,
"description": "Vintage year."
},
"modified_since": {
"type": "string",
"description": "Only records modified after this time."
}
}
},
"annotations": {
"title": "List brand allocations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One purchase order with its lines, state and fulfilment. GET /v7/account/purchase-orders/{id}.
| Parameter | Type | Description |
|---|---|---|
| purchase_order_id * | string | vintrace purchase order id. |
{
"name": "vintrace_get_purchase_order",
"title": "Get purchase order",
"description": "One purchase order with its lines, state and fulfilment. GET /v7/account/purchase-orders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"purchase_order_id"
],
"properties": {
"purchase_order_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "vintrace purchase order id."
}
}
},
"annotations": {
"title": "Get purchase order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Stock on hand (bottled wine, dry goods, additives) up to a date: quantity, committed, on order and available per item, location, owner, tax class. breakout_costing needs the view-costs permission. GET /v6/inventory.
| Parameter | Type | Description |
|---|---|---|
| max | integer | Results per page, 1-200 (sent as vintrace's "max"). |
| date | string | Report stock up to this date, excluding later changes. |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| owner_name | string | Only this owner's stock. |
| stock_type | string | Stock type, for example Wine batch, Additive, Closure, Glass/Container, Case x12. |
| breakout_costing | boolean | Break out each item's costs by category (needs the permission). |
{
"name": "vintrace_list_inventory",
"title": "List stock inventory",
"description": "Stock on hand (bottled wine, dry goods, additives) up to a date: quantity, committed, on order and available per item, location, owner, tax class. breakout_costing needs the view-costs permission. GET /v6/inventory.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (sent as vintrace's \"max\").",
"exclusiveMinimum": 0
},
"date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Report stock up to this date, excluding later changes."
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"owner_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only this owner's stock."
},
"stock_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stock type, for example Wine batch, Additive, Closure, Glass/Container, Case x12."
},
"breakout_costing": {
"type": "boolean",
"description": "Break out each item's costs by category (needs the permission)."
}
}
},
"annotations": {
"title": "List stock inventory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Find one stock item by code (matched against the start of the code) or by id: type, unit, owner, accounts, tax class and sub-components. Give code or id. GET /v6/stock/lookup.
| Parameter | Type | Description |
|---|---|---|
| id | integer | Stock item id. |
| code | string | Stock item code (start of code). |
{
"name": "vintrace_lookup_stock_item",
"title": "Look up stock item",
"description": "Find one stock item by code (matched against the start of the code) or by id: type, unit, owner, accounts, tax class and sub-components. Give code or id. GET /v6/stock/lookup.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Stock item id.",
"exclusiveMinimum": 0
},
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stock item code (start of code)."
}
}
},
"annotations": {
"title": "Look up stock item",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One stock item by id with optional detail parts: expand=fields,distributions,notes,historyItems,rawComponents,bulkInfo. GET /v6/mrp/stock/{id}.
| Parameter | Type | Description |
|---|---|---|
| expand | string | Comma-separated parts to expand: fields, distributions, notes, historyItems, rawComponents, bulkInfo. |
| stock_item_id * | integer | vintrace stock item id (from vintrace_lookup_stock_item or vintrace_list_inventory). |
{
"name": "vintrace_get_stock_item",
"title": "Get stock item details",
"description": "One stock item by id with optional detail parts: expand=fields,distributions,notes,historyItems,rawComponents,bulkInfo. GET /v6/mrp/stock/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"stock_item_id"
],
"properties": {
"expand": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Comma-separated parts to expand: fields, distributions, notes, historyItems, rawComponents, bulkInfo."
},
"stock_item_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace stock item id (from vintrace_lookup_stock_item or vintrace_list_inventory).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get stock item details",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The notes recorded on a stock item. GET /v6/mrp/stock/{id}/notes.
| Parameter | Type | Description |
|---|---|---|
| max_result | integer | Notes per page, 1-200. |
| first_result | integer | Start index of the page (default 0; vintrace "first"). |
| stock_item_id * | integer | vintrace stock item id. |
{
"name": "vintrace_list_stock_item_notes",
"title": "List stock item notes",
"description": "The notes recorded on a stock item. GET /v6/mrp/stock/{id}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"stock_item_id"
],
"properties": {
"max_result": {
"type": "integer",
"maximum": 200,
"description": "Notes per page, 1-200.",
"exclusiveMinimum": 0
},
"first_result": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"stock_item_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace stock item id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List stock item notes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List wine products as they sit in vessels: batch code, vessel, volume, colour, state and the latest lab metrics (TSO2, pH, Brix...). skip_metrics=true makes it faster. barcode matches a vessel code or asset id. GET /v6/products/list.
| Parameter | Type | Description |
|---|---|---|
| max | integer | Results per page, 1-200 (sent as vintrace's "max"). |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| barcode | string | A vessel code or asset id. |
| skip_metrics | boolean | Leave out the metric measurements. |
{
"name": "vintrace_list_products",
"title": "List products (wines in vessels)",
"description": "List wine products as they sit in vessels: batch code, vessel, volume, colour, state and the latest lab metrics (TSO2, pH, Brix...). skip_metrics=true makes it faster. barcode matches a vessel code or asset id. GET /v6/products/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (sent as vintrace's \"max\").",
"exclusiveMinimum": 0
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"barcode": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A vessel code or asset id."
},
"skip_metrics": {
"type": "boolean",
"description": "Leave out the metric measurements."
}
}
},
"annotations": {
"title": "List products",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One wine product by id (or by vessel barcode) with its vessel, volume and metrics. GET /v6/products/{id}.
| Parameter | Type | Description |
|---|---|---|
| barcode | string | A vessel code or asset id. |
| product_id * | integer | vintrace product id. |
{
"name": "vintrace_get_product",
"title": "Get product",
"description": "One wine product by id (or by vessel barcode) with its vessel, volume and metrics. GET /v6/products/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"product_id"
],
"properties": {
"barcode": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "A vessel code or asset id."
},
"product_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace product id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get product",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List sales orders with customer, status, price list, line items, totals and invoice date. Filter by status, customer, order date range or invoice date range. GET /v6/sales-order/list.
| Parameter | Type | Description |
|---|---|---|
| max | integer | Results per page, 1-200 (sent as vintrace's "max"). |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| status | string | Sales order status. |
| end_date | string | Orders on or before this date. |
| start_date | string | Orders on or after this date. |
| starts_with | string | Order name starts with this. |
| customer_name | string | Customer name. |
| invoice_end_date | string | Invoiced on or before this date. |
| invoice_start_date | string | Invoiced on or after this date. |
| external_transaction_id | string | External transaction id linked to the order. |
{
"name": "vintrace_list_sales_orders",
"title": "List sales orders",
"description": "List sales orders with customer, status, price list, line items, totals and invoice date. Filter by status, customer, order date range or invoice date range. GET /v6/sales-order/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (sent as vintrace's \"max\").",
"exclusiveMinimum": 0
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"status": {
"enum": [
"New",
"Approved",
"Payment in Progress",
"Paid"
],
"type": "string",
"description": "Sales order status."
},
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Orders on or before this date."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Orders on or after this date."
},
"starts_with": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Order name starts with this."
},
"customer_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Customer name."
},
"invoice_end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Invoiced on or before this date."
},
"invoice_start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Invoiced on or after this date."
},
"external_transaction_id": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "External transaction id linked to the order."
}
}
},
"annotations": {
"title": "List sales orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One sales order by id, or by order code (for example VSO20): customer, items, prices, taxes and status. Give exactly one. GET /v6/sales-order/{id} or /v6/sales-order?code=.
| Parameter | Type | Description |
|---|---|---|
| code | string | Sales order code, e.g. VSO20. |
| sales_order_id | integer | vintrace sales order id. |
{
"name": "vintrace_get_sales_order",
"title": "Get sales order",
"description": "One sales order by id, or by order code (for example VSO20): customer, items, prices, taxes and status. Give exactly one. GET /v6/sales-order/{id} or /v6/sales-order?code=.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Sales order code, e.g. VSO20."
},
"sales_order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace sales order id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get sales order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List parties: customers, growers, suppliers and owners, individuals or organisations, with address, phone and email. Filter by the start of the name and category. GET /v6/party/list.
| Parameter | Type | Description |
|---|---|---|
| max | integer | Results per page, 1-200 (sent as vintrace's "max"). |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| category | string | Party category (default All). |
| starts_with | string | Surname (individuals) or company name starts with this. |
{
"name": "vintrace_list_parties",
"title": "List parties (customers, growers, owners)",
"description": "List parties: customers, growers, suppliers and owners, individuals or organisations, with address, phone and email. Filter by the start of the name and category. GET /v6/party/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (sent as vintrace's \"max\").",
"exclusiveMinimum": 0
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"category": {
"enum": [
"All",
"Individuals",
"Organisations"
],
"type": "string",
"description": "Party category (default All)."
},
"starts_with": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Surname (individuals) or company name starts with this."
}
}
},
"annotations": {
"title": "List parties",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One party (customer, grower, supplier, owner) by id, or by exact name. Give exactly one. GET /v6/party/{id} or /v6/party?name=.
| Parameter | Type | Description |
|---|---|---|
| name | string | Exact party name. |
| party_id | integer | vintrace party id. |
{
"name": "vintrace_get_party",
"title": "Get party",
"description": "One party (customer, grower, supplier, owner) by id, or by exact name. Give exactly one. GET /v6/party/{id} or /v6/party?name=.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Exact party name."
},
"party_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace party id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get party",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One work order by id: every job with its steps, summary text, status and assignee. Find the id with vintrace_list_work_orders or vintrace_list_work_orders_v6. GET /v6/workorders/{id}.
| Parameter | Type | Description |
|---|---|---|
| work_order_id * | integer | vintrace work order id (the number, not the TWL code). |
{
"name": "vintrace_get_work_order",
"title": "Get work order",
"description": "One work order by id: every job with its steps, summary text, status and assignee. Find the id with vintrace_list_work_orders or vintrace_list_work_orders_v6. GET /v6/workorders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"work_order_id"
],
"properties": {
"work_order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace work order id (the number, not the TWL code).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get work order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Work orders from the operator's point of view (what is waiting for me / unassigned), with job counts, status and scheduled dates. Defaults to the last 7 days to 3 days ahead. GET /v6/workorders/list.
| Parameter | Type | Description |
|---|---|---|
| max | integer | Results per page, 1-200 (sent as vintrace's "max"). |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| state | string | Status filter (default ANY). |
| to_date | string | Scheduled on or before this date. |
| from_date | string | Scheduled on or after this date. |
| winery_id | integer | Only this winery. |
| assigned_to | string | Assignment filter (default AVAILABLE_TO_ME). |
| starts_with | string | Work order name starts with this. |
{
"name": "vintrace_list_work_orders_v6",
"title": "List work orders (operator view)",
"description": "Work orders from the operator's point of view (what is waiting for me / unassigned), with job counts, status and scheduled dates. Defaults to the last 7 days to 3 days ahead. GET /v6/workorders/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"max": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (sent as vintrace's \"max\").",
"exclusiveMinimum": 0
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"state": {
"enum": [
"ANY",
"IN_PROGRESS",
"NOT_STARTED",
"SUBMITTED",
"INCOMPLETE"
],
"type": "string",
"description": "Status filter (default ANY)."
},
"to_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Scheduled on or before this date."
},
"from_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Scheduled on or after this date."
},
"winery_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this winery.",
"exclusiveMinimum": 0
},
"assigned_to": {
"enum": [
"AVAILABLE_TO_ME",
"ANYONE",
"MINE_ONLY",
"UNASSIGNED"
],
"type": "string",
"description": "Assignment filter (default AVAILABLE_TO_ME)."
},
"starts_with": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Work order name starts with this."
}
}
},
"annotations": {
"title": "List work orders (operator view)",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Look up names and ids of one kind of item: growers, owners, blocks, varietals, vintages, regions, programs, batches, products, tanks, barrels, bins and more. Use it to find the id or exact name another tool needs. GET /v6/search/list.
| Parameter | Type | Description |
|---|---|---|
| type * | string | The kind of item to list. |
| first | integer | Start index of the page (default 0; vintrace "first"). |
| exact_match | boolean | True: the name must equal starts_with (default is a like match). |
| starts_with | string | Name starts with this. |
{
"name": "vintrace_search_items",
"title": "Search vintrace items by type",
"description": "Look up names and ids of one kind of item: growers, owners, blocks, varietals, vintages, regions, programs, batches, products, tanks, barrels, bins and more. Use it to find the id or exact name another tool needs. GET /v6/search/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"grading",
"owner",
"program",
"varietal",
"vintage",
"productState",
"region",
"block",
"grower",
"productCategory",
"batch",
"product",
"tank",
"vessel",
"containerEquipment",
"barrel",
"bin"
],
"type": "string",
"description": "The kind of item to list."
},
"first": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index of the page (default 0; vintrace \"first\")."
},
"exact_match": {
"type": "boolean",
"description": "True: the name must equal starts_with (default is a like match)."
},
"starts_with": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name starts with this."
}
}
},
"annotations": {
"title": "Search vintrace items by type",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: adds a new note to a vintrace stock item (visible to everyone in the winery, recorded under the token's user). Adding the same note twice creates two notes. POST /v6/mrp/stock/{id}/notes.
| Parameter | Type | Description |
|---|---|---|
| detail * | string | The note text. |
| subject | string | Optional subject line. |
| stock_item_id * | integer | vintrace stock item id. |
{
"name": "vintrace_add_stock_item_note",
"title": "Add a note to a stock item",
"description": "WRITE: adds a new note to a vintrace stock item (visible to everyone in the winery, recorded under the token's user). Adding the same note twice creates two notes. POST /v6/mrp/stock/{id}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"stock_item_id",
"detail"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The note text."
},
"subject": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Optional subject line."
},
"stock_item_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace stock item id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add a note to a stock item",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: assigns a work order to the token's own vintrace user (or to assign_operator_id), so it shows up in that operator's list. With reassign=true it takes over a work order already assigned to someone else. Check the work order first with vintrace_get_work_order. POST /v6/workorders/assign.
| Parameter | Type | Description |
|---|---|---|
| job_id | integer | Only this job of the work order. |
| reassign | boolean | Reassign even if it is already assigned to another operator (default false). |
| work_order_id * | integer | vintrace work order id. |
| assign_operator_id | integer | vintrace user id to assign to (default: the token's user). |
{
"name": "vintrace_assign_work_order",
"title": "Assign a work order",
"description": "WRITE: assigns a work order to the token's own vintrace user (or to assign_operator_id), so it shows up in that operator's list. With reassign=true it takes over a work order already assigned to someone else. Check the work order first with vintrace_get_work_order. POST /v6/workorders/assign.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"work_order_id"
],
"properties": {
"job_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this job of the work order.",
"exclusiveMinimum": 0
},
"reassign": {
"type": "boolean",
"description": "Reassign even if it is already assigned to another operator (default false)."
},
"work_order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace work order id.",
"exclusiveMinimum": 0
},
"assign_operator_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "vintrace user id to assign to (default: the token's user).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Assign a work order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: deactivates a fruit booking so it no longer counts as an active booking (the record is kept; it is not deleted). Use vintrace_list_bookings to find the booking id first. POST /v7/operation/bookings/{id}/deactivation.
| Parameter | Type | Description |
|---|---|---|
| booking_id * | string | vintrace booking id. |
{
"name": "vintrace_deactivate_booking",
"title": "Deactivate a fruit booking",
"description": "WRITE: deactivates a fruit booking so it no longer counts as an active booking (the record is kept; it is not deleted). Use vintrace_list_bookings to find the booking id first. POST /v7/operation/bookings/{id}/deactivation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"booking_id"
],
"properties": {
"booking_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "vintrace booking id."
}
}
},
"annotations": {
"title": "Deactivate a fruit booking",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for vintrace, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which tanks and barrels hold our 2026 Chardonnay and how much is in each?"; "What work orders are scheduled for this week and who are they assigned to?"; "Show the lab requests that are still waiting for results.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes vintrace data. Free plan: 50 tool calls per month. Run vintrace_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run vintrace_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run vintrace_upgrade without a plan: it returns both plans, each with a payment link for the user to open. vintrace_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.