inventory_health_score
Calculates a comprehensive inventory health score for a Shopify merchant. Returns GMROI, annual turnover, days inventory outstanding, dead stock exposure %, carrying cost leakage, a 0–100 composite score with per-dimension breakdown (gmroi/turnover/dead_stock), benchmark comparisons by industry segment, risk flags, plain-language diagnosis, and prioritised recommended actions.
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": {
"segment": "<segment>",
"annualRevenue": "<annualRevenue>",
"grossMarginPct": "<grossMarginPct>",
"avgInventoryCostValue": "<avgInventoryCostValue>",
"deadStockCostValue": "<deadStockCostValue>",
"deadStockThresholdDays": "<deadStockThresholdDays>",
"annualCarryingCostRate": "<annualCarryingCostRate>",
"targetWeeksOfCover": "<targetWeeksOfCover>"
},
"name": "inventory_health_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment | Yes | ||
| annualRevenue | Yes | ||
| grossMarginPct | Yes | ||
| deadStockCostValue | Yes | ||
| targetWeeksOfCover | Yes | ||
| avgInventoryCostValue | Yes | ||
| annualCarryingCostRate | Yes | ||
| deadStockThresholdDays | Yes |