Skip to main content
Glama
PravinrajV

ShopTrueProfit Fee & Profit MCP

by PravinrajV

eBay profit and margin

ebay_profit
Read-onlyIdempotent

Calculate profit, margin, and break-even price for an eBay.com (US) order from price, costs, shipping, and ad rates. Returns itemized fee breakdown and assumptions.

Instructions

Calculate profit, margin and break-even price for an eBay.com (US) order from price, quantity, shipping, item cost, label cost and ads (Promoted Listings General rate plus any other ad spend). Margin = profit / seller revenue (sales tax excluded). Percent arguments (*_pct) are percents: 8.25 means 8.25%. Money is in whole cents. Uses the same fee engine as the free calculators on shoptrueprofit.com. Returns an itemized fee breakdown, the assumptions used, the fee table version and date, official source URLs and a link to the matching free calculator. Inputs are validated strictly: invalid or unknown arguments are rejected with a message naming the field, never silently adjusted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYesItem price per unit in USD.
ad_spendNoOther ad spend you attribute to this order, USD (e.g. Promoted Listings Priority cost-per-click). Counted as a cost. Default 0.
categoryNoeBay final value fee category id. Default "most" (Most categories, 13.6%). See list_ebay_categories.most
quantityNoUnits in the order (same item). Fee tiers apply per item; the per-order fee once. Default 1.
item_costNoYour cost per unit, USD. Default 0.
insertion_feeNotrue if this listing used up your 250 free monthly listings and paid the $0.35 insertion fee. Default false.
internationalNotrue if the buyer is outside the US and the item is NOT shipped with eBay International Shipping (adds the 1.65% international fee). Default false.
sales_tax_pctNoBuyer's sales tax rate in percent. eBay charges its final value fee on the total INCLUDING tax, but the tax is not seller income. Default 0.
shipping_chargedNoShipping and handling the buyer pays for the whole order, USD. Default 0.
seller_performanceNoSeller performance surcharge: none (Above Standard / Top Rated), below (+6%), below4 (+7%, 4+ months), inad (+5%, very high "not as described"), inad4 (+6%). Default none.none
shipping_label_costNoWhat you pay for the shipping label and packaging for the whole order, USD. Default 0.
promoted_listings_pctNoeBay Promoted Listings General (cost-per-sale) ad rate in percent, charged on the total sale amount incl. shipping and tax. 0 (not promoted, or no sale via ad) or 2 to 100. Default 0.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
feesNo
toolYes
costsNo
inputsYes
profitNo
detailsNo
pricingNo
revenueNo
sourcesYes
summaryYes
currencyYes
warningsYes
fee_tableYes
comparisonNo
disclaimerYes
assumptionsYes
marketplaceYes
calculator_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: strict input validation that names the offending field rather than silently adjusting, the exact margin formula (profit / seller revenue, tax excluded), the fee engine's provenance, and the fact that the response carries an itemized breakdown, assumptions, fee-table version/date and source URLs. That is unusually rich behavioral disclosure.

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

Conciseness4/5

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

Front-loaded with purpose and sized appropriately for a 12-parameter financial calculator; nearly every sentence carries information (validation behavior, output contents, fee-engine provenance). It is delivered as a single dense block, so the input-convention and output-contents material is harder to scan than it could be, but there is little true waste.

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?

For a 12-param tool with full schema descriptions and an output schema, the description is nearly complete: it covers purpose, validation posture, unit/percent conventions and what the response contains. The remaining gap is sibling routing — nothing tells the agent when to pick this over ebay_target_price or ebay_fees.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds value by fixing the percent convention ("8.25 means 8.25%") and defining margin. One caveat: "Money is in whole cents" sits awkwardly against the schema, which describes money arguments as USD with multipleOf 0.01 — an agent could read a $10 price as 1000, so the unit statement introduces ambiguity rather than resolving it.

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

Purpose4/5

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

States a specific verb+resource+scope: "Calculate profit, margin and break-even price for an eBay.com (US) order." An agent immediately knows it is the eBay profit calculator and can distinguish it from amazon_profit/etsy_profit by the stated marketplace. However, it never differentiates itself from the closest siblings (ebay_fees, ebay_target_price), which overlap with its fee-breakdown and break-even outputs.

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

Usage Guidelines3/5

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

Usage is only implied: the description enumerates the cost inputs an order can have, from which an agent infers "use this when pricing an eBay order." It gives one concrete cross-reference ("See list_ebay_categories" for the category id), which is genuinely helpful routing. But there is no explicit when-to-use vs. ebay_target_price (also mentions break-even) or ebay_fees, and no stated prerequisites or exclusions.

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