Forthcast Inventory
v1.1.0Reorder points, order quantities, demand forecasts and stock health, from your numbers or Shopify.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_inventory_overview Get inventory overview
Use this when the merchant asks for a broad inventory health check, an executive summary, their urgent/excess/no-demand counts, inventory valuation, or current PO workload. Requires a connected Forthcast store; the assistant will prompt to sign in.
get_reorder_recommendations Get reorder recommendations
Use this when the merchant asks what to reorder, how much to buy, or which critical/warning items need action. Quantities reuse Forthcast's live lead-time, MOQ, case-pack, open-PO, location, and supplier minimum-order-value logic; this tool does not create a PO. Requires a connected Forthcast store; the assistant will prompt to sign in.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum recommendations to return. |
priority | string | Return order-now items, plan-ahead items, or both. |
supplier | Optional case-insensitive supplier name filter. |
find_inventory_items Find inventory items
Use this when the merchant wants a bounded list of their items filtered by urgency, assigned supplier, or Shopify vendor, such as all excess items or a supplier's critical SKUs. Requires a connected Forthcast store; the assistant will prompt to sign in.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum items to return. |
supplier | Optional case-insensitive assigned supplier name. | |
urgency | Optional Forthcast urgency bucket. | |
vendor | Optional case-insensitive Shopify vendor or brand. |
get_inventory_item Get inventory item
Use this when the merchant names an exact SKU and needs its live stock, forecast demand, days of supply, reorder point, suggested quantity, supplier, or open-PO coverage. Requires a connected Forthcast store; the assistant will prompt to sign in.
| Parameter | Type | Description |
|---|---|---|
sku * | string | Exact merchant SKU code. |
list_purchase_orders List purchase orders
Use this when the merchant asks what is ordered, drafted, open, partially received, received, cancelled, overdue, expected, or associated with a named supplier. Results are grouped by PO; this tool does not approve, receive, cancel, or otherwise modify an order. Requires a connected Forthcast store; the assistant will prompt to sign in.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum grouped purchase orders to return. |
status | Optional exact purchase-order status. | |
supplier | Optional case-insensitive supplier name filter. |
get_supplier_performance Get supplier performance
Use this when the merchant asks how suppliers are performing or wants rolling 24-month on-time rate, fill rate, actual versus promised lead time, spend, or invoice price accuracy, plus current open and overdue purchase-order counts. Requires a connected Forthcast store; the assistant will prompt to sign in.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum suppliers to return. |
supplier | Optional case-insensitive supplier name filter. |
calculate_reorder_point Calculate reorder point
Use this when someone asks how much safety stock to hold or at what stock level to reorder a product. Give a daily demand history (best) or an average daily demand with its variability, plus the supplier lead time and a service level. Returns safety stock, lead-time demand and the reorder point with Forthcast's formula and assumptions. Works without a connected store.
| Parameter | Type | Description |
|---|---|---|
lead_time_days * | integer | Supplier lead time in days. |
average_daily_demand | Average units sold per day, if no daily history. | |
daily_demand | Daily units sold, oldest first, 14 to 365 values. | |
demand_std_daily | Standard deviation of daily demand; assumed sqrt(average) when omitted. | |
service_level | number | Target in-stock probability, 0.50 to 0.99 (95 also accepted). |
calculate_order_quantity Calculate order quantity
Use this when someone asks how many units to order, given demand, lead time, stock on hand and on order, and supplier rules such as MOQ, case pack or a minimum order value. Sizes the line the way Forthcast sizes a purchase-order line and lists every rule that changed the quantity. Works without a connected store.
| Parameter | Type | Description |
|---|---|---|
lead_time_days * | integer | Supplier lead time in days. |
on_hand * | number | Units available now. |
average_daily_demand | Average units sold per day, if no daily history. | |
case_pack | Units per case; quantity is rounded up to whole cases. | |
cover_days_target | Optional explicit days of cover to buy instead of the default weeks-of-supply target. | |
daily_demand | Daily units sold, oldest first, 14 to 365 values. | |
demand_std_daily | Standard deviation of daily demand, if known. | |
min_order_value | Supplier minimum order value in currency; needs unit_cost. | |
moq | Supplier minimum order quantity for this item. | |
on_order | number | Units already on open purchase orders. |
service_level | number | Target in-stock probability, 0.50 to 0.99. |
unit_cost | Purchase cost per unit. |
forecast_demand_series Forecast demand series
Use this when someone pastes past sales numbers and asks what to expect next month, next quarter or next season. Takes 3 to 365 monthly, weekly or daily totals (oldest first) and returns the next periods with an 80 percent range, the model used (Holt-Winters seasonal, damped trend, Croston for intermittent demand, or moving average) and why. Works without a connected store.
| Parameter | Type | Description |
|---|---|---|
sales * | array | Past sales totals per period, oldest first. |
horizon | integer | Periods to forecast: up to 12 monthly, 26 weekly, 90 daily. |
period | string | Granularity of the sales list. |
score_inventory_health Score inventory health
Use this when someone shares a list or CSV of products with stock and sales rates and asks which need reordering, which are overstocked, or how healthy the inventory is. Up to 500 rows. Applies Forthcast's urgency bands (Order now, Plan ahead, On track, Excess, No demand), reorder points, suggested quantities and inventory value. Works without a connected store.
| Parameter | Type | Description |
|---|---|---|
items * | array | Products to score. |
default_lead_time_days | integer | Lead time for rows that give none. |
service_level | number | Target in-stock probability, 0.50 to 0.99. |
explain_inventory_metric Explain inventory metric
Use this when someone asks what an inventory planning term means or how Forthcast calculates it: safety stock, reorder point, days of cover, urgency bands, service level, ABC class, EOQ, order quantity, fill rate, on-time rate, lead time, intermittent demand. Works without a connected store.
| Parameter | Type | Description |
|---|---|---|
metric * | string | Metric name, for example 'reorder point' or 'days of cover'. |