Use case · Pricing & Buy Box

True-Margin Reconciliation Agent.

An agent that reconciles your settlement, ad, return, and landed-cost data into one true profit line per SKU, so the SKUs that look like winners and quietly lose money get found before you reorder, reprice, or scale their ads.

For: FBA / FBM · Walmart sellersAmazon · Walmart↗ True profit per SKU
The workflow

How the agent runs

1

Gather the full cost stack per SKU

On schedule, the agent pulls your settlement and transaction data, your FBA or WFS fee lines, your ad spend, and your returns data, and pairs them with the landed cost per unit you provide (product, freight, duties, prep, and packaging).

2

Reconcile, do not just calculate

Each SKU gets one reconciled line for the period: revenue, then COGS, referral, fulfillment, storage allocation, other marketplace fees as reported, return costs, and ad spend, in that order, so every subtraction can be traced to a source report.

3

Separate actuals from estimates

Settlement and fee lines are reported as actuals from your own reports. Allocated lines (storage shared across SKUs, ad spend from campaigns that cover several SKUs, return allowances) are labeled estimated, with the allocation method shown on every run.

4

Compute the two margins and the ad ceiling

For each SKU: contribution margin before ads, net margin after ads, net profit per unit, and break-even ACoS (contribution margin before ads divided by selling price), so you can see exactly how much ad spend a SKU can carry before each order loses money.

5

Rank and recommend, never silently change

SKUs are ranked by estimated net profit for the period (units sold times net profit per unit, method shown), loss-makers first. Each flagged SKU gets one named next action to consider: a price suggestion inside your min and max, a lower ad ceiling, a reorder hold, or a delist review. The agent proposes. You decide and make the change.

What it needs

Inputs & tools

SettlementsTransaction + settlement reports
Fees + storageFBA / WFS fee reports
Ad spendAmazon Ads / Walmart Connect
ReturnsReturns + refund reports
Landed costYour cost sheet per SKU
CadenceMonthly, on the 5th
Your time≈ 20 min/month
The pattern sellers describe constantly: total revenue up, a few hero SKUs carrying the account, and a long tail quietly costing more to sell than it brings in, funded by the heroes and by the next reorder. Account-level profit hides that tail. Only a per-SKU reconciliation, with the same cost stack applied the same way every month, surfaces it while there is still time to fix the price, the ad ceiling, or the reorder decision.
Run this agent yourself
📑

1 · Bring your own records

This agent's source of truth is your own data: marketplace settlements and transaction reports, fee and storage reports, Amazon Ads or Walmart Connect spend, returns reports, and your landed cost per SKU. Connect them through Seller Central or Walmart Seller Center reports, the SP-API or Walmart APIs, or exports you attach; the LLM you are using can write that integration with you. No public crawl can see your settlements or your costs; they sit behind your login, as they should.

🔗

2 · Optional: cross-check the public price

Margins go stale when the live price moves. If you connect the 5Stones MCP, server crawl.onewally.com/mcp (5Stones subscription, free tier to start), the agent can check the current public offer price for each flagged SKU and flag any SKU whose margin was calculated at a price it no longer sells at. The reconciliation itself rests on your settlement and cost records, never on the crawl alone.

📋

3 · Paste the prompt

Copy the prompt below, fill in MY STORE and your landed costs once, and run it on the schedule in the prompt.

Copy the prompt
Starter prompt

Step 3 · Paste this into your LLM

# True-Margin Reconciliation Agent MY STORE (fill in once): - Store name: [your store name] - Seller ID or storefront URL: [paste it] - Marketplace: [Amazon US / Walmart US / both, name each] - Landed cost per unit by SKU: [attach your cost sheet: SKU, product cost, freight, duties, prep, packaging, total landed cost per unit. If a SKU has no cost on file, leave it blank and I will flag it, never invent it.] RUN SCHEDULE (set this where you run the prompt): - Run this prompt: monthly, on the 5th, for the prior full month, once settlements for that month have posted, and again mid-month as a partial check if I ask. - If your LLM app supports scheduled or recurring tasks, set it there; otherwise re-paste the prompt on that cadence. DATA SOURCES: My own account data is the source of truth. Feed it to you two ways: (a) I attach exports (settlement and transaction reports, FBA or WFS inventory and fee reports, storage charges, ad spend by campaign and SKU, returns and refund reports, and my landed-cost sheet), or (b) we integrate with the Amazon SP-API and Ads API, or the Walmart APIs, directly, and if no integration exists yet, write it with me first, then pull on schedule. Use the 5Stones MCP, if connected, only to cross-check the current public offer price of a flagged SKU. The reconciliation rests on my own records, never on the crawl alone. YOUR JOB, EACH RUN: 1. Reconcile one line per SKU for the period. Show, in order: units sold, revenue, COGS (units sold times my landed cost per unit), referral fees, fulfillment fees, storage, other marketplace fees exactly as named in my reports, return and refund costs, and ad spend attributed to that SKU. End the line with: contribution margin before ads (revenue minus all non-ad costs above), net profit after ads, net profit per unit, and net margin percent (net profit divided by revenue). 2. Label every number honestly. Lines copied from my settlement, fee, and ad reports are "reported". Allocated lines are "estimated" and you must show the method next to them: storage allocated by units stored or by the storage report's own SKU line if it gives one; ad spend allocated by the campaign's SKU targeting, or, for multi-SKU campaigns, by that campaign's attributed sales share, stated in the output; return costs from the returns report, or, if you use a return allowance instead, the rate and the reason. If a figure cannot be sourced, write "unknown" for that line. Never invent a fee, a rate, a cost, or a return figure. 3. Flag incomplete SKUs first. Any SKU with no landed cost on file goes in a separate "cannot judge" list: show its margin before COGS only, label it incomplete, and do not rank it with the reconciled SKUs. 4. Compute break-even ACoS per reconciled SKU: contribution margin before ads divided by selling price, shown as a percent. Also show actual ACoS (ad spend divided by ad-attributed sales, if reported) and TACoS (total ad spend for the SKU divided by its total revenue). Flag every SKU whose actual ad spend pushed it from a positive contribution margin to a negative net margin. 5. Rank and surface the tail. Sort reconciled SKUs by estimated period net profit, calculated as units sold times net profit per unit, labeled "estimated" with that method shown, smallest (most negative) first. List every SKU with negative net profit, and every SKU whose net margin fell by more than 5 points versus the prior run if you have one, with the single cost line that moved most named as the likely driver, or "driver unclear from these reports" if the reports do not settle it. 6. Recommend one action per flagged SKU, as a proposal only: a price suggestion stated against my min and max, an ad ceiling set at or below its break-even ACoS, a reorder hold, or a delist review. State the estimated effect with its method if you project one (for example: units at last period's volume times the per-unit change), labeled "estimated". Never present a projected saving or a projected margin as money already made. 7. Maintain the margin log: period, SKU, revenue, each cost line, contribution margin, net profit per unit, net margin percent, break-even ACoS, action proposed, action confirmed done (date, and only when confirmed under EXECUTION below). End each run with a one-line summary: SKUs reconciled, SKUs incomplete, SKUs losing money after ads, and the total estimated period profit across reconciled SKUs with the method shown. EXECUTION, READ CAREFULLY: - The 5Stones MCP is read-only. You decide, propose, and draft. You do not change prices, bids, budgets, listings, or orders. - DEFAULT: you produce the reconciliation and the proposals, and I act on them myself. - Price changes execute only through Flashpricer inside my min/max, or through my own marketplace API, and are never claimed as done before execution is confirmed. A price suggestion from this agent is a suggestion only; I make the change. - Ad changes follow the same rule: you propose ceilings and pauses; any change goes through my own Ads console or Ads API after I approve the exact change, and is reported done only after that source confirms it. - Never invent a landed cost. If I have not provided a cost for a SKU, that SKU is incomplete, full stop. - Every fact must trace to a report I provided or a confirmed follow-up check. If it is not in the records, it does not go in the reconciliation.

The prompt gets you the shape. The reliable version runs on live data through the MCP — that's steps 1 and 2 above.

Related agents

More Pricing & Buy Box agents →

Every agent playbook in the Pricing & Buy Box topic — the workflow, the copyable prompt, and a live example for each.

Repricing Watchdog Agent →

Watches rival offers around the clock and drafts price moves inside your guardrails.

FBA Reimbursement Hunter Agent →

Reconciles FBA reports line by line and builds the case file for every claimable dollar.

Inventory Demand Forecaster Agent →

Turns your sales history into a 90-day per-SKU demand forecast, with shipment plans built on your real restock cadence.

Cross-Channel Price Parity Guard Agent →

Compares your total price across your own Amazon, Walmart, and store listings daily and flags the gaps that suppress or unpublish you.

Questions sellers ask

How is this different from the FBA Reimbursement Hunter?

Different job. The Reimbursement Hunter recovers money Amazon's errors cost you, as a claims workflow. This one is backward-looking truth-telling: what each SKU actually kept last period, after the full cost stack of settlements, fees, storage, returns, ads, and your landed cost.

Does it change my prices or ad budgets?

No. It proposes one action per flagged SKU: a price suggestion inside your min and max, an ad ceiling set at or below break-even ACoS, a reorder hold, or a delist review. You decide and make the change; price changes execute only through Flashpricer inside your min/max, or through your own marketplace API.

Where does 5Stones fit?

As an optional cross-check only: it checks the current public offer price of a flagged SKU, so a margin calculated at a price the SKU no longer sells at gets flagged. The reconciliation itself rests on your own settlement, fee, ad, returns, and cost records; no crawl can see those.

What if a SKU has no landed cost on file?

It goes on a separate 'cannot judge' list: margin before COGS only, labeled incomplete, never ranked with the reconciled SKUs. The agent never invents a cost; if a figure cannot be sourced, that line reads unknown.

Run this on your store.

Every agent here runs on live 5Stones data through the MCP. Start free, connect your LLM, paste the prompt — or get the free Buy Box Loss Report and see the data first.

Sponsored✦Flashpricer: win the Buy Box while you sleepSponsored✦FreshCrawl: live Amazon and Walmart data for your agentsYour brand here — this bar runs on every page · Claim the $500 founding week →SponsorSponsor the Daily Brief: the 1 best agent, in sellers' inboxes at 6:30 AMSponsored✦Flashpricer: win the Buy Box while you sleepSponsored✦FreshCrawl: live Amazon and Walmart data for your agentsYour brand here — this bar runs on every page · Claim the $500 founding week →SponsorSponsor the Daily Brief: the 1 best agent, in sellers' inboxes at 6:30 AM