SuperAPI AI Directory

stock-reconcile

General & other

View repository

Updated 10-15 22:17

About this skill

Consolidate stock across accounts

Works via the MCP server marketplaces-mcp-ru. If the server is not installed, say so and give the command uvx marketplaces-mcp-ru, do not continue further.

Procedure

  1. Find out which marketplaces the person sells on. Do not ask about all four if the server configuration has keys for only some of them.
  2. Collect stock for each marketplace:
marketplace method what it will return
Wildberries wb_stats_stocks stock by WB warehouses
Wildberries FBS wb_analytics_warehouse_remains detailed stock by warehouses
Ozon ozon_stocks_info FBO and FBS stock
Ozon FBS ozon_stocks_by_warehouse_fbs breakdown by warehouses
Yandex Market ym_get_offer_mappings cards with stock
Avito avito_get_stocks_info listing stock
  1. If moysklad-mcp-ruis connected, take the stock in your own warehouse — it is the reference point for reconciliation.
  2. Consolidate by seller SKU, not by the marketplace's internal id: each marketplace has its own identifier, only the SKU is shared.

What to output

Table: SKU, name, stock for each marketplace, warehouse stock, total.

As a separate block — three lists, and only the non-empty ones:

  • running out — stock is less than a week's sales (take sales from wb_stats_sales, ozon_analytics_data);
  • stuck — there is stock, but no sales in 30 days;
  • discrepancy — the sum across marketplaces is greater than the warehouse stock.

Boundaries

Do not change anything. Updating stock is wb_fbs_stock_update, ozon_stocks_update, avito_update_stocks, all require confirm_write. Suggest this as a separate step and only if the person asked for it.