Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port.8001
DATA_DIRNoDirectory holding shops.json, .encryption_key, stats.db./data
WB_TOOLSETSNoComma-separated tool profiles: pricing, ads, catalog, orders, analytics, feedback, finance; empty means all 197.
WB_API_TOKENNoToken for the default store; adding stores via /shops is more convenient.
MCP_AUTH_TOKENNoBearer token for /sse; empty means authorization is off.
WB_MAX_RESPONSE_CHARSNoSize-guard threshold for a single response.60000
HEALTH_CHECK_INTERVAL_MINNoBackground diagnostics interval, 0 disables it.30

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
wb_list_shopsA

Registered WB shops (магазины): shop_id + name. Use shop_id in all other tools.

wb_card_errorsA

[P0] Cards with errors: blocked/rejected, incl. IP-holder complaints (заблокированные карточки). Check regularly.

wb_cards_listB

List product cards (карточки товаров), cursor pagination.

wb_card_detailC

Card details by nmID (карточка товара).

wb_cards_updateB

Update cards: description, SEO, characteristics (обновить карточку).

wb_cards_move_to_trashB

Move cards to trash by nmID (удалить карточки).

wb_cards_recover_from_trashA

Restore cards from trash by nmID (восстановить карточки).

wb_cards_limitsC

Card create/edit limits (лимиты карточек).

wb_cards_createA

Create new cards, async, up to 30 min to sync. Get subject characteristics via wb_subject_charcs first (создать карточки).

wb_cards_trashD

Cards in trash (корзина).

wb_barcodes_generateC

Generate barcodes for new goods (баркоды).

wb_media_uploadA

Upload photo/video to a card by URL. Warning: REPLACES all existing media (медиа, фото).

wb_subjects_searchA

Search WB subjects/categories for card creation (предметы, категории).

wb_subject_charcsC

Subject characteristics: required/optional card fields (характеристики предмета).

wb_directoryC

WB reference books: colors, kinds, countries, seasons, vat, tnved (справочники).

wb_tagsC

Seller tags for grouping cards (ярлыки, теги).

wb_tag_linkA

Attach/detach tags on a card. Pass the FULL new tag list (привязать ярлык).

wb_tag_createC

Create a tag; color is HEX (создать ярлык).

wb_tag_updateC

Update a tag: name, color (обновить ярлык).

wb_tag_deleteA

Delete a tag. Fails if still linked to goods — unlink via wb_tag_link first (удалить ярлык).

wb_card_recommendations_getC

Recommended goods on a card, cross-sell (рекомендации).

wb_card_recommendations_setA

Set recommended goods on a card, max 10 nmID (рекомендации, средний чек).

wb_brands_listC

Seller brands; subject_id filters by category (бренды).

wb_prices_listC

[P0] Current prices and discounts for all goods (цены, скидки, маржинальность).

wb_prices_setC

[P0] Set prices and discounts. Items: {nmID, price, discount} (установить цену).

wb_prices_quarantineB

[P0] Goods in price quarantine: cut over 3x, new price NOT applied (карантин цен). Check regularly.

wb_prices_club_discountA

Set WB Club discounts, max 1000 goods per request (скидка WB Клуба).

wb_prices_upload_statusA

Price upload status by uploadID from wb_prices_set. buffer=true for deferred uploads (статус загрузки цен).

wb_prices_size_listB

Prices per size for one product (цены по размерам).

wb_prices_b2b_setC

Set B2B wholesale discounts: {nmID, wholesaleDiscount} (оптовые скидки).

wb_promotions_listA

[P0] WB promotions for a period. type: 'auto' = WB adds goods itself, 'regular' (акции, промо). Monitor auto ones.

wb_promotions_autoC

[P0] Auto-promotions only (type=auto): WB adds goods without asking (автоакции). Regular monitoring keeps prices from dropping.

wb_promotions_auditA

[P0] Participation audit: which promotions already hold my goods and the price effect (price→planPrice, % drop). For auto-promos WB hides the item list (nomenclaturesAvailable=false) — control prices via wb_prices_list/wb_prices_quarantine. Auto-throttled to 10 req/6 s (аудит акций).

wb_promotions_detailsC

Promotion details: dates, ranging/boost conditions, slots, participationPercentage, advantages, type (детали акции).

wb_promotions_productsB

Goods eligible for a promotion. in_action: true = participating. Returns price/planPrice, discount/planDiscount (товары акции).

wb_promotions_add_productsB

Add goods to a promotion. upload_now=false defers until start. Returns uploadID (вступить в акцию).

wb_promotion_exitA

[P0] Leave a promotion: restore price and discount via Prices API, WB has no exit endpoint (выйти из акции).

wb_finance_reportA

[P0] Realization report for a period: commissions, logistics, storage, penalties, payout (отчёт о реализации, прибыль). Use wb_finance_reports_list + wb_finance_report_detailed for detail.

wb_finance_reports_listC

[P0] Realization reports list, finance-api v1, data from 2025-01-01. Then call wb_finance_report_detailed (список отчётов).

wb_finance_report_detailedC

[P0] Realization report detail by reportId: commissions, logistics, storage, penalties, payout. Paginate via rrd_id (детализация отчёта).

wb_finance_acquiring_listC

Acquiring cost reports, card payment fees (эквайринг).

wb_finance_acquiring_detailedC

Acquiring cost detail for a period (эквайринг, детализация).

wb_advert_listB

[P0] Ad campaigns with settings and bids. statuses: 9=active, 11=paused, 7=finished, 4=ready, 8=cancelled, -1=deleted (реклама, кампании).

wb_advert_countB

Campaign counts by type and status; use to get all campaign IDs (количество кампаний).

wb_advert_createB

Create ad campaign (type 9 Search+Catalog, the only one since 2026). bid_type: unified | manual with placement_types (создать кампанию).

wb_advert_statsB

[P0] Campaign stats: spend, views, clicks, CTR, CPC, orders, revenue + daily breakdown in days[]. Limit 3 req/min, period ≤31 d. Spend/revenue over 20% means ДРР too high (статистика рекламы).

wb_advert_balanceB

Ad account balance: account, balance, bonuses (баланс рекламы).

wb_advert_budgetC

Budget of one ad campaign (бюджет кампании).

wb_advert_depositB

Top up campaign budget. source: 0=account, 1=balance, 3=bonuses (пополнить бюджет).

wb_advert_costsC

Ad spend history for a period (затраты на рекламу).

wb_advert_pauseB

[P0] Emergency pause of an ad campaign, e.g. when ДРР over 20% (остановить рекламу).

wb_advert_startC

Start an ad campaign (запустить рекламу).

wb_advert_stopA

Finish an ad campaign for good, unlike pause (завершить кампанию).

wb_advert_deleteA

Delete an ad campaign, irreversible (удалить кампанию).

wb_advert_bids_setB

[P0] Change CPM/CPC bids. Bids in KOPECKS. placement: search | recommendations | combined for unified (ставки).

wb_advert_bids_recommendationsC

Recommended bids for a card in a campaign (рекомендованные ставки).

wb_advert_clustersC

[P0] Search clusters of a campaign, replaced keyword phrases in 2026 (поисковые кластеры, запросы, SEO).

wb_advert_clusters_statsB

Search cluster stats for a period; daily=true for per-day rows (статистика кластеров).

wb_advert_cluster_bidsC

Set bids on specific search clusters. Bid in RUBLES per 1000 views (ставки на кластеры).

wb_advert_minus_phrasesA

Campaign minus-phrases: read without norm_queries, set with them. WB has no plus-phrases since 2026 (минус-фразы).

wb_advert_paymentsB

Ad account top-up history for a period, dates YYYY-MM-DD (пополнения счёта).

wb_advert_renameB

Rename an ad campaign (переименовать кампанию).

wb_cards_move_nmA

Merge/split cards, max 30 nmID. target_imt set = merge into that imtID, unset = split (объединить карточки).

wb_card_add_nomenclatureB

Add a nomenclature/size to an existing card by imtID (добавить размер).

wb_categories_parentC

All parent product categories (родительские категории).

wb_media_upload_fileC

Upload media as a FILE by URL, server downloads and sends. photo_number from 1, video = 1 (загрузить фото файлом).

wb_order_meta_getB

FBS order meta/marking; available keys come from the order's requiredMeta (маркировка заказа).

wb_order_meta_setA

[P0] Set FBS order marking: meta_type = sgtin|uin|imei|gtin|expiration. Only in status confirm (маркировка, Честный знак).

wb_order_meta_deleteA

Delete FBS order meta by key: imei|uin|gtin|sgtin (удалить маркировку).

wb_orders_status_historyC

Order status history, cross-border, max 100 (история статусов).

wb_orders_client_infoC

Buyer data for cross-border orders from Turkey (данные покупателя).

wb_supplies_reshipmentC

Orders that need reshipment (повторная отгрузка).

wb_orders_external_stickersA

Cross-border delivery stickers, max 100, status complete (стикеры доставки).

wb_orders_archiveC

Archived FBS orders for a period: finished or cancelled (архив заказов).

wb_supply_order_idsB

Assembly task IDs inside an FBS supply (задания в поставке).

wb_passes_officesC

Offices/warehouses that require a pass (офисы, пропуска).

wb_passes_listB

Active warehouse passes (пропуска).

wb_pass_createB

Create a warehouse pass, valid 48 h (создать пропуск).

wb_pass_updateC

Update a warehouse pass (обновить пропуск).

wb_pass_deleteC

Delete a warehouse pass (удалить пропуск).

wb_supply_trbx_listC

Boxes (trbx) of an FBS supply (короба поставки).

wb_supply_trbx_addA

Add boxes to a supply, amount 1..1000, pickup points only while assembling (добавить короба).

wb_supply_trbx_deleteC

Delete boxes from a supply (удалить короба).

wb_supply_trbx_stickersC

Box QR stickers: svg|zplv|zplh|png (стикеры коробов).

wb_dbs_orders_newB

New DBS orders awaiting assembly (новые DBS-заказы).

wb_dbs_ordersB

Finished DBS orders, Unix timestamps, ≤30 days, cursor next (DBS-заказы).

wb_dbs_orders_statusC

DBS order statuses, max 1000 (статусы DBS).

wb_dbs_orders_clientC

DBS buyer data, after confirm (покупатель DBS).

wb_dbs_orders_delivery_dateC

Delivery date/time chosen by the DBS buyer, max 1000 (дата доставки).

wb_dbs_groups_infoC

Paid delivery cost by groupId, max 1000 (стоимость доставки).

wb_dbs_order_actionA

[P0] Change DBS order status: action = confirm|deliver|receive|reject|cancel. receive/reject need the buyer code (статус DBS-заказа).

wb_dbs_order_meta_getD

DBS order meta (метаданные DBS).

wb_dbs_order_meta_setC

DBS order marking: sgtin|uin|imei|gtin, status confirm (маркировка DBS).

wb_dbs_order_meta_deleteC

Delete DBS order meta by key (удалить маркировку DBS).

wb_cc_orders_newC

New click-and-collect tasks (новые задания самовывоза).

wb_cc_ordersC

Finished click-and-collect tasks, Unix timestamps, ≤30 days (задания самовывоза).

wb_cc_orders_statusD

Click-and-collect task statuses (статусы самовывоза).

wb_cc_orders_clientD

Buyer data, statuses confirm/prepare (покупатель самовывоза).

wb_cc_order_identityA

[P0] Verify the buyer code when handing over a click-and-collect order (код покупателя).

wb_cc_order_actionC

[P0] Change click-and-collect status: action = confirm|prepare|receive|reject|cancel (статус самовывоза).

wb_cc_order_meta_getC

Click-and-collect task meta (метаданные самовывоза).

wb_cc_order_meta_setC

Click-and-collect marking: sgtin|uin|imei|gtin, status confirm (маркировка самовывоза).

wb_cc_order_meta_deleteB

Delete click-and-collect meta by key (удалить маркировку).

wb_analytics_brand_shareB

Brand share in a category, ≤365 days. Needs parentId and brand from the brand_share_parents/brands tools (доля бренда).

wb_analytics_brand_share_brandsA

Seller brands sold in the last 90 days, input for brand-share (бренды для доли).

wb_analytics_brand_share_parentsC

Parent categories of a brand, input for brand-share (категории бренда).

wb_analytics_region_saleA

Sales by region, ≤31 days, YYYY-MM-DD (продажи по регионам).

wb_analytics_exciseA

Chestny Znak excise/labeling report. Limit 10 req per 5 hours (Честный знак, КиЗ).

wb_analytics_item_ratingB

Item rating: card views, cart adds, orders, conversions. Jam subscription. Low conversion signals a card or price problem. Max 1000 nmID (рейтинг товаров, конверсия).

wb_analytics_grouped_historyB

Sales funnel by product groups, per day, compares periods (воронка по группам).

wb_nm_reportA

Per-nmID report: revenue, orders, returns, conversions. Task-based, waits up to 3 min, kept 3 days (отчёт по номенклатуре).

wb_analytics_stocks_sizesB

Stock and turnover report split by size, finds dead sizes (остатки по размерам, неликвид).

wb_search_table_detailsB

Search analytics per product: positions and conversions by query. Requires Jam (поисковая аналитика).

wb_search_table_groupsC

Search analytics by group: subject, brand, tag. Requires Jam (поисковая аналитика по группам).

wb_search_product_ordersB

Orders and positions by search query for a product, ≤7 days. Requires Jam (заказы по запросам).

wb_new_feedbacks_questionsA

