TrueProfit is a profit analytics platform for e-commerce merchants (Shopify, etc.). This skill
teaches you how to use TrueProfit MCP tools effectively to answer business analytics questions.
Most tools require a shop_id. Start every session with:
list_shops → identify the right shop → use shop_id for all subsequent calls
Single-shop users: list_shops returns one item — use its shop_id directly.
Multi-shop / agency users: confirm with the user which shop before proceeding, or loop across all shops.
All dates use YYYY-MM-DD format in the shop's local timezone.
| User says | date_from | date_to |
|---|---|---|
| ----------- | ----------- | --------- |
| "today" | today | today |
| "this month" | first day of current month | today |
| "last month" | first day of previous month | last day of previous month |
| "last 30 days" | today − 30 | today |
| "last 7 days" | today − 7 | today |
| "yesterday" | yesterday | yesterday |
| "Q1 2025" | 2025-01-01 | 2025-03-31 |
Check the shop's timezone via get_shop_details if date precision matters.
| User question | Tool |
|---|---|
| --------------- | ------ |
| "What's my profit this month?" | get_profit_summary |
| "Show daily profit trend / chart" | get_profit_by_date |
| "Which products make the most profit?" | get_profit_by_product |
| "Show my recent orders" | list_orders |
| "Find order #1234 / search orders" | list_orders with search param |
| "Details on a specific order" | get_order_insights |
| "Orders summary / total count" | get_orders_summary |
| "How much did I spend on ads?" | get_ad_costs |
| "ROAS by UTM / campaign / source" | get_revenue_by_utm |
| "What custom costs do I have?" | get_custom_costs |
| "Show my products and COGS" | list_products |
| "Details on a specific product" | get_product |
| "Update COGS for a product" | update_product_cogs |
| "Customer retention / total customers" | get_customer_overview |
| "Details on a specific customer" | get_customer_details |
| "Shipping cost for specific orders" | get_shipping_cost |
| "Which ad platforms are connected?" | get_connected_platforms |
| "What shop am I looking at?" | get_shop_details |
These non-obvious parameters unlock significant functionality:
list_orders
financial_status: filter by paid, pending, refunded, partially_refunded, authorized, partially_paid, unpaid, voided (comma-separated for multiple)search: find orders by name or number (e.g., "#1234")order_by: sort by created_at, total_price, or profitpage / page_size: paginate large result sets (default page_size=20)list_products
search: filter by product titlepage / page_size: paginate large catalogsupdate_product_cogs
variant_id: omit or set to 0 to update all variants of a product at oncezone_name: pricing zone, defaults to "global" — leave empty unless the shop uses regional COGS zonesget_shipping_cost
list_orders firstget_customer_details
list_orders or get_order_insightslist_shops → get shop_idget_profit_summary with last month's date rangeget_ad_costs for ad spend breakdown by platformget_profit_by_product for a meaningful date range (e.g., last 30 days)list_orders with search="#1234" (order name/number) and a date rangefinancial_status="refunded" to find refunded ordersget_order_insights with the order ID for full line-item breakdownget_profit_by_date → find which specific day(s) caused the dropget_ad_costs → check for ad spend spike or platform attribution issueslist_orders with financial_status="refunded" → look for refund spikeget_connected_platforms → verify all ad platforms still connectedlist_products → identify products with COGS = 0 or nullupdate_product_cogs — use variant_id=0 to update all variants at once if cost is the sameget_product → verify the update was appliedlist_orders → get order IDs for the date range (up to 100 at a time)get_shipping_cost with the order ID listlist_shops → get all shop IDsget_profit_summary with same date rangeget_customer_overview → total customers, new customers (no date range needed — shop-level metric)When sharing analytics data, lead with the most actionable insight:
Net Profit = Revenue - COGS - Ad Spend - Shipping - Transaction Fees - Refunds - Custom Costs
ROAS = Ad Revenue / Ad Spend
Blended ROAS = Total Revenue / Total Ad Spend
Net Margin % = (Net Profit / Revenue) × 100
AOV = Revenue / Number of Orders
CAC = Total Ad Spend / New Customers
LTV = AOV × Purchase Frequency × Customer Lifespan
Refund Rate = Refunded Amount / Gross Revenue × 100
Break-even ROAS = 1 / (1 - COGS%) where COGS% = COGS / Revenue
those products. Always warn the user before presenting profit data.
For very recent dates, ad costs may appear lower than actual spend.
without explicit user confirmation and conversion.
get_revenue_by_utm only captures orders where UTMparameters were tracked. Direct/organic traffic won't appear — always note this caveat.
get_customer_overview has no date range: It returns shop-level lifetime totals, nota filtered period. Don't pass date params to this tool.
get_shipping_cost needs order IDs, not dates: First use list_orders to get IDs, then pass them to get_shipping_cost (max 100 per call).
update_product_cogs recalculates profitfor all historical orders — confirm with the user before bulk updates.
it for a Shop token when needed — don't try to manage tokens manually.
Check list_orders with financial_status="refunded" to assess refund impact.
Check which platforms are active via get_connected_platforms:
| Platform | Notes |
|---|---|
| ---------- | ------- |
| Facebook Ads | Most common, 1-3 day attribution delay |
| Google Ads | Includes Shopping, Search, YouTube |
| TikTok Ads | |
| Snapchat Ads | |
| Pinterest Ads |
Disconnected platforms = spend tracked as custom costs, or not tracked at all.
TrueProfit MCP is actively developed — new tools and workflows are added regularly. To get the
latest version of this skill, call the get_skill tool from the TrueProfit MCP server:
get_skill → copy the returned SKILL.md content → overwrite ~/.claude/skills/trueprofit/SKILL.md
Do this periodically (e.g., once a month) or whenever you notice a tool behaving differently
than documented here.
共 1 个版本