Evaluate & Replenish Low Stock
evaluate_replenishmentCompare on-hand stock against last 24 hours of POS sales for a SKU across stores, compute shortfall, and automatically raise replenishment orders when gap exceeds threshold. Supports dry run for evaluation.
Instructions
For a single SKU across one or more stores, compare on-hand stock against the last 24 hours of POS sales, compute the shortfall gap (units sold in last 24h minus units on hand), and automatically raise a replenishment order at every store whose gap exceeds a threshold (default 6 units). Returns the per-store evaluation plus any orders created. Set dryRun=true to evaluate without placing orders.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sku": "<sku>",
"storeIds": "<storeIds>"
},
"name": "evaluate_replenishment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | Product SKU to evaluate, e.g. '8847291'. | |
| dryRun | No | If true, evaluate and recommend but do not place orders. | |
| storeIds | Yes | Stores to check, e.g. ['47', '102']. | |
| gapThreshold | No | Raise an order only when (last24h sales - on-hand) exceeds this. Default 6. |