Flags for unseen feedbacks/questions: hasNewFeedbacks, hasNewQuestions (новые отзывы и вопросы).

wb_feedbacks_actionsB

Complain about a feedback or report a product problem, codes from supplier-valuations (жалоба на отзыв).

wb_feedbacks_archiveB

Archived feedbacks, previously answered, unlike wb_feedbacks_list (архив отзывов).

wb_feedbacks_pinsC

Pinned feedbacks shown first on the card (закреплённые отзывы).

wb_feedbacks_pins_countA

Pinned feedback count, limit 3 per nmID (число закреплённых).

wb_feedbacks_pins_setB

Pin feedbacks, max 3 per nmID (закрепить отзывы).

wb_feedbacks_pins_deleteC

Unpin feedbacks (открепить отзывы).

wb_question_getB

One buyer question by ID (вопрос покупателя).

wb_feedback_order_returnA

Request a product return from a feedback, only if isAbleReturnProductOrders=true (возврат по отзыву).

wb_feedbacks_count_periodB

Feedback count for a period, Unix ts, isAnswered filter (число отзывов за период).

wb_questions_count_periodA

Question count for a period, Unix ts, isAnswered filter (число вопросов за период).

wb_advert_subjectsB

Subjects available for ad campaigns (предметы для рекламы).

wb_advert_available_nmsC

Goods available for campaigns, by subject IDs (товары для рекламы).

wb_jam_subscriptionA

WB Jam subscription state: active, expiry. Check before Jam-only tools (подписка Джем).

wb_tariffs_boxC

[P0] Box logistics tariffs for FBO; tariff growth eats margin (тарифы логистики).

wb_tariffs_palletC

Pallet logistics tariffs for FBO (тарифы палет).

wb_tariffs_returnB

[P0] Reverse logistics tariffs for returns, a hidden cost at high return rates (тарифы возвратов).

wb_tariffs_commissionA

[P0] WB commissions by category for FBO, FBS, DBS; input for unit economics (комиссии). Pass subject to filter: the full reference is 7 400 categories.

wb_fbw_transit_tariffsA

Transit directions for FBW supplies to regions (транзитные тарифы). Temporarily disabled by WB itself.

wb_paid_storageB

[P0] Paid storage report; goods with no sales and high storage cost are direct losses (платное хранение).

wb_analytics_detailC

Sales funnel per product: views, clicks, cart, orders, revenue, conversions, vs previous period. Limit 3 req/min (воронка продаж).

wb_analytics_historyB

Sales funnel BY DAY, last week at most, for conversion trends (воронка по дням).

wb_analytics_stocksC

Interactive stock and turnover report: healthy, scarce and dead goods (остатки, оборачиваемость).

wb_warehouse_remainsB

Stock report split by WB warehouse. Task-based, 10-60 s (остатки по складам).

wb_analytics_antifraudC

Deductions for self-buyouts, published on Wednesdays (удержания за самовыкупы).

wb_analytics_acceptanceB

Paid acceptance report at WB warehouses. Task-based, 10-60 s (платная приёмка).

wb_banned_productsC

[P0] Blocked or shadowed cards hidden from the catalogue — lost sales (заблокированные товары).

wb_deductionsB

Deductions for substitutions and wrong contents (удержания за подмены). Both dates are required: WB rejects the call without date_from.

wb_search_reportB

[P0] Search query report: views, clicks, search positions. Requires Jam. Limit 3 req/min (поисковые запросы, видимость).

wb_search_textsB

Top search queries for specific goods, max 30 without Jam (поисковые фразы).

wb_finance_balanceB

[P0] Seller balance: payable, in transit. Token needs the Finance category (баланс продавца).

wb_seller_infoA

Seller info: name, profile ID. Works with any token (информация о продавце).

wb_orders_newB

New FBS orders awaiting assembly (новые заказы).

wb_orders_listC

All orders for a period (заказы за период).

wb_orders_statusC

Statuses of specific orders (статусы заказов).

wb_order_cancelA

Cancel an FBS assembly task, irreversible (отменить заказ).

wb_orders_stickersB

Stickers for FBS assembly tasks, max 100. Formats: svg, zplv, zplh, png (стикеры заказов).

wb_supply_createB

Create an FBS supply to ship assembled orders (создать поставку).

wb_supply_detailC

FBS supply info (детали поставки).

wb_supply_add_ordersA

Add assembly tasks to an FBS supply, max 100, tasks move to confirm (добавить заказы в поставку).

wb_supply_deliverA

Close an FBS supply and hand it to delivery, tasks move to complete (закрыть поставку).

wb_supply_barcodeC

FBS supply QR code for warehouse handover (QR поставки).

wb_supply_deleteA

Delete an empty active FBS supply (удалить поставку).

wb_stats_salesB

Sales for a period; spots goods that stopped selling (продажи).

wb_stats_ordersB

Order statistics including cancellations; for cancel and return analysis (заказы, отмены).

wb_stats_stocksB

[P0] Current stock across ALL WB warehouses (API cap 1000, default 100). nm_ids filters by article. Stock without sales means overpaid storage (остатки).

wb_feedbacks_listC

Feedback list. Unanswered negatives cut rating and conversion (отзывы).

wb_feedbacks_countA

Count of unanswered feedbacks (неотвеченные отзывы).

wb_feedback_replyB

Reply to a feedback; edit=true rewrites an existing reply (ответить на отзыв).

wb_seller_ratingC

Seller rating of the shop (рейтинг продавца).

wb_questions_listC

Buyer questions list (вопросы покупателей).

wb_questions_countB

Count of unanswered questions (неотвеченные вопросы).

wb_question_replyA

Reply to a buyer question; reject=true declines it (ответить на вопрос).

wb_returns_listA

Buyer return claims. is_archive=false = pending, NEED an answer; true = archive. actions[] lists allowed actions (возвраты, заявки).

wb_return_answerA

Answer a return claim. action strictly from the claim's actions[]: approve1 (defect check at WB), approve2 (take the item back), autorefund1 (refund without return), reject1/reject2/reject3 (WB refusal templates), rejectcustom (needs comment) (ответ на возврат).

wb_goods_return_reportB

Analytics report on goods returned to the seller, max 31 days (отчёт по возвратам).

wb_warehousesD

Seller warehouses (склады продавца).

wb_warehouse_createB

Create a seller warehouse for FBS (создать склад).

wb_warehouse_updateC

Update a seller warehouse (обновить склад).

wb_warehouse_deleteB

Delete a seller warehouse (удалить склад).

wb_supplies_listC

Supplies list (поставки).

wb_stocks_updateB

Update FBS stock. Field names are not validated: a typo returns 204 with no update (обновить остатки).

wb_stocks_getC

Get FBS stock by barcodes (остатки FBS).

wb_stocks_deleteB

Delete FBS stock records by SKU, zeroing them (удалить остатки).

wb_fbw_suppliesA

FBW supplies to WB warehouses, read-only; creation lives in the seller portal (поставки FBW).

wb_fbw_supply_detailC

FBW supply details (детали поставки FBW).

wb_fbw_supply_goodsD

Goods inside an FBW supply (товары в поставке).

wb_fbw_acceptance_optionsC

Warehouses and packaging types available for an FBW supply, by barcodes (варианты приёмки).

wb_fbw_warehousesA

WB warehouses for FBW supplies (склады FBW). Temporarily disabled by WB itself — returns an explanation, not data.

wb_acceptance_coefficientsB

[P0] Warehouse acceptance coefficients for 14 days; coefficient 0 or 1 with allowUnload=true means acceptance is open, x2-x7 multiplies the cost (коэффициенты приёмки). Temporarily disabled by WB itself.

wb_buyer_chatsC

Buyer chats, includes replySign for answering. May hold complaints and IP-holder claims (чаты с покупателями).

wb_chat_eventsA

Chat events, new messages. Cursor pagination: first call without next, then next from the response (события чатов).

wb_chat_sendA

Send a message to a buyer chat, ≤1000 chars. reply_sign comes from wb_buyer_chats (написать покупателю).

wb_chat_downloadA

Download a file from a buyer chat; file_id comes from a chat event (файл из чата).

wb_documents_categoriesC

Document categories: reconciliation acts, УПД, invoices (категории документов).

wb_documents_listC

Seller financial documents: acts, УПД, notices. Needed for accounting (документы, бухгалтерия).

wb_document_downloadA

Download one document, PDF/XML, by ID (скачать документ).

wb_documents_download_bulkC

Download several documents in one request by IDs (скачать документы).

wb_diagnosticsA

[P0] Full self-diagnostics: ping all WB API hosts, light real requests per category, token analysis (expiry, scopes). Run FIRST when a tool misbehaves — separates a token problem from a category or WB API change (диагностика).

wb_token_infoA

Token info for a shop: scopes, expiry, read-only/sandbox. No WB requests (информация о токене).

wb_degradationsB

Tool degradations: which MCP tools used to work and now fail steadily, signalling a WB API change. No parameters (деградации).

wb_api_newsA

WB seller news including API change announcements; check for integration-breaking changes (новости API).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DeviceIngineering/wb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server