Spark Inventory
com.sparkinventory/spark
AI inventory management: stock, Demand ESP reorder recommendations and purchase orders.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Site
- sparkinventory.com/connect-spark-to-your-assistant/
- Adresse du serveur
https://api.sparkinventory.com/mcp(streamable-http)- Version
- 1.0.0
- Auteur
- sparkinventory.com (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 26 oct. 2026)
Comment l’installer
Claude Code
Dans un terminal :
claude mcp add --transport http spark https://api.sparkinventory.com/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://api.sparkinventory.com/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://api.sparkinventory.com/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"spark": {
"url": "https://api.sparkinventory.com/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"spark": {
"type": "http",
"url": "https://api.sparkinventory.com/mcp"
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 10:06 (test fait par L’Atlas)
- Temps de réponse
- 654 ms (test complet)
- Outils trouvés
- 300
- Nom annoncé
- Inmana.Server 1.0.0.0
- Protocole
- MCP 2025-06-18
- Prochain test
- 5 déc. 2026
Voir les outils (300)
draft_rule
Draft an automation rule from a plain-language description (e.g. 'block POs over $10k when created'). On success returns a DISABLED draft rule alongside any detected conflicts, an approver hint and the Spark bot it was filed under with thelist_standard_reports
The standard reports run_standard_report can produce (the Reports page's ready-made answers): purchasing plan, inventory health, inventory position and runway, sales and margin, backorder risk, supplier reliability, inventory value and agindelete_manufacturing_order
Delete a manufacturing order, named by id (GUID) or number, as the manufacturing order screen does. Only a draft or canceled order that no work order and no inventory movement references can be deleted; cancel an issued order instead. Requilist_demand_evidence
List the tenant's demand evidence records — durable research artifacts that give demand signals provenance (a URL, an excerpt, a structured claim about a market condition). Each row carries the scope (Item/Tag/Category), the claim, source dlist_saved_reports
The reports the signed-in user saved on the Reports page, newest first. Saved reports belong to one person, so this works only in the in-app assistant. Run one with run_saved_report.list_edi_item_mappings
List the EDI item mappings (cross-references): which Spark item each trading partner's SKU or UPC stands for, with the customer's description, unit, the conversion to the Spark unit and the customer price. Filter by tradingPartnerId, itemIdstart_integration_connect
Generate the provider authorization URL that starts connecting an integration (providers: shopify — requires shopUrl, amazon, qbo, xero, zoho_books, etsy). IMPORTANT: you cannot complete the connection yourself — hand the returned URL to aimport_customer_returns
Record customer returns that were already processed in another system (a warehouse's daily returns feed, or a returns history) so demand velocity, daily consumption and the forecast net them. Without returns, demand is gross sales and is ovcommit_labor_plan
Commit a run's scheduled labor draft as a reservation, as the labor planner screen's commit does: the crew it names can then start work on it from their my-work page, and its hours count against everyone else's plans. Refused unless the dramove_stock
Move stock between locations — bin to bin inside a warehouse, or straight into another managed warehouse — the Inventory page's Move action. Only available (unreserved) units move. Each line names the item, quantity, source location (optionget_labor_work_day
One worker's day, as their my-work page shows it: the runs they are committed to that day with their part of each crew, the work session running now, time recorded that day, and their open issues. day is a calendar date (YYYY-MM-DD) in thecreate_supplier_price_book
Create a vendor price book (rate card): name, optional per-tenant-unique code, currency, active window, interpolation mode, supported run quantities (runQuantityLimits), and either the spec attribute schema that keys its quantity-break gridlist_supplier_price_books
List the org's vendor price books (rate cards): id, vendor, client attribution (null = shared house book), currency, active window, supported run quantities (runQuantityLimits), and the spec attribute schema. Archived (soft-deleted) books acancel_purchase_order
Cancel a purchase order that is Open, Created, Waiting Approval or Issued and has no delivery receipt (an order already being received is handled in receiving). The preview shows the order, vendor, total and status change. Requires Write +close_out_campaign
Record a finished campaign's actuals: spend (with currency), impressions, clicks and attributed orders — at least one. Close-out opens the day after the campaign's last day in the workspace's time zone (see campaign.closeOutOpensOn). Recordcreate_purchase_orders_from_recommendations
Convert reorder recommendations into draft PURCHASE ORDERS in one call — the reorder→PO bridge. Runs the same canonical reorder detection as get_reorder_recommendations, takes its buy-from-vendor bucket, and creates draft POs GROUPED BY VENlist_simulation_scenario_runs
List the latest 50 scenario runs of the simulation workspace this credential is connected to, newest first: name, status, when it ran, why it failed, and how many expectations passed. Read one with get_simulation_scenario_run.push_external_sales_orders
Push sales orders fulfilled OUTSIDE Spark for an External warehouse. They feed demand velocity without touching on-hand (the snapshot stays the inventory authority). Idempotent: each order is keyed by its stable externalOrderId — re-pushingset_import_mapping
Set (or replace) the declarative column mapping for a staged import session and validate it against EVERY staged row. Author the mapping from the profile get_import_session returns. For salesOrderHistory: fields keyed by canonical name (ordget_stock_movements
An item's stock movement history at one warehouse, newest first — the Inventory page's movement log: receipts, sales, adjustments, moves, transfers and (with includeReservations) reservations, each with the document, location, quantity, cosexplain_demand_change
Why an item's demand moved: its last 4 complete weeks of units against the expectation set by the 12 weeks before (direction down / up / flat, or insufficient_data), the weekly series with the same weeks last year, and the reasons Spark's oget_portfolio_health
The 3PL portfolio page: inventory value and overstock across clients, each client's health (score, at-risk SKUs, overstock), the largest overstocked positions, upcoming purchase-order arrivals and predicted reorders, and suppliers where sevget_rate_components
List all rate components on a ComponentPriced price book — keys, labels, basis formulas, rate entries, conditions, and clamps. Read-only. Use to inspect what a book will resolve before activation, or to verify components after loading them.upsert_item_sourcing_profile
Create or update an item's sourcing profile (its default price book + production spec). Matching: with name, the item's profile of that name is updated (or created); without name, the item's single existing profile is updated — ambiguous orupdate_onboarding_intent
Set or update this tenant's onboarding INTENT — what they want from Spark: goals, the data they already hold, the sales channels/integrations they plan to use, and free import-scope notes. PATCH semantics: omit a field to leave it unchangedlist_diagnostic_investigations
List this account's diagnostic investigations, newest first. Returns an empty list when the feature is unavailable.reset_simulation_workspace
Return the simulation workspace this credential is connected to to its baseline, the client's data before anything was rehearsed (governed two-step, destructive): rehearsed records, the simulated books' postings and the captured QuickBookssave_b2b_store_settings
Set up or change the B2B store (see get_b2b_store_settings): its address slug, name, logo, colors, whether it is open, whether browsing needs a sign-in, whether prices are shown and the minimum order. Only the fields you pass change; name screate_supplier_return
Send stock back to a supplier against a closed purchase order — the purchase order's Create supplier return. Each line names the purchase order line (or SKU) and how many units go back, at most what was received minus what is already on a sget_receipt_variances
Tenant-wide work queue of unresolved delivery-receipt variances — DR lines where the supplier-delivered cost and/or quantity differs from the sourced purchase order's line snapshot and no resolution decision (approve/reject/edit) has been rrecord_invoice_payment
Record a payment received outside Spark (cash, check, bank transfer, card taken elsewhere) on an issued invoice — the invoice list's Mark as paid. Nothing is charged: this never runs a card or bank payment. The amount defaults to what is sttransition_work_order
Move one work order to a new status: approve (waitingApproval to readyForProduction), mark_ready (open or onHold to readyForProduction), hold (open to onHold), or cancel (any work order not started, completed or cancelled; returns its reseracknowledge_action
Preview or commit acknowledgment of one Signal Center event. Acknowledgment stamps the first-read time and resolves its linked source notification; it does not approve, execute, or dismiss anything. First call without receipt/key, then reperun_standard_report
Run one standard report by name (list_standard_reports lists them and the arguments each takes) and return its rows. Pass only the arguments that report lists; any other is refused. Examples: report=top_selling_items with topN=10 and periodcreate_quote
Draft a quote for a customer — the Quotes page's New quote. Lines are priced from the price book for that customer unless you give unitPrice; the preview shows the totals after discounts and tax. The quote is numbered and saved as open; notrestore_simulation_snapshot
Put the simulation workspace this credential is connected to back exactly as a snapshot holds it, simulated clock included (governed two-step, destructive). Everything done since — rehearsed or imported — is replaced, and unfinished scenariissue_purchase_order
Issue a purchase order that is in Created status. An order a person has already approved is issued; an unapproved order is routed to Waiting Approval instead, because an assistant never approves a purchase order. The preview shows the orderget_item_stock_outlook
Stock outlook for a list of items (by SKU, max 100): available (net of committed, the units open sales and transfer orders hold, as the Inventory page and Shopify show it), committed, inbound, and the two days-of-supply metrics — daysOnHanddelete_uom
Delete a unit of measure by id (GUID) or exact abbreviation, as the Settings page does (a soft delete). Refused while any item or unit conversion uses it, and for the default unit (make another unit the default first with save_uom). Requiresave_edi_trading_partner
Create or edit one EDI trading partner. Omit id to create (name required; a new partner is active and in test mode unless set); pass id to edit, where every omitted field keeps its value. Codes are unique per tenant. Connection settings (VAexecute_manufacturing_step
Perform one manufacturing step using preview=true first, then repeat the identical request with sourceVersion from the preview, previewReceipt and a fresh idempotencyKey after review. Read get_manufacturing_order first: its productionMode sfind_dead_stock
Dead stock: on-hand items with ZERO sales velocity over the window (week/month/quarter, default month) — the same definition as the stock-health dead-stock factor (days-of-supply is null when there is stock on hand but no sales). Returns aget_campaign_readiness
Stock readiness for a demand forecast plan (built for campaign plans; any plan type works): for each plan item at the Expected and the Optimistic scenario, the projected stock-out date and the plan day it falls on, days of cover at plan staupsert_customers
Create or update customers in the partner master (max 500 per call) — for customer lists that don't arrive via import_historical_sales_orders. Matched by email (case-insensitive) first, falling back to exact name — so a row with an email sttrigger_qbo_purchase_backfill
Start a historical purchase backfill from QuickBooks Online: a durable background import of PurchaseOrder and Bill documents from QBO into Spark's purchasing graph. Seeds suppliers, items, lead times, and vendor terms so forecasting works istart_labor_session
Clock the signed-in worker in on a run they are committed to, as the start button on their my-work page does: a work session on one phase (setup, attendedRun or cleanup) of a committed labor plan starts now. Name the run by operationId, orpreview_spec_fill
Preview what a spec fill would do WITHOUT writing anything. Returns the affected item count, a sample of up to 10 items with before→after for each attribute, and the resolved spec values. Use this to verify the filter and values before callget_manufacturing_readiness
Check manufacturing setup: BOM validity and unit conversions, internal warehouses, material suppliers and policies, opening stock and first-build progress. This is distinct from forecast readiness. Does not assert that a particular build hainvite_b2b_customer
Invite a customer contact to the B2B store, as the B2B Customers page does: records an invitation and, once committed, emails the contact a link to set a password and sign in. The contact buys for the customer named by customerId (a customeimport_historical_purchase_orders
Import HISTORICAL purchase orders (already received in a previous system). receivedDate − orderDate becomes the OBSERVED LEAD TIME the reorder engine reads (POs from the last 12 months count; it needs at least 3 per item to beat the vendorupdate_supplier
Update a vendor by id. Every field is preserve-on-omit — omitting a field keeps the vendor's current value (it is NOT cleared). Changing name/code/tax/bank re-checks uniqueness. customFields merges per key (see list_custom_fields with entitreport_onboarding_issue
Send the person's own report about one of the account's onboarding issues to the Spark team, with their comment. The issue card calls this when the person picks Report this issue and writes what happened; call it yourself only when the persreplace_price_book_breaks
REPLACE a price book's entire quantity-break grid (full-replace semantics: the supplied list becomes the whole grid; prior breaks are removed). Price changes automatically flag affected live quotes Stale and alert the operator. Empty listsmap_price_book_attribute
Bind one price-book attribute to a canonical ITEM custom field by stable GUID during import, or atomically replace its confirmed mapping on an active book. For a closed enum, provide every exact vendor bookValue and the stable canonicalOptilist_simulation_workspaces
List your consulting partner's simulation workspaces: one per client you are onboarding, each its own Spark account where the client's data comes in and nothing is ever sent to QuickBooks. Shows each workspace's client, owner, when it is deimport_qbo_master_data
Bring the connected QuickBooks Online company's products, vendors (as suppliers) and customers into Spark as records, and optionally QuickBooks' on-hand quantities as opening stock. Requires the governed two-step protocol. Call it with prevget_data_readiness
Audit whether the tenant's data can power each product capability — the answer to 'why are my recommendations empty?'. Returns, per capability (forecast_foundation, reorder_recommendations, demand_forecasting, days_of_supply, inventory_healpreview_labor_capacity
Check whether the planned labor fits the workers' calendars over whole days in the account's time zone: feasible, unknown (a calendar or plan is missing) or overloaded, with the planned person-hours and each slice that is short of crew andcommit_import_session
Preview and commit a staged import session (governed two-step): call with preview=true for a full-pipeline dry-run — order count, date range, monthly historical shipped units, included/source date ranges, rows and orders omitted by the 36-mapply_labor_default
Recalculate a run's labor draft from its operation's reviewed default, as the labor planner screen's apply-default does: the default's per-run and per-unit minutes become the draft's elapsed time and attendance, keeping its planned start. Olist_demand_curve_assignments
List item-level demand-curve assignments with full provenance: which item and warehouse carry which curve, the level mode, whether the assignment is enabled, and who created it (source User/Rule/McpTool plus a sourceRef note). Optionally naget_edi_overview
The EDI dashboard: transaction counts (total, sent, received, failed, awaiting acknowledgment, and created today, in the last 7 and 30 days by the tenant's local day), each trading partner's totals, failures, pending count and last activitycheck_simulation_scenario
Check a scenario file against the simulation workspace this credential is connected to without running it: every problem in the file and every item, supplier, warehouse or purchase-order quantity the workspace does not have, plus a plain-ladry_run_rule
Replay a candidate rule against the recent audit log without firing actions. Shows how many audit events the rule would have matched and the details of each match. Use to test a rule before saving. sampleDays clamped to [1, 90], maxResultsrollback_import_session
Roll back a committed import — staged or inline (governed two-step, destructive): for sales-order imports, soft-deletes every order the session created and removes their seeded demand records so velocity/forecasting return to the pre-importdraft_simulation_scenario
Turn a plain-language description of business events into a scenario file for the simulation workspace this credential is connected to, for example "PO 1042 arrives three units short, then the bill comes in 5% higher". Spark's own draftingget_workflow_guide
Returns the rules for one area of Spark: which tools to call in what order, what each one may and may not do, and the errors to expect. Call it before your first call in an area the server instructions list under WORKFLOW GUIDES, and followlist_ship_lists
The packing and shipping queue — the Shipping page. Each ship list is one warehouse's picked units for an order, waiting to be packed and shipped, with its status (created, inprogress = packing, readytoship, shipped), priority, shipper andsuggest_curves_for_items
Which existing demand curve fits these items best? Derives the items' observed 12-month seasonal shape from their sales history and ranks the tenant's seasonal curves by cosine similarity to it (best fit first, 0..1). Use before apply_demanset_item_images
Set the main product image on EXISTING items by SKU (max 500 per call). Each row names an item (sku) and an absolute http(s) imageUrl on the scheme's default port; the server downloads the image (10 MB cap, must serve image/* from a publiclist_rules
List the tenant's automation rules. Without filters returns all company rules (admin) or the caller's personal + all company rules (non-admin). Optional scope (company / user) and ownerUserId narrow further. Returns the full rule definitiontrigger_shopify_order_backfill
Start the historical Shopify order backfill: a durable background import of the order history that predates the store's connect date. Live tenants only — sandbox/trial tenants keep the connect-date cutoff and are refused. At most one backfiupdate_sales_order
Edit an OPEN sales order the same way the Sales Orders page's Save does: add lines (addLines — itemSku/itemUpc/itemId + quantity, optional unitPrice), change lines (updateLines — lineId from get_sales_order plus a new quantity and/or unitPrcreate_warehouse
Create a warehouse (name + unique code required; type defaults to internal). Runs the canonical creation path: duplicate-name/code check, a default receiving location, and a companion store (same name as the warehouse, returned in stores[]plan_labor_operation
Save a run's labor draft, as the labor planner screen does: how long the run takes (elapsedMinutes, 1–44640), an optional plannedStart (ISO 8601 with an offset or Z), and the complete list of who attends when (requirements, at most 50: a quupsert_items
Create or update catalog items by SKU (max 500 per call) — the direct seeding path for catalogs that don't arrive via import_historical_sales_orders or a channel sync, and the way to enrich existing items. Besides cost, price, barcodes andsave_discount
Create or edit a catalog discount, as the Discounts page does. Omit discountId to create (name, type and discountPercentage required); pass it to edit, where every omitted field keeps its value and a supplied items/brandIds/categoryIds listdelete_discount
Delete a catalog discount by id, as the Discounts page does. The preview shows the discount and how many items it matches; their discounted prices update on commit. To pause a discount instead, set its validUntil with save_discount. Requirerequest_diagnostic_investigation
Start a deep diagnostic investigation into why something is not working the way the user expects (missing run proposals, unexpected signals, unexplained errors). Requires Write scope to persist and enqueue work. Runs in the background for acreate_purchase_order
Create a forward PURCHASE ORDER to a vendor — a draft (status "created") an operator then issues. Give the vendor, the destination warehouse, and the lines to buy; each line names an item (by itemSku OR itemId) and a quantity, with an optioget_receiving_exceptions
List inbound purchase orders that are receiving exceptions — POs sent to the supplier (issued, receiving, partiallyFulfilled, pendingReceiptResolution, pendingReconciliation) that are stuck. Each row carries every bucket it matches (bucketsget_invoice
One invoice, quote or credit note as its page shows it: customer, store, the sales order it bills (or, for a quote, the order it was converted into), dates, totals, every line with quantity, price, discount and tax, and the payments recordemerge_items
Merge a duplicate item into the item to keep (each by id or SKU), as the Merge items page does. The merged item's stock moves onto the kept item in each warehouse, its sales order and purchase order lines, reservations and Amazon/Shopify lilist_demand_signals
List the tenant's expert demand signals — bounded, expiring multipliers that nudge item/cohort forecasts (the channel for feeding outside knowledge like trend spikes, promo calendars, or market events into forecasting). Each row carries thepick_items
Pick (or un-pick) units on a pick list — the pick screen's collect and un-pick. Each line names a pick list line (lineId, or the SKU), a quantity in the line's unit and the location it comes from (optional when one location can serve it); lset_item_classification
Put items into categories, a brand and an item group (up to 200 items per call, by id or SKU). categoryIds replaces each item's categories (an empty list clears them); addCategoryIds / removeCategoryIds adjust them instead. brandId / groupIset_transfer_expected_arrival
Set a stock transfer's expected arrival date (YYYY-MM-DD), or explicitly clear it with clearExpectedArrivalDate=true when unknown. Dates determine when incoming finished goods can cover manufacturing demand; this does not receive stock or cget_purchase_orders
List purchase orders — orders THIS business places WITH its suppliers (replenishment POs by default). A customer's orders are SALES orders — use get_sales_orders for those. Supports reconciliation / status reporting. OPEN POs: in everyday sget_item_seasonal_shape
One item's statistical seasonal shape from its own sales history: 12 monthly factors (mean-normalized to average 1.0), how many months of data produced them, and a 0..1 pattern confidence. Use it to judge whether an item is seasonal at alllist_discounts
List the tenant's catalog discounts: name, type (general = everyone, coupon = needs its couponCode, business = a customer discount group), percent off, validity window (validFrom through validUntil, both tenant-local days included) and whetget_item_pricing
One item's pricing picture (by id or SKU): list price, cost and margin, its brand, group and categories, its volume price tiers (with % off list), the general discount applied to it today, and its price history newest first (list, discountedelete_saved_simulation_scenario
Delete one saved scenario file of the simulation workspace this credential is connected to, by its id from list_saved_simulation_scenarios. Only the saved file goes: runs already made from it, and what they recorded, are kept. It cannot beset_shopify_location_sync_mode
Set the inventory sync mode (none | pull | push | both) for one mapped Shopify location. The effective inventory flow is the store-level switch AND the location mode — e.g. pushInventory on the store plus a 'pull' location means nothing isget_stock_locations
Where is an item stocked? Returns each warehouse's on-hand, committed and available (warehouses: committed is units held by open sales and transfer orders, available is net of them, as list_items and the Inventory page show), the on-hand, aarchive_price_book
Archive (soft-delete) a price book: the book and its grid are hidden from lists and refuse to resolve or quote until restored. Existing run quotes that reference the book are NOT deleted — they retain their recorded price but can no longerupdate_task
Change a task's status (open, in_progress, completed, dismissed), priority (low, medium, high, critical) or assignees (the full list, by email or user id; an empty list unassigns everyone). Omitted parts keep their value. Completing or dismget_labor_operation
One operation's labor, as the planner's detail panel shows it: the draft plan and its version, the committed allocation and its commit/release history, time recorded against it by worker, work sessions running now, and issues workers reportget_improvement_plan
Read the tenant's deterministic improvement plan: a readiness meter (weighted percentage across forecast-quality and sourcing milestones) plus a ranked action queue. Each action carries an impact sentence, affected/total counts, and the suglist_shipping_methods
The account's shipping methods (delivery or pickup), for pack_items' package.shippingMethod.submit_demand_signal
Submit an expert demand signal: a bounded, expiring nudge to forecasted demand for one item (by SKU), a tag cohort, or a category. Use it to feed outside knowledge the sales history can't see yet — an upcoming promotion, a trend or search sgenerate_price_book_profiles
Sweep every item a price book's supplier can make and generate the sourcing profiles that make them quotable — the bulk version of upsert_item_sourcing_profile. For each candidate item it runs the deterministic pre-fill over the item's ownrun_demand_analysis
Run the demand analysis and persist a report. Inside the plan-derived reuse window (30 days for Free, 24h for paid tiers) with no new orders the fresh report is reused (the preview says which outcome the commit will take and reports quota ssave_labor_pool
Add a qualified labor pool, or edit one, as the labor resources screen does: its name and the workers qualified in it (at most 100). Plans draw crews from pools. Omit pool to add one (name required); name an existing pool by id or name (getconvert_rfp_to_purchase_order
Make the purchase order an approved request for proposal (RFP) decides, as the RFP screen's Generate Purchase Order does: a new purchase order in Created status with the RFP's supplier, warehouse, lines and due date, and the RFP marked fulftransition_work_order_operation
Start or finish one work order operation, as the work-order screen's start and finish buttons do. Find operations and the moves each allows with get_work_order. start: a pending operation; on the standard screen it goes into preparation worlookup_business_partners
Look up business partners (customers and/or vendors) from the tenant's partner master. Filters (all optional): search (case-insensitive substring over name, code, email, and phone number); partnerType (customer, supplier, or both [default]email_purchase_order
Send a purchase order to its vendor by email (the PO as a PDF, with prices). A draft (status created) is issued first; an order already issued is sent again. An order that still needs a person's approval is not sent — issue_purchase_order sset_shopify_store_settings
Update a Shopify store's sync configuration with preserve-on-omit semantics: only the arguments you pass change; everything else (including location mappings) is kept exactly as configured. orderStatusRules merges per key — keys you omit kesave_uom
Create or edit one unit of measure. Omit id to create (abbreviation, name and type required; type is quantity, weight, volume or dimension); pass id to edit, where every omitted field keeps its value. Abbreviations are unique per tenant. Acreate_price_list
Create a customer price list, as the Price lists page does. It starts as a draft in the tenant currency and prices nothing until activate_price_list publishes it; add its prices with append_price_list_lines and give it to customers with assset_inventory_policy
Set or update the reorder policy for items at a warehouse: reorder point (the low-stock threshold), and optionally restock quantity, safety-stock days, and lead-time days. A reorder point or restock quantity you set is pinned (it won't autoassign_price_list
Assign a price list (id or code) to one customer or one customer group, as the list's Assignments tab does. Name the customer by customerId, customerEmail or exact customerName, or the group by customerGroup (id or exact name, the customerget_saved_simulation_scenario
Read one saved scenario file of the simulation workspace this credential is connected to: the file, checked against the workspace as it stands now, with a plain-language reading of each step and anything that would stop it running. ready=trtransfer_pickup_order
Send a pickup order to another store, as the pickup monitor's transfer does: its stock reservation moves to the new store's warehouse, its pick and ship lists are rebuilt there, its pickup position is cleared and it gets a new pickup code.upsert_tax_rates
Create or update tax rates by name (max 100 per call, case-insensitive match) — the direct fix for the 'tenant has no tax rate configured' blocker on item creation. percentage (0-100) is required when creating; updates are preserve-on-omit.update_manufacturing_order
Edit one manufacturing order, named by id (GUID) or number. Every omitted field keeps its value; an empty description or internal note clears it. A draft takes every field: priority (1 highest to 10 lowest), assignee, customer, internal prostart_production_run
Start a production run: send 1–100 production work orders to work together, as the production screen's Send to work does. Each moves from readyForProduction to started under one new run number. Every work order must be a production work ordtransition_purchase_order
Atomically execute a previously previewed purchase-order transition. Requires the single-use previewReceipt, exact entityVersion, and a caller-generated idempotencyKey. The server recomputes canonical state inside a serializable transactionresolve_customer_price
What a customer pays for some lines on a day, and why, exactly as the order form and POST /api/v1/pricing/resolve price them: the customer's own lists, then its groups', then the tenant default list, each line at its own quantity and unit,create_invoice
Invoice a sales order — the order page's Generate invoice. Bills every shipped unit not yet on an invoice (a draft counts), priced as the order lines are. Leaves a draft invoice by default; issue=true also issues it (numbers it, bills the oget_vendor_portal_settings
Read the vendor portal settings, as Setup > Vendor portal shows them: the tenant default for sharing the demand forecast with suppliers (Off; Forecast; or ForecastAndOrderTiming, which adds the estimated next order), how many months ahead acancel_pickup_order
Cancel an open pickup order from the pickup monitor. It leaves the board and its stock reservation is released. Unless sparkOnly=true, it is also canceled in Shopify (refund and restock, when order updates push to Shopify) and the customerget_manufacturing_order
Read a manufacturing order, its work orders and pick lists, quantity-specific material shortages, its productionMode (quick_build: build lines in one step; work_orders: pick and work step by step), and the next production steps, each namingsave_edi_item_mapping
Create or edit one EDI item mapping: which Spark item a trading partner's SKU or UPC stands for, with the customer's description and unit, the conversion to the Spark unit and the customer price. Omit id to create (tradingPartnerId, itemIdget_simulation_scenario_run
Read one scenario run of the simulation workspace this credential is connected to: its status, its expectations (expected vs actual), its accounting checks (invariants: every journal entry balances, Inventory Asset moved with Spark's inventget_pick_list
One pick list, as the pick screen shows it: each line's item, quantity to pick and picked, and every location that can serve it (available units, units already picked there, lots, expiries and serials). Locations are in the item's base unitlist_machines
List this account's machines by name: serial number, the operation type each performs, whether an operation is running on it now (and on which work order), and how many unfinished operations are assigned to it. Filter by inUse or by text instart_migration_import
Start a Fishbowl Advanced database-backup import. Returns an uploadUrl for the customer to upload a MySQL .sql backup or a ZIP containing one SQL backup (up to 20 GB uploaded; the upload page resumes an interrupted upload and must stay openrun_simulation_scenario
Run a saved scenario file in the simulation workspace this credential is connected to. The file is the runner's JSON format (format "spark.scenario", version 1): a start (date, settings, account mapping, purchase orders) and actions (receivget_data_coverage
Show where each kind of data the person's goals need will come from, as one map. Call it once the person's sources are saved (save_data_sources) and before walking the connect queue. Returns one row per kind in the order setup fills them: pcreate_transfer_order
Create a stock TRANSFER ORDER moving items from one warehouse node to another — the action a reorder/transfer RECOMMENDATION points at (replenishing a transfer-mode 3PL/FBA node from a supplying DC). Lines are given by SKU + quantity; the ireport_issue
Submit a structured issue report to the Spark engineering team when you encounter a problem you believe is a server-side bug, a documentation gap, or an MCP surface issue — NOT for user-input mistakes you can correct yourself. You MUST askget_research_brief
Get a research brief for the tenant's demand intelligence: top items that would benefit from outside research (with forecast profile), deterministically matched external data sources (with ingestion recipes), existing evidence records, andopen_inventory_workspace
Open Spark's workspace for inventory, purchasing and receiving: browse stock, review reorder recommendations, preview and confirm draft purchase orders, and inspect existing drafts. Use view=purchasing or view=receiving for those workflows.preview_vendor_forecast
Show exactly what one supplier sees on the vendor portal's demand forecast pages, as the supplier page's Preview as supplier panel does, whatever its sharing level: the house items it default-supplies, each with monthly demand history and fcreate_task
Add a task to the team's task list: a title, optional description, due date (YYYY-MM-DD) and priority, the team members to assign (by email or user id) and optionally the item, warehouse, sales order, purchase order or customer/vendor it coget_setup_guidance
Get the Spark browser signup link. The user enters account details and verifies email only on Spark's website. Never request passwords, verification codes or other credentials in chat.update_rule
Update an existing automation rule by id. Accepts the full rule definition (same shape as create_rule): read it with get_rule, change what you need and send the whole definition back — an omitted field takes its default (enabled=true, execucreate_demand_curve
Create a demand curve from 12 monthly weights (January-first). The server normalizes the points to mean 1.0 before persisting, so attaching the curve can never change an item's annual forecast volume by itself. curveType: Seasonal (repeatsimport_historical_sales_orders
Import HISTORICAL sales orders (already fulfilled in a previous system). They feed demand velocity, forecasting, and reporting but never touch current inventory: no reservations, no pick lists, no notifications. Orders are written as compleget_price_book_grid
A bounded page of a price book's pricing surface: its spec attribute schema (which cost-driver attributes key the grid) and quantity breaks (each row carries its own isActive flag): spec key, minimum quantity, unit cost, flat setup cost. Rereport_labor_issue
Report something stopping the signed-in worker on a run they are committed to or working now, as the report-issue button on their my-work page does; planners see it in list_labor_issues. reason is materials, equipment, quality, instructionssave_onboarding_goals
Save the person's answers to the goals card from get_onboarding_goals, each by option key or title: outcomes (any number), other (what else they want, in their words), fulfillment (one) and manufacturing (one). Give at least one outcome orpush_inventory_snapshot
Push a FULL inventory snapshot for an External (non-warehoused) warehouse. Set semantics: the list is the complete on-hand picture — items omitted from it are ZEROED. Empty snapshots, non-External warehouses, oversized lists (max 5000 itemsremove_rate_component
Remove a single rate component by key from a DRAFT ComponentPriced price book. Idempotent — removing a key that does not exist succeeds silently.compare_run_plan_sources
Compare EVERY eligible supplier source for one item using forecast-derived run cadences, realized selling price, setup cost, carrying cost, payback, return on spend, and return on capital. Preferred/default supplier is reported as policy copack_items
Pack picked units into a package on a ship list, or take them out — the packing screen. Each line names a ship list line (lineId, or the SKU) and a quantity in the line's unit; lot-, expiry- and serial-tracked lines name which picked lots,check_rule_conflicts
Check a proposed rule body for conflicts against existing enabled rules without persisting anything. Returns mutation collisions, opposing verdicts, and shadowing conflicts. Pass excludeRuleId when editing an existing rule so it does not colist_custom_fields
List the tenant's custom field definitions (optionally filtered to one entity): id, name, fieldName, type, position, options (for list/multilist), item-group limitation and the import-identifier/cost-attribute flags. fieldName is the key usupsert_bills_of_materials
Create or replace bills of materials by finished-good SKU (max 500 per call) — the manufacturing seeding path. Each row is one finished good plus its COMPLETE component list (component SKU + quantity per unit, optional UoM/note/scrap); an eget_production_run
Read one production run by productionRunId or by its number: when and by whom it started, and each of its work orders with its status, manufacturing order, and the output it makes with planned and completed quantities. Read a work order's mget_run_quote
Read a run quote by id, with its live effective status (Active, Stale — grid or commodity basis moved since issue, Expired, or Accepted).list_bills_of_materials
List the tenant's bills of materials: finished good (id, SKU, name), the isPrimary flag planning explodes on, and the component lines in BOM order (component SKU/name/type — noninventory lines are labor/overhead — quantity per unit, UoM, opget_action_context
Get the full Signal Center context for one event returned by list_open_actions. Returns its compact summary, safe allowlisted scalar evidence, and the linked proposed ActionItem (type, allowlisted inputs, completion state) when its ownershilist_migration_imports
Find the latest 50 customer-initiated migration imports (Fishbowl backups and Cin7 Core) for this tenant, so an assistant can resume a previous import without creating another.get_data_sources
Ask where a person's records live, in one step. Renders the source picker card: every tool Spark knows in one searchable grid, grouped (online store or point of sale, marketplaces and wholesale, accounting, inventory system, warehouse or 3Plist_manufacturing_orders
Find manufacturing orders on this account, optionally filtered by production warehouse. Returns up to 100 orders per page, newest first. Use get_manufacturing_order with a returned ID to inspect work orders, picking and next steps. Operatorlist_shipping_containers
The account's shipping boxes with their dimensions and max weight, for pack_items' package.container (which fills the package's size from the box).update_purchase_order_lines
Edit the lines of a DRAFT purchase order (status created) the way the Purchase Orders page's Save does: add lines (addLines — itemSku or itemId + quantity, optional unitCost; an omitted cost is priced from the vendor's price book, then theevaluate_price_book
Evaluate an imported price book: what drives its pricing, each attribute's confirmed canonical field/option bindings and deterministic suggestions, the shape of the grid, how many of the supplier's items could be priced today, and exactly wget_onboarding_goals
Read the goals card for chat onboarding: three questions and the person's answers. Call it first in chat onboarding (the journey's goals stage) and show the goals card. questions: outcomes ("What do you want Spark to help with?", pick any,generate_demand_curve_from_history
Generate a demand curve FROM the selected items' own sales history and apply it to them, in one governed action. The server derives the shape statistically — a single item uses its own monthly seasonal factors; multiple items use the cohortgenerate_suggested_purchase_orders
Draft the purchase orders a manufacturing order's materials need, as the order screen's restock step does: its remaining lines are exploded through their bills of materials, and each material short at the order's warehouse (after on-hand stlist_suppliers
List the tenant's vendors: id, name, code, contact/email/phone, and the default lead time (days) the reorder engine uses when no item-specific or historical lead time exists, plus any custom field values set on the vendor (customFields, keyget_demand_calendar
The Demand Calendar: every known event that moves demand (campaigns, email & SMS sends, discounts, price changes, product launches, wholesale orders, market and history notes) overlapping a date range, with each event's status (suggested, wget_inventory_health_settings
Read the tenant's inventory health policy, as the Health score section of Company Settings shows it: the health-score factor weights and days-of-supply bands, the portfolio health-degraded alert's drop threshold and lookback, and the targetresolve_unit_cost
Resolve a unit cost + flat setup cost for a quantity — a pure read (no quote is created). Three forms: (a) itemSku alone — prices via the item's DEFAULT sourcing profile: the profile names the book, and the spec is derived live from the iteget_transfer_orders
List stock transfer orders (warehouse→warehouse moves) for reconciliation / status reporting — e.g. to confirm a transfer you just created landed. Filters (all optional, AND-combined): status (created, pending, picking, picked, packing, pacpreview_campaign_plan
Preview a campaign plan's forecast effect under one scenario (Expected by default): baseline versus adjusted units and revenue per item over the remaining campaign window, with warnings such as overlapping applied plans or bounded effects.delete_edi_item_mapping
Delete an EDI item mapping by id, as the EDI screens do (a soft delete). Requires an operator (unpinned) credential.delete_rule
Delete an automation rule by id so it stops firing. Its run history is kept. A deleted Spark default rule is not recreated; turning it off with update_rule (enabled=false) keeps it available. The preview shows the rule in plain English; theget_import_session
Read a staged import session: status, the uploaded file's profile (columns, inferred types, sample rows, anomalies — everything needed to author a mapping), the current validation report, and commit progress (committedOrders/totalOrders) whlist_rule_runs
List the scheduled-run history for one rule — newest fire first. Shows status (pending/running/succeeded/failed/skipped), handler result text or skip reason, error details, and duration. Limit clamped to [1, 100], default 20. Read-only.list_item_sourcing_profiles
List item sourcing profiles — the stored link between an item and its default price book + production spec — including live drift status: specValid=false means the spec no longer matches the book's current schema and quoting is blocked untilist_shopify_item_mappings
Read-only export of which Shopify variant each Spark item is linked to: item id, SKU and name, store, Shopify variant gid, Shopify inventory item id (the level Spark writes stock to), the variant's Shopify name, and linkedVariantCount — howcomplete_handoff
Post the result of a job a user handed off to you (find hand-offs with list_tasks handoff=true; read the brief and its context with get_task). Give a one-line summary that continues your name, e.g. 'found 3 suppliers that can ship by Oct 12get_replenishment_plan
Get a credential-owned Inventory Mission Control plan. Omit revision for the current immutable revision or provide its one-based number for audit. Another credential, tenant or client pin receives the same PLAN_NOT_FOUND response. Expired ddelete_custom_field
Delete a custom field definition by id (GUID) or entity.fieldName, as the Settings page does. Soft: the field disappears from list_custom_fields and stops accepting new values, but every stored value is RETAINED, so re-creating the same entset_warehouse_supply_route
Set a warehouse-level supply route. Use purchase_order with no supplyWarehouseId for local purchase/production, or transfer with a supplying warehouse. Optional supplyTransitDays is 0–365 calendar days from the supplier; omit for unknown. Mbuild_replenishment_plan
Build an Inventory Mission Control replenishment plan from Spark's canonical reorder detection. Returns grouped buy, transfer, manufacture and defer decisions with known-vs-unknown spend, MOQ adjustments, source freshness, blockers and stablist_production_runs
Find production runs on this account, newest first. A production run is a batch of production work orders started together under one run number. Each row gives the run's number, when and by whom it started, and how many of its work orders alist_b2b_customers
List the B2B store's customer logins (contacts who accepted an invitation, each tied to the customer whose prices and orders they see), newest first, and the invitations still waiting to be accepted, as the B2B Customers page under Setup doget_edi_transaction
Open one EDI transaction: its fields, the readable rendering of the document, the parsed JSON, validation errors and the raw X12 (cut at 20,000 characters). Requires an operator (unpinned) credential.list_import_sessions
List the credential's staged import sessions, newest first — the way to FIND an importSessionId when you don't have one. Every other tool in this family (get_import_session, set_import_mapping, commit_import_session, rollback_import_sessionset_item_volume_pricing
Replace one item's volume price tiers (by id or SKU) with the list given: each tier is a minimum order quantity (greater than zero, unique) and the unit price from that quantity up. Tiers not in the list are removed; an empty list removes tappend_price_list_lines
Add or overwrite up to 500 prices on a price list (id or code), as the list's lines upload does. A line is an item (id or SKU), an optional uomId (omit for the base unit), a minimumQuantity where the break starts (default 1) and a unitPricesave_tax_rate
Create or edit one tax rate. Omit id to create (name and percentage required); pass id to edit, where every omitted field keeps its value. Names are unique per tenant. isDefault=true makes it the default rate new items take; the preview namadopt_price_book_attribute_key
Rename one vendor attribute key on a DRAFT price book, rewriting and rehashing every price break that carries it. This is optional schema cleanup; it does NOT bind the attribute to an item field. Use map_price_book_attribute for the authoriget_replenishment_defaults
Read the tenant's replenishment defaults: the purchase lead time and flat safety stock an item falls back to when nothing more specific covers it, tenant-wide and per item group, with the value in force and where it came from (item_group_deget_replenishment_settings
How each item is restocked at each warehouse, and every input behind it, in one row per item x warehouse: method (build, buy, transfer or none) and why, the source (supplier, supply warehouse or primary bill of materials), the inventory polupdate_ship_list
Reassign a ship list's shipper or change its priority (default or high) — the Shipping page's Assign and Prioritize actions. Works on lists not yet shipped. Two-step: preview=true, then commit with the previewReceipt.list_items
List stockable (inventory) items with the context needed to set opening inventory and reorder policy: item id, SKU, primary UPC, cost, default vendor, a per-warehouse breakdown of current on-hand, committed (units held by open sales and traget_client_onboarding_status
Read one 3PL client's onboarding/feed status — use it to verify a publisher is wired up and its feed is flowing (after create_client + inventory/order pushes). Returns the client's config (name, code, management mode, feed source + cadence/resolve_labor_issue
Resolve an open issue a worker reported, as the labor planner screen's resolve button does: the issue closes with the resolution text (1–1000 characters), which the worker sees on their my-work page. Find open issues with list_labor_issues.size_order_to_date
How much of an item to order so stock lasts through a date ("enough to get through Nov 15"). For each item (itemIds and/or skus, max 100) at one warehouse: the daily demand rate (forecast over exactly that window, or recent sales), days frolist_spec_templates
List the org's spec templates — named, reusable production configurations that can be applied to items via apply_spec_fill(templateId=...). Paged: pass limit (1–100) with offset; omit limit for every template up to 100, or PAGING_REQUIRED.list_purchase_order_change_requests
List changes suppliers proposed to purchase orders, through the vendor portal (line quantities and prices) or by email (also expected dates, shipping status and tracking). Each request shows its PO, supplier, status, source, line changes (ocreate_import_session
Start a STAGED historical import for a large or file-based history — the scalable alternative to the inline import tools (which cap at 500 orders per call). Supports three kinds: "salesOrderHistory" (demand velocity), "purchaseOrderHistory"restore_price_book
Restore an archived (soft-deleted) price book so it can price quotes and runs again. The book and its grid reappear in lists and the resolve path accepts them. Two-step: preview=true shows the book and what references it and returns a singlget_items_by_days_of_supply
Which items are about to run out? Ranks items ascending by daysOnHand (current available ÷ the planning rate — the stockout-urgency signal), so the most urgent are first. Filters (all optional): minDays / maxDays bound daysOnHand; includeNoupsert_uoms
Create or update units of measure by abbreviation (max 100 per call, case-insensitive match). name and type (quantity/weight/volume/dimension) are required when creating; updates are preserve-on-omit. isDefault=true moves the default flag.get_sales_order
Read ONE sales order with its lines — by salesOrderId (GUID) or by its document number (exact, case-insensitive). Returns the header (status, customer, store, warehouse, totals, dates, notes), whether the order is still editable, an opaqueget_promotion_response
The measured promotion or price response for a Promotion or PriceChange demand forecast plan: a suggested Conservative / Expected / Optimistic percent range measured from this workspace's own discount windows, line discounts, price historyget_reorder_recommendations
What should I reorder? Returns the tenant's reorder decision (the one its reorder and transfer sweeps propose with, and the item page shows) as actionable recommendations in three buckets: purchase orders (buy from vendor, grouped-ready vialist_tasks
List the team's tasks (the My Work list): title, type, status, priority, due date, assignees and the item, warehouse, order or partner each concerns, plus counts of open tasks by priority and unassigned. By default only open and in-progresslist_demand_curves
List the tenant's demand curves — reusable seasonal/lifecycle shape profiles that re-time an item's forecast across the year. Each row carries the curve's 12 monthly points (stored mean-normalized: they average 1.0, so a curve can never chasave_pickup_settings
Change a store's Pickup Settings page: isEnabled (customers can book pickup; turning it on also shows the Pickup Monitor in the menu), leadTimeMinutes, maxDaysAhead, slotDurationMinutes, blackoutDates (YYYY-MM-DD, the full list), timeSlotsget_rule_catalog
Get the rule authoring catalog — the versioned DSL vocabulary of trigger families, condition operators, action types, verdict kinds, execution modes, field types, entities with their fields, and audit event fields. Use this to understand whget_diagnostic_investigation
Get one diagnostic investigation: status, current phase, and — once completed — the explanation. Poll this after request_diagnostic_investigation when the surface has no push channel.get_purchase_order_receiving
What is still open to receive on a purchase order? Returns the order's status, vendor and destination warehouse, whether it can be received now (and why not), and every receivable line with ordered, received, missing and remaining quantitielink_price_book_row_to_item
Point one unmatched row of an item-priced price book at an item — the answer to a supplier SKU that matched nothing, or matched several items and so was left deliberately unresolved. The row becomes priceable immediately (and is switched baapply_demand_curve_to_items
Apply one demand curve to a batch of items (max 10,000 ids per call; item ids come from list_items) in a single idempotent action. The ids must belong to the targeted catalog: a client-pinned credential applies to its own client's items, anlist_labor_operations
The labor planner board: each operation of an open production work order with its labor status (unplanned, draft, committed or reviewRequired), the draft plan's crew requirements by pool and named worker, the committed allocation if one isdelete_spec_template
Delete a spec template by id (GUID) or name. Soft: it disappears from list_spec_templates and apply_spec_fill can no longer use it. Items already filled from it keep their values, and those fills can still be reversed; the preview counts thget_pricing_scenarios
How many weeks an item's available stock takes to clear under pricing moves, and which to pick: hold the price (the demand forecast), mark it down (default 15%; demand change from this workspace's own measured price response — a qualified mcommit_replenishment_plan
Preview or atomically commit the current Inventory Mission Control revision into created purchase-order, transfer-order and manufacturing-order drafts with durable mission lineage. A manufacture line drafts a manufacturing order at its wareupsert_campaign_plan
Create or update a campaign plan from an agency's media plan or brief. The plan is keyed by (externalSource, externalId) — the platform the campaign id belongs to and its id there — so re-sending the same campaign updates it, and an identiccancel_manufacturing_order
Cancel a manufacturing order, named by id (GUID) or number, as the manufacturing order screen does. Every work order of it that is not completed or canceled is canceled too, started ones included, and their reserved materials are released;send_pickup_message
Text or email a pickup order's customer, as the pickup monitor's message composer does. kind=custom sends your words verbatim: channel sms or email, body, and for email a subject. kind=ready_reminder resends the ready-for-pickup notificatiolist_invoices
The Invoices, Quotes and Reverses pages: customer invoices (default), quotes (documentKind=quote) or credit notes (documentKind=credit_note), newest first, with status, customer, the sales order billed, dates, total and whether an issued inship_out
Ship a fully packed ship list out — the packing screen's Finish packing and Ship out buttons. step=ship (default) finishes packing if needed and ships: the packed units leave inventory against the order (a sales order's stock is sold; a tracreate_credit_note
Credit a received customer return — the return receipt's Create credit note. Raises one credit note per fully received return receipt that has none yet, priced as the lines were sold (discounts prorated, the sold tax rate), reconciling theset_demand_curve_assignment_enabled
Enable or disable one demand-curve assignment — the reversible off-switch: a disabled assignment stops shaping the item's forecast but keeps its configuration and provenance, and can be re-enabled at any time. Deleting assignments (or curveupdate_quote_status
Mark an open quote accepted (the customer agreed; it can then become a sales order with convert_quote) or canceled (withdrawn or declined). A converted or canceled quote cannot change. Two-step: preview=true, then commit with the previewRecreverse_spec_fill
Reverse a prior spec fill — restores every affected item's custom field values to their pre-fill state. Refuses if a later batch wrote overlapping attributes on overlapping items (to avoid overwriting newer data); those items are skipped wirelease_labor_plan
Release a run's labor commitment, as the labor planner screen's release does: its hours stop counting against other plans and nobody can start new work on the run until it is committed again. The draft stays as it is; sessions already runniinvite_vendor_user
Invite a supplier's contact to the vendor portal, where they see the purchase orders sent to that supplier, update shipping, and propose changes. Name an existing supplier (id or exact name), or pass newSupplierName to create the supplier wlist_clients
List the tenant's 3PL clients (publishers/owners): id, name, code, active/entitled flags, management mode, order horizon, and the per-client external-feed and run-planning overrides. Active-only by default (set includeInactive to see all).complete_pick_list
Finish picking a pick list — the pick screen's Complete button. mode=complete (default) needs every line fully picked; mode=partial closes the list with what has been picked so far and leaves the rest unpicked on the order. The picked unitsget_work_order
Read one work order: its status, the output it makes and the materials it consumes with planned and completed quantities, its operations in order (status, assignee, machine, and whether transition_work_order_operation can start or finish easet_vendor_forecast_sharing
Decide how much of the demand forecast suppliers see in the vendor portal. Without supplier it changes the tenant default: level and/or forecastHorizonMonths (1-12); an omitted one keeps its value. With supplier (id or exact name) it sets tget_inventory_value
Total VALUE of inventory on hand, from the cost layers: the cost still in each item's FIFO or average layers, the same value the accounting ledger's Inventory Asset carries. On hand INCLUDES reserved units (still owned); availableValue pricreceive_customer_return
Receive returned units against an issued customer return — the Receiving page's return processing. Each line gives units back in sellable condition (put into stock at the warehouse's receiving location, or receivingLocationId) and units damlist_returns
The Customer Returns page (kind=customer, default) or supplier returns (kind=supplier), newest first: status, the customer or supplier, the sales or purchase order it came from, warehouse, units on the return and units received back (customget_rule
Get a single automation rule by id. Returns the full rule definition including trigger, conditions, actions, execution mode, priority, version, and conflict acknowledgments. Read-only.search_item_mentions
Search up to 12 stockable item identities for an assistant's item mention picker. Accepts an empty query. Returns bounded resource links; read the selected resource for its identity, then use inventory tools for current stock and planning elist_edi_transactions
List EDI transactions, newest first: partner, document type (850 purchase order, 855 acknowledgment, 856 ship notice, 810 invoice, 997 functional ack, 846 inventory advice), direction, status, control and PO numbers, error, linked sales ordcreate_sales_order
Create a LIVE customer SALES ORDER through the same lifecycle the Sales Orders page uses: it gets a document number, price-book pricing, tax and totals, and (when submitted) reserves stock and appears in picking. Use this for a real, open ostart_account_setup
Open account setup by returning a fixed Spark browser link. Takes no personal information or secrets, sends no email and creates no account. The user completes verification only in their browser.trigger_qbo_sales_backfill
Start a historical sales backfill from QuickBooks Online: a durable background import of Invoice and SalesReceipt documents from QBO into Spark's sales graph. Seeds customers, items, and demand velocity so forecasting works immediately. USDsave_simulation_scenario
Save a scenario file in the simulation workspace this credential is connected to, under a name, to run or revise later (list_saved_simulation_scenarios and get_saved_simulation_scenario read it back, delete_saved_simulation_scenario removesdismiss_action
Preview or commit dismissal of one Signal Center event. Dismissal removes the event from the open queue, resolves its source notification, and participates in the existing suppression-learning loop. It never executes a proposal. First calllist_warehouses
List the tenant's warehouses (id, name, code, internal/external type, replenishment mode, and any custom field values set on the warehouse — customFields, keyed by fieldName; see list_custom_fields with entity=warehouse). Use the ids with supsert_custom_fields
Create or update custom field definitions by (entity, fieldName) — max 100 per call, case-insensitive match. Check for a built-in first: a custom field is plain data that reorder recommendations, purchasing, pricing, reports and fulfillmentsave_spec_template
Create or edit one spec template: a named, reusable set of cost-driver attribute values (e.g. "Standard Paperback" = Perfect binding, 6×9 trim, Mono text) that apply_spec_fill(templateId=...) applies to many items at once. Omit templateId tissue_invoice
Issue a draft invoice — the invoice page's Confirm. The invoice is numbered (if it has no number yet), its quantities are billed on the sales order it came from, and connected accounting integrations receive it. An issued invoice can no lonactivate_price_book
Publish a DRAFT price book so it can price quotes and runs. Validates first and REFUSES with the reasons if the book could not price correctly — an empty grid, breaks missing a cost-driver attribute (which could never resolve), duplicate orlist_campaign_plans
List campaign plans: forecast plans of type Campaign with their campaign facts (externalSource/externalId, kind, channels with planned spend, hero items, offer, audience, markets, planned reach, recorded actuals) and status (Draft, Scheduleupdate_pick_list
Reassign a pick list's picker or change its priority (default or high) — the Picking board's Assign and Prioritize actions. Works on lists not yet completed. Two-step: preview=true, then commit with the previewReceipt.append_price_book_breaks
Append price breaks to a DRAFT price book without clearing what is already there — the way to load a grid too large for one call. Max 500 breaks per call. Re-sending a chunk OVERWRITES its rungs rather than failing, so an import interruptedrecord_work_order_qa
Record a quality inspection of a started work order's output on an account with work order QA turned on. Append the units an inspector measured (each unit's measures in measurement plan order: value for a dimension, passed for a go/no-go gareserve_stock
Hold stock so it cannot be sold or picked, or release a manual hold — the Inventory page's Reserve and Unreserve actions. Each line names the item, reserve or release, the quantity, and the location (optional when the item is in one locatiostop_labor_session
Stop a running work session and record its time, from its start to now, against the run. In the app, with nothing named, stops the signed-in worker's own session (User role), as their my-work page does. Naming sessionId, or a worker (id ordelete_catalog_taxonomy
Delete an item category, brand or item group (kind=category|brand|group), as the app's delete does. A category that still has subcategories is refused (move or delete them first). The preview counts the items that carry the entry and, for alist_saved_simulation_scenarios
List the scenario files saved in the simulation workspace this credential is connected to, most recently saved first, with their names and when they were saved. Read one with get_saved_simulation_scenario.create_supplier
Create a vendor. Name is required and must be unique within the tenant; code, tax number and bank account (when supplied) must be unique too. Set defaultLeadTimeDays (0-365) to give the reorder engine a fallback lead time. Pass customFieldssave_labor_worker
Add a labor worker, or edit one, as the labor resources screen does: their name, the Spark account they sign in with (which gives them a my-work page), and whether they are archived. Omit worker to add one (firstName required); name an exisdelete_client
Soft-delete a 3PL client by id (reversible in the DB; the client stops appearing in listings and recommendations). Requires an operator (unpinned) org token on a 3PL tenant.create_run_quote
Issue a run quote — a FROZEN unit-cost + total-cost snapshot with a validity window (default 30 days, max 3650) that later grid changes flag Stale. Two mutually exclusive forms: (a) itemSku — quotes the item's DEFAULT sourcing profile (bookrecord_labor_time
Record time a worker spent on a run after the fact, as the labor planner screen does: one phase (setup, attendedRun or cleanup) from start to end, at most 24 hours. start and end are ISO 8601 instants with an offset or Z (e.g. 2026-10-12T08get_ship_list
One ship list, as the packing screen shows it: each line's quantity to ship, packed and shipped, what is still packable (picked lots, expiries and serials not yet in a package), every package with its box size, weight, shipping method, tracconvert_quote
Turn a quote into the next document — the Quotes page's Generate sales order / Generate invoice. into=sales_order (accepted quotes only) creates a draft sales order with the quote's lines, marks the quote converted, and emails the customerlist_vendor_portal_users
List who can sign in to the vendor portal: each supplier's active portal logins and pending invitations (id, supplier, email, name, status active|pending, invited and accepted dates, and forecastSharing: how much of the demand forecast thatclear_account_data
Reset a SANDBOX (pre-go-live) account to empty so it can be seeded again from scratch (governed two-step, destructive). Deletes every transactional row — items, customers, suppliers, sales and purchase orders, inventory, history, signals, 3move_pickup_order
Move a pickup order on the pickup monitor board, as dragging its card does. move: picked; ready (ready for pickup: texts or emails the customer the ready notification unless notifyCustomer=false; optional pickupPosition); picked_up (from Recreate_shopify_discount_code
Create a discount code on the connected Shopify store: a percentage or a fixed amount off, on the whole store or on specific Spark items (each must be linked to a Shopify product), from a start day to an optional end day, with an optional tassign_items_to_client
Re-tag existing items to a 3PL client (publisher/owner), so the client owns them for inventory, price books, quotes and recommendations. Select the items by skus OR itemIds (supply exactly one of the two), max 200 per call. Items already owcreate_rule
Create a new automation rule. Accepts the full rule definition: scope (company/user), name, trigger, conditions, actions, executionMode (propose/autopilot/observe), priority, and optional cooldownSeconds. Use get_rule_catalog first to underlist_edi_trading_partners
List the tenant's EDI trading partners: name, code, status, test mode, connection type, ISA qualifier and interchange ids, supported document types, contact, note, and counts of transactions, failed transactions and item mappings. Connectiocancel_replenishment_plan
Cancel a credential-owned Inventory Mission Control plan. Live and expired drafts may be cancelled; committed, superseded and already-cancelled plans cannot. The preview shows the plan's revision and line counts; the commit refuses if the plist_simulation_snapshots
List the snapshots of the simulation workspace this credential is connected to: the baseline (the client's data before anything was rehearsed, what reset_simulation_workspace returns to) and the named snapshots, with when each was saved, horeview_purchase_order_change_request
Approve or reject a supplier's pending change to a purchase order (from list_purchase_order_change_requests). Approving applies the supplier's line quantities and prices (adding or removing lines), and any proposed expected date, shipping supdate_supplier_price_book
Update a vendor price book by id with FULL-REPLACE semantics (identical to the web app's edit form): the supplied payload becomes the book's whole metadata state, so omitted optional fields are cleared/defaulted, not preserved — except leadcreate_customer_return
Open a customer return against a shipped sales order — the order page's Create return. Each line names the sales order line (or SKU) and how many units come back; a line can return at most what shipped minus what is already on a return. Serset_replenishment_defaults
Change the tenant's replenishment defaults (see get_replenishment_defaults): the default purchase lead time (days) and flat safety stock (days of demand) for items nothing more specific covers, tenant-wide and per item group. A group's defaget_manufacturing_material_plan
Explain raw-material demand at one production warehouse: every finished-good forecast × BOM contribution, stock/subassembly offsets, finite open manufacturing orders, incoming supply timing, and purchase shortfalls. Uses the same planner asdelete_task
Delete a task from the task list, as the task page's delete does (Admin). To close a task and keep its record, use update_task with status=completed or dismissed instead. Two-step: preview=true, then commit with the previewReceipt.get_external_feed_status
Feed-freshness status for an External warehouse: last inventory/sales-order sync times and counts.preview_purchase_order_transition
Preview one exact purchase-order lifecycle transition and issue a short-lived, single-use confirmation receipt. Supported transitions are IssueOrRouteForApproval, Cancel, and QuickReceive. IssueOrRouteForApproval never grants approval: an uget_campaign_results
Get a campaign's results: the recorded close-out actuals (spend, impressions, clicks, attributed orders) with click-through rate and spend per attributed order, and — once a planner has applied the plan — the frozen applied forecast againstupdate_demand_curve_points
Replace a demand curve's 12 monthly points (and optionally rename or re-describe it). Everything else — curve type, calendar start month, ownership — is preserved. The new points are normalized to mean 1.0, and the curve's version is bumpedlist_tax_rates
List the tenant's tax rates (live only) with id, name, code, percentage and which one is the default applied to new items. Empty list = item creation is blocked until one is created via upsert_tax_rates.save_data_sources
Save the tools a person says hold their records (where they sell, keep stock, and buy) to their Foundations answers, the same list the Foundations page shows and edits. add/remove take tool names or catalog keys from get_data_sources (e.g.list_item_vendor_terms
List per-item vendor terms (ItemSupplier rows): each row's id, item id, vendor id and name, and the vendor's minimum order quantity. Filter by itemId, supplierId, or both. Terms are informational — surfaced, never enforced. Paged (Total preactivate_price_list
Publish a draft price list (id or code), as its Activate button does: from the confirm it prices the orders, invoices, quotes and storefront of the customers and groups it is assigned to (or, as the tenant default, every sale no other listget_shopify_store_settings
Read each connected Shopify store's sync configuration: the store-level data-flow switches (pullInventory, pushInventory, pushSalesOrders, rebalanceInventoryOnStoreTransfer), pickupExcludedOrderTags (Shopify order tags that keep an order ofget_demand_analysis_facts
Compute the tenant's demand-analysis FACTS snapshot, fresh and deterministic: catalog + history span, tenant and cohort seasonality shapes (largest tags/categories), velocity-ranked top sellers with revenue shares and pattern labels, revenuget_pickup_settings
The Pickup Settings page for each store: whether customers can book pickup, lead time, how many days ahead they can book, slot length, blackout dates, the weekly pickup windows (store-local times, with order caps) and the pickup locations,list_work_orders
Find work orders on this account, newest first: production work orders a manufacturing order generated and workshop work orders alike. Filter by status (open, waitingApproval, readyForProduction, started, onHold, waitingCompletion, completerun_saved_report
Run one of the signed-in user's saved reports and return its rows (at most 200). Results are cached for a few minutes as on the Reports page; refresh=true recomputes them. In-app assistant only.adjust_stock
Record a stock count, add stock, or remove stock at a managed warehouse — the Inventory page's Adjust, Add and Remove actions. Each line is one item at one location: mode=count sets that location's on-hand to the counted quantity; mode=addget_demand_forecast
Forward-looking demand forecast for a single item by SKU: the auto-classified demand pattern, the statistical method chosen (by accuracy on the item's recent months where it has two seasons of history, otherwise from the pattern), forecastupsert_item_vendor_terms
Create or update the vendor terms for an (item, vendor) pair. If a live link already exists it is updated; otherwise it is created. minimumOrderQuantity is the vendor's minimum order quantity for the item (item base UOM): pass a value greatdelete_tax_rate
Delete a tax rate by id (GUID) or exact name, as the Settings page does (a soft delete). The default rate and the tenant's last rate cannot be deleted: make another rate the default first with save_tax_rate. The preview counts the items, itset_inventory_levels
Set ABSOLUTE on-hand inventory levels at an Internal (managed) warehouse — the opening-stock step of tenant onboarding, after import_historical_sales_orders has seeded the catalog. Each line sets the item's on-hand to the given quantity (nolist_open_actions
List the open Spark Signal Center queue: operational signals and proposed actions that still need attention. Open means recorded, proposed, approved, or failed (never executed/dismissed/expired). Filters are optional and AND-combined: eventlist_catalog_taxonomy
List the tenant's item categories, brands or item groups (kind=category|brand|group) with each entry's id, name, description and the number of live items that carry it. Categories are a tree: each has parentCategoryId and its full path ("Apsave_custom_field
Create, restore or edit one custom field definition. Check for a built-in first: a custom field is plain data that reorder recommendations, purchasing, pricing, reports and fulfillment never read. Omit id to create: entity, name, type, purpprepare_action
Preview or commit one draft-safe proposal from a Signal Center event. The event, not the caller, selects the only allowed action descriptor. First call without previewReceipt/idempotencyKey to validate and receive a bound receipt; repeat threvoke_vendor_portal_access
Remove a supplier contact's vendor portal access: an active login can no longer sign in, and a pending invitation's emailed link stops working. Name the supplier (id or exact name) and the user by the id from list_vendor_portal_users or by
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/com.sparkinventory/spark)HTML
<a href="https://lagora.dev/fiche/com.sparkinventory/spark"><img src="https://lagora.dev/badge/com.sparkinventory/spark.svg" alt="com.sparkinventory/spark sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.