Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_rma_reverse_logistics_cost

Calculate true ecommerce return and reverse logistics costs—return labels, inspection labor, repackaging, and unsellable write-offs—to quantify monthly and annual profit erosion.

Instructions

Return Merchandise Authorization (RMA) & Reverse Logistics Cost Calculator. Calculate total true financial erosion from customer returns, including return prepaid postage, inspection labor, repackaging, and unsellable inventory write-offs. Discipline: ECOMMERCE. Governing mathematical model / formula: Total Return Cost = (Return Label + Warehouse Labor + Restock Pack) + (COGS × Liquidation Loss %).

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of total_monthly_return_cost (Total Monthly Returns Erosion), cost_per_individual_return (True Cost Per Returned Item), monthly_returned_items_count (Monthly Returned Units), annual_returns_profit_bleed (Annualized Profit Erosion) using monthly_orders_shipped (Monthly Orders Shipped in orders), order_return_rate_pct (Customer Return Rate (%) in %), average_order_cogs (Average Order COGS in $), prepaid_return_label_cost (Prepaid Return Shipping Label in $), inspection_and_labor_cost (Inspection, QA & Restock Labor in $), unsellable_liquidation_pct (Damaged / Unsellable Loss Rate (%) in %). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.

  • WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.

DISAMBIGUATION & BOUNDARIES:

  • Use this dedicated specialist tool for 'Return Merchandise Authorization (RMA) & Reverse Logistics Cost Calculator' rather than generic dispatchers like omni_universal_query.

  • For multi-calculation chained jobs, use 'omni_batch_calculate'.

  • To inspect schema fields, see 'omni_describe_solver'.

BEHAVIOR & SAFETY:

  • Pure deterministic computation with machine floating-point precision.

  • Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.

  • Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.

RETURNS:

  • Structured JSON object containing:

    • status (string): "success" on valid execution or "error" if validation fails

    • calculator (string): "rma-reverse-logistics-cost"

    • category (string): "ecommerce"

    • name (string): "Return Merchandise Authorization (RMA) & Reverse Logistics Cost Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.total_monthly_return_cost (Total Monthly Returns Erosion): Formatted display string (e.g. '$7,434 / mo')

      • metrics.cost_per_individual_return (True Cost Per Returned Item): Formatted display string (e.g. '$17.70 / return')

      • metrics.monthly_returned_items_count (Monthly Returned Units): Formatted display string (e.g. '420 Units Returned')

      • metrics.annual_returns_profit_bleed (Annualized Profit Erosion): Formatted display string (e.g. '$89,208 / year')

    • execution_time_ms (number): Latency in milliseconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omni_rma_reverse_logistics_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
average_order_cogsNoAverage Order COGS ($). Wholesale manufacturing cost of merchandise. Default: 24. Min: 2. Max: 500.
order_return_rate_pctNoCustomer Return Rate (%) (%). Apparel averages 20-30%; electronics/hardgoods 8-12%. Default: 14. Min: 1. Max: 50.
monthly_orders_shippedNoMonthly Orders Shipped (orders). Total volume of outbound orders fulfilled. Default: 3000. Min: 100. Max: 500000.
inspection_and_labor_costNoInspection, QA & Restock Labor ($). Warehouse handling, re-tagging, and repacking. Default: 4.5. Min: 0.5. Max: 20.
prepaid_return_label_costNoPrepaid Return Shipping Label ($). Postage paid to carrier (USPS/UPS return service). Default: 7.2. Min: 2. Max: 30.
unsellable_liquidation_pctNoDamaged / Unsellable Loss Rate (%) (%). Portion of returned items that cannot be resold at full price. Default: 25. Min: 0. Max: 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools