eCellar MCP by usefulapi

v1.7.1
io.usefulapi/ecellar Checked 2 days ago Published 1 day ago

Read orders, customers, club and stock; add tracking, mark shipped and adjust stock in eCellar.

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

ecellar_get_reference_data Get reference data

Lookup lists of the winery's eCellar account: brands = brands (brand_key + name); locations = locations (location_id, name, timezone); customer_types = customer types; customer_sources = customer sources; customer_tags = customer tags; order_tags = order tags (tag groups and tags); reservation_types = reservation types; terminals = POS terminals; billing_statuses = billing statuses (enum values for the orders filter billing_statuses); purchase_statuses = order statuses (enum values for the orders filter purchase_statuses); purchase_sources = order sources (Web, POS, club, phone...); carriers =…

ParameterTypeDescription
kind *stringWhich list to return.

ecellar_search_customers Search customers

Customers (club members and buyers) with contact details, type, source, tags, email consent and default addresses. Personal data: use only what the task needs. POST /customers. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
customer_idsarrayOnly these customer ids.
customer_type_idsarrayOnly these customer type ids.
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
signup_date_endstringsignup date end (inclusive range bound).
signup_date_startstringsignup date start (inclusive range bound).

ecellar_search_addresses Search customer addresses

Customer billing and shipping addresses. POST /addresses. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
address_idsarrayOnly these address ids.
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
customer_idsarrayOnly these customer ids.
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_search_notes Search customer notes

Notes on customer records (type, text, dates). POST /notes. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
customer_idsarrayOnly these customer ids.
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_search_orders Search orders

Orders (web, POS, club and phone) with totals, status, billing and shipping details, and their lines, payments, tracking records and tags. Statuses are the enum values from ecellar_get_reference_data purchase_statuses / billing_statuses. Contains customer personal data. POST /orders. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
billing_statusesarrayOnly orders with these billing statuses (enum values).
brand_keysarrayOnly these brands (brand_key values from ecellar_list_brands).
close_date_endstringclose date end (inclusive range bound).
close_date_startstringclose date start (inclusive range bound).
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
customer_idsarrayOnly these customer ids.
funds_captured_date_endstringfunds captured date end (inclusive range bound).
funds_captured_date_startstringfunds captured date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
purchase_idsarrayOnly these order ids.
purchase_statusesarrayOnly orders in these statuses (enum values).

ecellar_search_order_lines Search order lines

Order lines (product, SKU, quantity, price, discount, tax) across orders. POST /orders/lines. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
purchase_idsarrayOnly these order ids.

ecellar_search_order_payments Search order payments

Order payments (amount, type, billing status, dates, card brand, last digits and expiry; no card numbers). POST /orders/payments. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
billing_statusesarrayOnly payments with these billing statuses (enum values).
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
funds_captured_date_endstringfunds captured date end (inclusive range bound).
funds_captured_date_startstringfunds captured date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
purchase_idsarrayOnly these order ids.

ecellar_search_order_trackings Search order tracking records

Carrier tracking records of orders (carrier, tracking number, shipped and delivered dates). POST /orders/trackings. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
purchase_idsarrayOnly these order ids.

ecellar_search_products Search products

Products (wines and merchandise): name, SKU, price, vintage-related fields, categories and inventory SKUs. POST /products. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_search_product_categories Search product categories

Product categories (tree: parent_category_id, category_id, name). POST /products/categories. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_get_inventory_counts Get inventory counts

Current inventory per SKU and location: on_hand, on_hold, invoiced and available. Filter by SKUs and/or locations (ids or names from ecellar_get_reference_data locations); with no filter every SKU and location is returned. POST /inventory/counts.

ParameterTypeDescription
location_idsarrayOnly these locations (36-character location_id values).
location_namesarrayOnly these locations, by name.
skusarrayOnly these SKUs.

ecellar_search_club_subscriptions Search club subscriptions

