# Build a Reorder List Before You Run Out

> Works out which products will sell out soon based on how fast they are actually selling.

- Job: [Inventory](https://storeagent.ai/mcp-recipes/job/inventory/)
- What it does: Read only: looks, never changes anything
- Time saved: ~30 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan)
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/low-stock/

## The prompt

```text
List every product or variation with stock under 10 units. For each one, use the last 30 days of orders to estimate how many days of stock are left, and sort the list by most urgent. Flag anything that will run out within a week.
```

## What happens when you paste it

You: List every product or variation with stock under 10 units…

Assistant: 27 products or variations are under 10 units. Calling: `woocommerce/products-query`, `woocommerce/orders-query`.

Assistant: 6 items run out within a week. The navy overshirt in L has about 3 days left.

## Abilities this recipe calls

- **Find products** (`woocommerce/products-query`, read only, from WooCommerce): Finds products by name, SKU, status, type or stock status, with prices and stock.
- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Only include products with stock management switched on.
- Ignore products that are set to backorder.

## Related recipes

- [Find What Shoppers Want But Aren’t Buying](https://storeagent.ai/mcp-recipes/wishlist-demand.md): Compares wishlist saves against sales and stock to show you hidden demand.
- [Pause Feed Updates During a Stocktake or Price Change](https://storeagent.ai/mcp-recipes/pause-feeds-stocktake.md): Stops feeds from sending half-updated stock and prices to ad channels, then turns the schedules back on when you are done.
- [Write Descriptions for Your Newest Products](https://storeagent.ai/mcp-recipes/new-product-descriptions.md): Drafts proper long and short copy for every product you added recently, in your tone, ready for you to check.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
