Check wig stock by colour
check_stockLive availability of one wig or hairpiece style at MyHairMail, per colour, from the manufacturer's factory feed (not a nightly sync). Distinguishes backordered and discontinued colours, which the Shopify catalog reports as 'available' or omits. available_quantity is the exact number of units available now (0 when none). availability is one of in_stock | backordered (orderable now, ships when restocked; restock_eta_week given when known) | preorder (new style taking pre-orders: ships when it arrives; available_quantity is 0) | out_of_stock | discontinued (will not restock). Returns price_usd, compare_at_price_usd and a product_url to buy on myhairmail.com. With color: one product; without color: up to 12 colours (has_more=true means query a specific colour). Not found: did_you_mean styles, or supported_brands if the brand is not carried. When a colour is not buyable now, the response includes next_step naming the tool that finds an equivalent. Terms: https://mcp.myhairmailtools.com/terms
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": {
"brand": "<brand>",
"style": "<style>"
},
"name": "check_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand name, e.g. 'Jon Renau', 'Raquel Welch', 'Belle Tress' | |
| color | No | Color code or name, e.g. '12FS8' or 'Shaded Praline'. Optional; if omitted, returns per-color availability for up to 12 colors. | |
| style | Yes | Style name, e.g. 'Luna', 'Vesper' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| match | Yes | ||
| colors | No | ||
| product | No | ||
| has_more | No | ||
| retailer | Yes | ||
| next_step | No | ||
| did_you_mean | No | ||
| supported_brands | No |