Wine club subscriptions of customers: tier, signup/cancel/hold dates, billing and shipping address, card brand, last digits and expiry (no card numbers). POST /subscriptions. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
cancel_date_endstringcancel date end (inclusive range bound).
cancel_date_startstringcancel date start (inclusive range bound).
cc_expiration_date_endstringcc expiration date end (inclusive range bound).
cc_expiration_date_startstringcc expiration date start (inclusive range bound).
club_tier_idsarrayOnly these club tier ids.
customer_idsarrayOnly these customer ids.
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
signup_date_endstringsignup date end (inclusive range bound).
signup_date_startstringsignup date start (inclusive range bound).

ecellar_search_club_tiers Search club tiers

Wine club tiers (id, name, description, brand). POST /club/tiers. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
brand_keysarrayOnly these brands (brand_key values from ecellar_list_brands).
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_search_club_events Search club events

Club events / shipments (name, date, ship group, tier, pickup location, product totals, remix window). POST /club/events. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
brand_keysarrayOnly these brands (brand_key values from ecellar_list_brands).
club_event_date_endstringclub event date end (inclusive range bound).
club_event_date_startstringclub event date start (inclusive range bound).
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).

ecellar_search_reservations Search reservations

Tasting-room and experience reservations (party, times, status, host, notes, contact phone and email). POST /reservations. Date filters: ISO date or date-time (e.g. 2026-01-31 or 2026-01-31T14:00:00Z; a date means 00:00 UTC).

ParameterTypeDescription
create_date_endstringcreate date end (inclusive range bound).
create_date_startstringcreate date start (inclusive range bound).
modified_date_endstringmodified date end (inclusive range bound).
modified_date_startstringmodified date start (inclusive range bound).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerRows per page (default 25, max 200).
reservation_idsarrayOnly these reservation ids.

ecellar_mark_order_shipped Mark order shipped

WRITE: set the shipped date and status of ONE order, to be used when ALL its packages have shipped. eCellar refuses it unless the order status is EXPORTED, HOLD_SHIP, SHIPPED, TO_PICKUP or UNSHIPPED, the date is not before the order date, and the date matches the latest tracking ship date. Check the order and its tracking records first. PATCH /order/{order_id}/shipped.

ParameterTypeDescription
date_shipped *stringDate the order fully shipped (YYYY-MM-DD).
order_id *integereCellar order id (order_id from ecellar_search_orders).

ecellar_mark_order_delivered Mark order delivered

WRITE: set the delivered date and status of ONE order, to be used when ALL its packages were delivered. eCellar refuses it unless the order status is DELIVERED or SHIPPED and the date matches the latest tracking delivered date. PATCH /order/{order_id}/delivered.

ParameterTypeDescription
date_delivered *stringDate the order was fully delivered (YYYY-MM-DD).
order_id *integereCellar order id.

ecellar_add_order_tracking Add order tracking record

WRITE: add a carrier tracking record (carrier + tracking number, optional shipped/delivered dates) to ONE order. Adds a record each call; a duplicate tracking number on the same order is refused by eCellar. Get carrier_enum from ecellar_get_reference_data carriers. POST /order/{order_id}/tracking.

ParameterTypeDescription
carrier_enum *stringCarrier enum value (from the carriers reference list).
carrier_tracking_number *stringCarrier tracking number.
order_id *integereCellar order id.
date_deliveredstringDate delivered by the carrier (YYYY-MM-DD).
date_shippedstringDate shipped via the carrier (YYYY-MM-DD).

ecellar_adjust_inventory_count Adjust inventory count

WRITE: change the on-hand count of ONE SKU at ONE location by a signed amount (+12 adds, -3 removes; it is a delta, not a new total, so repeating it repeats the change). Pass location_id or location_name; eCellar refuses an unknown or ambiguous location, a SKU that is not at that location, or a result below zero. Check ecellar_get_inventory_counts first. PATCH /inventory/counts/{SKU}.

ParameterTypeDescription
on_hand_adjustment *integerSigned change of the on-hand count.
sku *stringThe SKU (SKU from ecellar_search_products inventory_skus or ecellar_get_inventory_counts).
location_idstringInventory location id (36 characters).
location_namestringInventory location name (use instead of location_id).