/databrill-core:dbl-metrics-tfl-inventoryfrom databrill-core
Fetch or analyze The Fulfillment Lab (TFL/GFS) warehouse inventory, on-hand, allocated, available, low-stock products, product names, and SKU mappings. Use when the user asks what stock TFL holds, current TFL inventory, warehouse inventory, TFL low stock, inventory as of a date, or stock for a TFL product or SKU. Do not use for Amazon FBA inventory pacing.
Ships in databrill-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Call the core MCP server's loadTflInventory tool only when it is
present in the connector's announced tools. It appears only for a
TFL-configured workspace. If it is absent, say that TFL MCP access is not
enabled in this workspace; do not imply zero inventory or try another workspace
without the user's direction.
The tool reads the latest daily TFL warehouse snapshot independently for each connector. It is not Amazon FBA inventory and does not make advertising recommendations.
products: optional comma-separated exact product ids, product names, or
SKUs. Names and SKUs match case-insensitively.warehouses: optional comma-separated exact warehouse ids or names.asOf: optional YYYY-MM-DD; selects each connector's latest snapshot on or
before that date.maxAvailable: optional maximum sellable units for low-stock questions.limit: 1–1000 rows, default 250.On user- and organization-scoped connectors, call listWorkspaces and pass the
selected wsid, even if only one is listed. A workspace-scoped connector
supplies it in the URL. TFL tools never infer a workspace from a country.
data[] is product × warehouse and includes snapshotDate, productId,
productName, warehouseId, warehouseName, quantity, allocated,
available, and skus[] with each bundle's qtyMultiplier.
Use meta.snapshotDates to report freshness per connector. Totals in meta
reflect only rows returned after filters and limit; do not describe them as the
whole account when meta.isTruncated is true.
If meta.missingTables is non-empty, the TFL pipeline is unavailable in that
workspace. Do not treat it as zero stock.
If loadTflInventory is absent but the TFL tables are present, query
tfl_products_v1__WarehouseInventory at its latest day per connector — the
shape in ${CLAUDE_PLUGIN_ROOT}/scripts/examples/tfl-inventory.sql. Its date
column is localdate; snapshotDate is the tool's output name, not a column.
Take the latest day per connectorId separately, never one global MAX, or a
lagging connector drops out. tfl_products_v1__Inventory carries the same
current on-hand without the warehouse split and can hold products that have no
warehouse row, so the two row counts differ legitimately.
For the declared columns and types of any tfl_* table, read
${CLAUDE_PLUGIN_ROOT}/docs/schema/tfl/index.tsv and then that table's .yaml
beside it.
Amazon FBA stock is a different fulfilment network: see
dbl-metrics-amazon-inventory. Never add TFL and Amazon units into one figure
without labelling which network each part comes from.
Shopify is a third source, and it may be describing THIS warehouse rather than a
separate one: a workspace can have every Shopify location mapped to a TFL
warehouse, and the two sources still report different available quantities. See
dbl-metrics-shopify-inventory; do not treat either as a check on the other.
The MCP tool returns daily stock levels, not monthly movements. For beginning
inventory, shipped, received, returns, adjustments, or ending inventory over a
calendar month, route through dbl-db and inspect
tfl_inventorySummary_v1__ProductWarehouse. Its measures are window-relative
and include signed adjustments.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub databrill/databrill-core-agent-plugin --plugin databrill-core19 skills in this plugin
/dbl-ask-inventory-pacingRecommend how advertising should respond to inventory — pause, throttle, hold, or ramp spend based on each product's runway. Use when the user asks "should we pause ads before the stockout", "we're low on stock, what about ads", "should we cut spend to stretch inventory", "we restocked — ramp back up?", "how do we sell down overstock", "long-term storage fee risk", or wants an inventory-driven ad pacing decision./dbl-ask-sales-dropDiagnose why a store's sales dropped — decompose the change into traffic, conversion, and price, and flag ad-channel and ad-efficiency causes. Use when the user asks "why did sales drop / fall / decline", "sales are down", "revenue dropped", "why did orders fall", "what happened to sales (week-over-week)", or wants a sales-decrease diagnosis for a marketplace./dbl-brand-configEdit brand configuration — product families, the ontology category and variant layer, ASIN-to-family and ASIN-to-SKU mapping, and effective-dated cost, rate and planning attributes. Use when the user asks to set up or edit product families, map ASINs to families or SKUs, seed the ontology, recategorise or relabel a family, or set a cost per unit, VAT rate or lead time for a period. Do not use for reading brand configuration — that is dbl-db./dbl-dashboardDesign or construct a dashboard, report, chart, table, or recurring analysis from Databrill MCP or database data. Use when the user asks to explore their data visually, build a dashboard or artifact, chart trends, make a management report, export a reporting dataset, or compare several accounts/workspaces./dbl-dbAnswer Databrill data questions that do not fit a dedicated metric skill by selecting the right MCP tool or a safe read-only Deno/n8n database workflow. Use for arbitrary database exploration, table or column discovery, SQL, CSV exports, orders, listings, returns, reimbursements, fees, settlements, Walmart, The Fulfillment Lab data, or questions about what data is available./dbl-metrics-adsAnalyze Amazon PPC advertising performance metrics including impressions, clicks, orders, spend, sales, CTR, CR, CPC, ACOS, and ROAS. Use when the user asks about ad performance, PPC metrics, advertising efficiency, campaign analysis, ACOS/ROAS, or spend by ad type (SP/SB/SBV/SD).Other plugins' skills for the same job