MarketTime MCP by usefulapi is an MCP server published by io.usefulapi, hosted at markettime.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including markettime_list_manufacturers, markettime_get_manufacturer, markettime_list_orders, markettime_list_order_details, markettime_get_order_changes_history.
MCP server for MarketTime — wholesale orders, customers, catalog and shipment tracking.
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 the manufacturers (brands) connected to this account: id, name, email, city, category, connection date. Sort fields: name (default), manufacturerID, connectionDate, dateAdded, dateModified, city. GET /manufacturers.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort field, e.g. name, connectionDate, dateModified. |
| active | boolean | true = only active manufacturers, false = only inactive. |
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| sort_direction |
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.
| string |
| Sort direction (MarketTime's default is descending). |
{
"name": "markettime_list_manufacturers",
"title": "List manufacturers",
"description": "List the manufacturers (brands) connected to this account: id, name, email, city, category, connection date. Sort fields: name (default), manufacturerID, connectionDate, dateAdded, dateModified, city. GET /manufacturers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"type": "string",
"pattern": "^[A-Za-z]{1,40}$",
"description": "Sort field, e.g. name, connectionDate, dateModified."
},
"active": {
"type": "boolean",
"description": "true = only active manufacturers, false = only inactive."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
}
}
},
"annotations": {
"title": "List manufacturers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One manufacturer's details by its id (like M123). GET /manufacturers/{id}.
| Parameter | Type | Description |
|---|---|---|
| manufacturer_id * | string | The MarketTime id. |
{
"name": "markettime_get_manufacturer",
"title": "Get manufacturer",
"description": "One manufacturer's details by its id (like M123). GET /manufacturers/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"manufacturer_id"
],
"properties": {
"manufacturer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
}
}
},
"annotations": {
"title": "Get manufacturer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search wholesale orders (for the newest first use sort_field orderDate with sort_direction desc). Convenience filters: status (the manufacturer's order status, e.g. NEW, SENT, SHIPPED), rep_group_status (Rep Group accounts only), po_number, customer_name (contains), manufacturer_id, customer_id, ordered_from/ordered_to (order date), modified_since. Order lines are left out unless include_details is true (they make replies large; use markettime_list_order_details for the lines of one order). Card tokens are never returned. POST /orders/get.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| status | string | manufacturerOrderStatus equals this value. |
| filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| po_number | string | Purchase order number equals this value. |
| ordered_to | string | A date, yyyy-mm-dd. |
| sort_field | string | Sort field, e.g. orderDate, dateModified, orderTotal, poNumber. |
| customer_id | string | Customer (retailer) id, like B123. |
| ordered_from | string | A date, yyyy-mm-dd. |
| customer_name | string | Customer (retailer) name contains this text. |
| modified_since | string | Only orders changed on or after this date. |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
| include_details | boolean | Include the order lines (default false). |
| manufacturer_id | string | The MarketTime id. |
| rep_group_status | string | repGroupOrderStatus equals this value (Rep Group accounts). |
{
"name": "markettime_list_orders",
"title": "List orders",
"description": "Search wholesale orders (for the newest first use sort_field orderDate with sort_direction desc). Convenience filters: status (the manufacturer's order status, e.g. NEW, SENT, SHIPPED), rep_group_status (Rep Group accounts only), po_number, customer_name (contains), manufacturer_id, customer_id, ordered_from/ordered_to (order date), modified_since. Order lines are left out unless include_details is true (they make replies large; use markettime_list_order_details for the lines of one order). Card tokens are never returned. POST /orders/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"status": {
"type": "string",
"maxLength": 60,
"description": "manufacturerOrderStatus equals this value."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Field name on the record, e.g. orderDate, name, dateModified."
},
"value": {
"type": "string",
"maxLength": 200,
"description": "The value to compare with (dates as yyyy-mm-dd)."
},
"operator": {
"enum": [
"eq",
"ne",
"gt",
"lt",
"gte",
"lte",
"starts_with",
"ends_with",
"contains"
],
"type": "string",
"description": "Comparison; starts_with, ends_with and contains work on text fields only."
}
}
},
"maxItems": 20,
"description": "Extra filters, all combined with AND. Use field names from the record shape of this tool's replies."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"po_number": {
"type": "string",
"maxLength": 100,
"description": "Purchase order number equals this value."
},
"ordered_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"sort_field": {
"type": "string",
"pattern": "^[A-Za-z0-9]{1,40}$",
"description": "Sort field, e.g. orderDate, dateModified, orderTotal, poNumber."
},
"customer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "Customer (retailer) id, like B123."
},
"ordered_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"customer_name": {
"type": "string",
"maxLength": 100,
"description": "Customer (retailer) name contains this text."
},
"modified_since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only orders changed on or after this date."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
},
"include_details": {
"type": "boolean",
"description": "Include the order lines (default false)."
},
"manufacturer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
},
"rep_group_status": {
"type": "string",
"maxLength": 60,
"description": "repGroupOrderStatus equals this value (Rep Group accounts)."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List order lines (item, quantity, unit price) across orders or for one order (order_id). Filters: order dates, statuses, manufacturer, PO number, unit price range. GET /orders/orderdetails.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| order_id | integer | Only the lines of this order (the order's recordID). |
| page_size | integer | Rows per page, 1-250 (default 50). |
| po_number | string | |
| ordered_to | string | A date, yyyy-mm-dd. |
| sort_field | string | one of ["orderID","itemNumber","quantity","unitPrice","PONumber"] |
| ordered_from | string | A date, yyyy-mm-dd. |
| max_unit_price | number | |
| min_unit_price | number | |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
| manufacturer_id | string | The MarketTime id. |
| rep_group_status | string | |
| manufacturer_status | string |
{
"name": "markettime_list_order_details",
"title": "List order lines",
"description": "List order lines (item, quantity, unit price) across orders or for one order (order_id). Filters: order dates, statuses, manufacturer, PO number, unit price range. GET /orders/orderdetails.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only the lines of this order (the order's recordID).",
"exclusiveMinimum": 0
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"po_number": {
"type": "string",
"maxLength": 100
},
"ordered_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"sort_field": {
"enum": [
"orderID",
"itemNumber",
"quantity",
"unitPrice",
"PONumber"
],
"type": "string"
},
"ordered_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"max_unit_price": {
"type": "number",
"minimum": 0
},
"min_unit_price": {
"type": "number",
"minimum": 0
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
},
"manufacturer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
},
"rep_group_status": {
"type": "string",
"maxLength": 60
},
"manufacturer_status": {
"type": "string",
"maxLength": 60
}
}
},
"annotations": {
"title": "List order lines",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The audit trail of one order: who changed what and when (Rep Group accounts). POST /orders/{orderId}/orderChangesHistory/get (a read-only search).
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| order_id * | integer | The order's recordID. |
| page_size | integer | Rows per page, 1-250 (default 50). |
{
"name": "markettime_get_order_changes_history",
"title": "Get order changes history",
"description": "The audit trail of one order: who changed what and when (Rep Group accounts). POST /orders/{orderId}/orderChangesHistory/get (a read-only search).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The order's recordID.",
"exclusiveMinimum": 0
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get order changes history",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Shipment and tracking records of one order (tracking number, link, carrier, ship date, invoice). GET /orders/{orderId}/trackingdetails/get.
| Parameter | Type | Description |
|---|---|---|
| order_id * | integer | The order's recordID. |
{
"name": "markettime_list_order_shipments",
"title": "List order shipments",
"description": "Shipment and tracking records of one order (tracking number, link, carrier, ship date, invoice). GET /orders/{orderId}/trackingdetails/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The order's recordID.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List order shipments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List customers (retailers/buyers) with name, email, address, status (ACTIVE, INACTIVE, LEAD), customer number and salesperson. Filters: name (contains), state, status, modified_since. The customers' own API keys are never returned. POST /customers/get.
| Parameter | Type | Description |
|---|---|---|
| name | string | Customer name contains this text. |
| state | string | State equals this value. |
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| status | string | one of ["ACTIVE","INACTIVE","LEAD"] |
| filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| sort_field | string | customerNumber: Rep Group accounts only; accountNumber and shipToAccountNumber: Manufacturer accounts only. |
| rep_group_id | string | Manufacturer accounts only: limit to this Rep Group's customers. |
| modified_since | string | Only customers changed on or after this date. |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
{
"name": "markettime_list_customers",
"title": "List customers",
"description": "List customers (retailers/buyers) with name, email, address, status (ACTIVE, INACTIVE, LEAD), customer number and salesperson. Filters: name (contains), state, status, modified_since. The customers' own API keys are never returned. POST /customers/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "Customer name contains this text."
},
"state": {
"type": "string",
"maxLength": 40,
"description": "State equals this value."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"status": {
"enum": [
"ACTIVE",
"INACTIVE",
"LEAD"
],
"type": "string"
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Field name on the record, e.g. orderDate, name, dateModified."
},
"value": {
"type": "string",
"maxLength": 200,
"description": "The value to compare with (dates as yyyy-mm-dd)."
},
"operator": {
"enum": [
"eq",
"ne",
"gt",
"lt",
"gte",
"lte",
"starts_with",
"ends_with",
"contains"
],
"type": "string",
"description": "Comparison; starts_with, ends_with and contains work on text fields only."
}
}
},
"maxItems": 20,
"description": "Extra filters, all combined with AND. Use field names from the record shape of this tool's replies."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"sort_field": {
"enum": [
"name",
"state",
"zip",
"active",
"status",
"dateAdded",
"dateModified",
"salespersonID",
"externalID",
"customerNumber",
"accountNumber",
"shipToAccountNumber"
],
"type": "string",
"description": "customerNumber: Rep Group accounts only; accountNumber and shipToAccountNumber: Manufacturer accounts only."
},
"rep_group_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "Manufacturer accounts only: limit to this Rep Group's customers."
},
"modified_since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only customers changed on or after this date."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One customer's full record by id (like B123): addresses, contacts, ship-to locations, terms, pricing method. Their API key is never returned. GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | string | The MarketTime id. |
| rep_group_id | string | Manufacturer accounts only: the Rep Group the customer belongs to. |
{
"name": "markettime_get_customer",
"title": "Get customer",
"description": "One customer's full record by id (like B123): addresses, contacts, ship-to locations, terms, pricing method. Their API key is never returned. GET /customers/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
},
"rep_group_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "Manufacturer accounts only: the Rep Group the customer belongs to."
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The contact people of one customer (name, email, phone, title). GET /customers/{id}/contacts.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| customer_id * | string | The MarketTime id. |
{
"name": "markettime_list_customer_contacts",
"title": "List customer contacts",
"description": "The contact people of one customer (name, email, phone, title). GET /customers/{id}/contacts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
}
}
},
"annotations": {
"title": "List customer contacts",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The ship-to locations of one customer (name, address, account number). GET /customers/{id}/shiptolocations.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| customer_id * | string | The MarketTime id. |
{
"name": "markettime_list_customer_ship_to_locations",
"title": "List customer ship-to locations",
"description": "The ship-to locations of one customer (name, address, account number). GET /customers/{id}/shiptolocations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
}
}
},
"annotations": {
"title": "List customer ship-to locations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search the product catalog: item number, name, prices, case quantity, stock, UPC, categories, images. Filters: name (contains), item_number, manufacturer_id, modified_since. POST /items/get.
| Parameter | Type | Description |
|---|---|---|
| name | string | Item name contains this text. |
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| sort_field | string | one of ["dateAdded","dateModified","itemLine","recordID","itemNumber","manufacturerID","name","externalID"] |
| item_number | string | Item number equals this value. |
| modified_since | string | Only items changed on or after this date. |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
| manufacturer_id | string | The MarketTime id. |
{
"name": "markettime_list_items",
"title": "List items",
"description": "Search the product catalog: item number, name, prices, case quantity, stock, UPC, categories, images. Filters: name (contains), item_number, manufacturer_id, modified_since. POST /items/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "Item name contains this text."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Field name on the record, e.g. orderDate, name, dateModified."
},
"value": {
"type": "string",
"maxLength": 200,
"description": "The value to compare with (dates as yyyy-mm-dd)."
},
"operator": {
"enum": [
"eq",
"ne",
"gt",
"lt",
"gte",
"lte",
"starts_with",
"ends_with",
"contains"
],
"type": "string",
"description": "Comparison; starts_with, ends_with and contains work on text fields only."
}
}
},
"maxItems": 20,
"description": "Extra filters, all combined with AND. Use field names from the record shape of this tool's replies."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"sort_field": {
"enum": [
"dateAdded",
"dateModified",
"itemLine",
"recordID",
"itemNumber",
"manufacturerID",
"name",
"externalID"
],
"type": "string"
},
"item_number": {
"type": "string",
"maxLength": 100,
"description": "Item number equals this value."
},
"modified_since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only items changed on or after this date."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
},
"manufacturer_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_.:-]+$",
"maxLength": 64,
"minLength": 1,
"description": "The MarketTime id."
}
}
},
"annotations": {
"title": "List items",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One catalog item by its numeric record id (the recordID/itemID in item lists). GET /items/{itemID}.
| Parameter | Type | Description |
|---|---|---|
| item_id * | integer |
{
"name": "markettime_get_item",
"title": "Get item",
"description": "One catalog item by its numeric record id (the recordID/itemID in item lists). GET /items/{itemID}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"item_id"
],
"properties": {
"item_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get item",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Stock levels per item: quantity available, quantity on the water, next available date, availability flag. Sort fields: itemNumber, nextAvailableDate, qtyAvailable, isAvailable. GET /items/inventory.
| Parameter | Type | Description |
|---|---|---|
| sort | string | one of ["itemNumber","nextAvailableDate","qtyAvailable","isAvailable"] |
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
{
"name": "markettime_list_item_inventory",
"title": "List item inventory",
"description": "Stock levels per item: quantity available, quantity on the water, next available date, availability flag. Sort fields: itemNumber, nextAvailableDate, qtyAvailable, isAvailable. GET /items/inventory.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"itemNumber",
"nextAvailableDate",
"qtyAvailable",
"isAvailable"
],
"type": "string"
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
}
}
},
"annotations": {
"title": "List item inventory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Pricing detail per item (unit price, retail price, price codes, discounts). GET /items/pricing.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
{
"name": "markettime_list_item_pricing",
"title": "List item pricing",
"description": "Pricing detail per item (unit price, retail price, price codes, discounts). GET /items/pricing.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List item pricing",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the Rep Group's salespeople (name, abbreviation, status, ids). Rep Group accounts only. POST /salespersons/get.
| Parameter | Type | Description |
|---|---|---|
| name | string | Name contains this text. |
| offset | integer | Start index (default 0). Pass the previous reply's next_offset. |
| page_size | integer | Rows per page, 1-250 (default 50). |
| sort_field | string | one of ["dateAdded","dateModified","name","status","abbreviation","active","recordID","externalID"] |
| sort_direction | string | Sort direction (MarketTime's default is descending). |
{
"name": "markettime_list_salespersons",
"title": "List salespersons",
"description": "List the Rep Group's salespeople (name, abbreviation, status, ids). Rep Group accounts only. POST /salespersons/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "Name contains this text."
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Start index (default 0). Pass the previous reply's next_offset."
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"sort_field": {
"enum": [
"dateAdded",
"dateModified",
"name",
"status",
"abbreviation",
"active",
"recordID",
"externalID"
],
"type": "string"
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (MarketTime's default is descending)."
}
}
},
"annotations": {
"title": "List salespersons",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Order payment and commission records (what was paid on which order, commission percent), Rep Group accounts only. Filters: order_id, modified_since, or custom filters (allowed fields: orderID, checkLogID, invoiceNumber, type, commissionPayDate, salespersonPaidID, dateAdded, dateModified). Card tokens and card data are never returned. Paged by page number. POST /commissions/orderpayments/get.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| filters | array | Extra filters, all combined with AND. Use field names from the record shape of this tool's replies. |
| order_id | integer | Only payments of this order (field orderID). |
| page_size | integer | Rows per page, 1-250 (default 50). |
| modified_since | string | A date, yyyy-mm-dd. |
{
"name": "markettime_list_commission_order_payments",
"title": "List commission order payments",
"description": "Order payment and commission records (what was paid on which order, commission percent), Rep Group accounts only. Filters: order_id, modified_since, or custom filters (allowed fields: orderID, checkLogID, invoiceNumber, type, commissionPayDate, salespersonPaidID, dateAdded, dateModified). Card tokens and card data are never returned. Paged by page number. POST /commissions/orderpayments/get.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"operator",
"value"
],
"properties": {
"field": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Field name on the record, e.g. orderDate, name, dateModified."
},
"value": {
"type": "string",
"maxLength": 200,
"description": "The value to compare with (dates as yyyy-mm-dd)."
},
"operator": {
"enum": [
"eq",
"ne",
"gt",
"lt",
"gte",
"lte",
"starts_with",
"ends_with",
"contains"
],
"type": "string",
"description": "Comparison; starts_with, ends_with and contains work on text fields only."
}
}
},
"maxItems": 20,
"description": "Extra filters, all combined with AND. Use field names from the record shape of this tool's replies."
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only payments of this order (field orderID).",
"exclusiveMinimum": 0
},
"page_size": {
"type": "integer",
"maximum": 250,
"description": "Rows per page, 1-250 (default 50).",
"exclusiveMinimum": 0
},
"modified_since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "List commission order payments",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: add a shipment with tracking to an order (manufacturer accounts only). This creates a new shipment record each time it is called (it is not idempotent) and MarketTime may notify the customer of the tracking details; calling it twice makes a duplicate. Check markettime_list_order_shipments first. POST /orders/{orderId}/trackingdetails.
| Parameter | Type | Description |
|---|---|---|
| notes | string | |
| order_id * | integer | The order's recordID. |
| ship_date | string | A date, yyyy-mm-dd. |
| tracking_link * | string | The carrier's tracking URL (https). |
| invoice_amount | number | |
| invoice_number | string | |
| shipping_method * | string | Carrier / shipping method, e.g. UPS Ground. |
| tracking_number * | string |
{
"name": "markettime_create_order_shipment",
"title": "Create order shipment",
"description": "WRITE: add a shipment with tracking to an order (manufacturer accounts only). This creates a new shipment record each time it is called (it is not idempotent) and MarketTime may notify the customer of the tracking details; calling it twice makes a duplicate. Check markettime_list_order_shipments first. POST /orders/{orderId}/trackingdetails.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id",
"tracking_number",
"tracking_link",
"shipping_method"
],
"properties": {
"notes": {
"type": "string",
"maxLength": 250
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The order's recordID.",
"exclusiveMinimum": 0
},
"ship_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "A date, yyyy-mm-dd."
},
"tracking_link": {
"type": "string",
"format": "uri",
"maxLength": 500,
"description": "The carrier's tracking URL (https)."
},
"invoice_amount": {
"type": "number",
"minimum": 0
},
"invoice_number": {
"type": "string",
"maxLength": 50
},
"shipping_method": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Carrier / shipping method, e.g. UPS Ground."
},
"tracking_number": {
"type": "string",
"maxLength": 100,
"minLength": 1
}
}
},
"annotations": {
"title": "Create order shipment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: create a new customer (retailer) account record. It is not idempotent: calling it twice may create two customers, so search with markettime_list_customers by name first. Does not send an invitation by itself. POST /customers.
| Parameter | Type | Description |
|---|---|---|
| zip | string | |
| city | string | |
| name * | string | |
| email * | string | |
| notes | string | |
| phone * | string | Phone number, at most 12 characters (MarketTime limit). |
| state | string | |
| status | string | Customer status (default chosen by MarketTime). |
| country | string | Country code, at most 4 characters (e.g. US). |
| website | string | |
| address1 | string | |
| address2 | string | |
| external_id | string | Your own id for this customer, to link external systems. |
{
"name": "markettime_create_customer",
"title": "Create customer",
"description": "WRITE: create a new customer (retailer) account record. It is not idempotent: calling it twice may create two customers, so search with markettime_list_customers by name first. Does not send an invitation by itself. POST /customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"email",
"phone"
],
"properties": {
"zip": {
"type": "string",
"maxLength": 20
},
"city": {
"type": "string",
"maxLength": 50
},
"name": {
"type": "string",
"maxLength": 50,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 80
},
"notes": {
"type": "string",
"maxLength": 5000
},
"phone": {
"type": "string",
"maxLength": 12,
"minLength": 3,
"description": "Phone number, at most 12 characters (MarketTime limit)."
},
"state": {
"type": "string",
"maxLength": 50
},
"status": {
"enum": [
"ACTIVE",
"INACTIVE",
"LEAD"
],
"type": "string",
"description": "Customer status (default chosen by MarketTime)."
},
"country": {
"type": "string",
"maxLength": 4,
"description": "Country code, at most 4 characters (e.g. US)."
},
"website": {
"type": "string",
"maxLength": 150
},
"address1": {
"type": "string",
"maxLength": 100
},
"address2": {
"type": "string",
"maxLength": 50
},
"external_id": {
"type": "string",
"maxLength": 50,
"description": "Your own id for this customer, to link external systems."
}
}
},
"annotations": {
"title": "Create customer",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Tools for MarketTime, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which orders came in this week and what is still unshipped?"; "Show the lines of the latest order from Main Street Boutique."; "Which items are out of stock or low on inventory?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes MarketTime data. Free plan: 50 tool calls per month. Run markettime_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 markettime_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 markettime_upgrade without a plan: it returns both plans, each with a payment link for the user to open. markettime_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.