Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_reverse_logistics_recovery

Calculate net cost and recovery for e-commerce returns, factoring reverse shipping, inspection labor, restocking, and resale markdown to quantify profit loss and margin erosion.

Instructions

Reverse Logistics Return Rate & Restocking Recovery Margin Calculator. Calculate true financial cost of e-commerce product returns, reverse freight, grading/refurbishing labor, liquidation depreciation, and net recovery rate. Discipline: LOGISTICS. Governing mathematical model / formula: Net Return Loss = Return Shipping + Inspection Labor + Restocking + Resale Markdown Discount.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of net_profit_per_return (Net Realized Profit / (Loss) Per Return), total_reverse_cost (Total Reverse Supply Chain Outflow), salvage_recovered_value (Recovered Resale Value), margin_erosion_pct (Margin Degradation vs Forward Sale) using retail_item_price (Original Retail Selling Price ($)), product_cogs (Product Cost of Goods Sold (COGS $)), return_shipping_cost (Reverse Return Shipping Cost ($)), processing_labor_cost (Inspection & Repackaging Labor ($)), resale_recovery_pct (Secondary Market Resale Recovery (%) 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 'Reverse Logistics Return Rate & Restocking Recovery Margin 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): "reverse-logistics-recovery"

    • category (string): "logistics"

    • name (string): "Reverse Logistics Return Rate & Restocking Recovery Margin Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.net_profit_per_return (Net Realized Profit / (Loss) Per Return): Formatted display string (e.g. '-$2.75 / unit')

      • metrics.total_reverse_cost (Total Reverse Supply Chain Outflow): Formatted display string (e.g. '$14.50 / return')

      • metrics.salvage_recovered_value (Recovered Resale Value): Formatted display string (e.g. '$55.25 (vs $85 original)')

      • metrics.margin_erosion_pct (Margin Degradation vs Forward Sale): Formatted display string (e.g. '104.8% Profit Evaporation')

    • 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_reverse_logistics_recovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_cogsNoProduct Cost of Goods Sold (COGS $). Manufacturing or purchasing wholesale cost. Default: 28. Min: 2. Max: 500.
retail_item_priceNoOriginal Retail Selling Price ($). Original product price paid by consumer. Default: 85. Min: 10. Max: 1000.
resale_recovery_pctNoSecondary Market Resale Recovery (%) (%). Restock as new = 95%, Open-box = 70%, Liquidation = 25%. Default: 65. Min: 0. Max: 100.
return_shipping_costNoReverse Return Shipping Cost ($). Inbound carrier return label fee. Default: 8.5. Min: 2. Max: 50.
processing_labor_costNoInspection & Repackaging Labor ($). Grading, cleaning, and resealing warehouse labor. Default: 6. Min: 1. Max: 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools