Skip to main content
Glama
AronLEEdev

Profitlee-MCP

by AronLEEdev

Calculate profit

calculate_profit
Read-onlyIdempotent

Calculate ecommerce profit per unit on Amazon FBA, FBM, TikTok Shop FBT, or self-fulfilled. Returns fees, landed cost, margins after ads/returns/storage, and monthly P&L.

Instructions

Calculate ecommerce profit for one product on Amazon FBA, Amazon FBM, TikTok Shop FBT, or TikTok Shop self-fulfilled. Returns per-unit fees, landed cost, gross margin, net margin after ads/returns/storage, and monthly P&L. Free to use; no Profitlee API token required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
HYesHeight. US: inches; DE/JP: cm.
LYesLength. US: inches; DE/JP: cm.
WYesWidth. US: inches; DE/JP: cm.
fobYesUnit manufacturing / FOB cost in the marketplace currency.
dutyYesImport duty per unit.
modeYesFulfillment mode. amazon: fba or fbm. tiktok_shop: fbt or self_fulfilled.
priceYesSelling price per unit (gross; VAT-inclusive for DE/JP).
regionYesMarketplace. US uses inches+pounds; DE/JP use cm+kg.
weightYesUnit weight. US: pounds; DE/JP: kg.
ppcAcosYesAdvertising ACoS as a 0-1 decimal (0.15 = 15%).
headShipYesInbound freight cost allocated per unit.
platformNoSales platform. Default: amazon.amazon
isApparelYesWhether the product is apparel (affects some fees).
returnRateYesReturn rate as a 0-1 decimal (0.05 = 5%).
referralPctYesReferral/commission fee as a 0-1 decimal (0.15 = 15%). Preferred.
adSalesShareNoAd-attributed share of sales, 0-1. Omit to default to 1.
inboundOptionNoAmazon FBA only: inbound placement option.
monthlyVolumeYesUnits sold per month.
storageMonthsNoAmazon FBA only: number of months in storage.
storageSeasonNoAmazon FBA only: storage season (octDec is the Q4 peak).
pickPackPerUnitNoFBM or TikTok self_fulfilled: pick & pack per unit.
referralCategoryNoAdvanced: a category slug that overrides referralPct. Leave unset and use referralPct.
monthly3plStorageNoFBM or TikTok self_fulfilled: total monthly 3PL storage.
outboundShipPerUnitNoFBM or TikTok self_fulfilled: outbound shipping per unit.
unsellableReturnRateNoUnsellable share of returned units, 0-1. Omit to default to 1.
storageMonthsPastFreeNoTikTok fbt only: months stored past the 60-day free window (0 if shipped before it ends).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoProfit calculation result from Profitlee, including fee breakdowns, landed cost, gross/net margin, and monthly P&L fields.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so the safety profile is covered. The description adds valuable context beyond annotations: 'Free to use; no Profitlee API token required' and details about returned metrics (per-unit fees, margins, monthly P&L). No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the core action and scope, the second lists outputs and the free access. It is front-loaded, contains no redundant information, and every sentence contributes meaningful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is complex (26 parameters, 15 required, output schema present), but the description provides a concise high-level overview including platforms and return values. Schema covers all parameter details and the output schema explains return data, so the description is sufficiently complete without restating structured data.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for all 26 parameters, so the schema already documents each parameter's meaning. The tool description does not add additional parameter-level detail beyond what the schema provides, but no compensation is needed because coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool calculates ecommerce profit for a single product across specified platforms (Amazon FBA/FBM, TikTok Shop FBT/self-fulfilled). It uses specific verbs and resources, and the sibling tools (list_scenarios, save_scenario, etc.) are scenario-management, making this calculator distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (for profit calculation on supported marketplaces and modes) and explicitly mentions the output types, giving clear context. It does not name alternative tools or exclusions, but the sibling toolset is clearly different, so the usage context is well understood.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AronLEEdev/profitlee-mcp'

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