Skip to main content
Glama

Takehome eBay Fee & Profit Calculator

eBay profit calculator

ebay_profit_calculator
Read-onlyIdempotent

Profit on one eBay.com (US) sale after all eBay fees and the seller's own costs (item cost, shipping label, packaging). Returns profit, margin (% of item price + shipping) and ROI (% of item cost), with the fee breakdown.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_price": "<item_price>"
    },
    "name": "ebay_profit_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNoeBay Store subscription: none, starter, basic, premium, anchor or enterprise. Default none.none
categoryNoeBay category key. See ebay_fee_rates for the list. Default most_categories.most_categories
quantityNoNumber of identical items in the order. Default 1.
item_costNoWhat one item cost the seller, in dollars. Default 0.
item_priceYesSale price of one item in US dollars, before shipping and tax.
other_costsNoPackaging, supplies or other costs for this order, in dollars. Default 0.
seller_levelNoBelow Standard seller surcharge, if any. Default none.none
insertion_feeNoInsertion fee in dollars, only if the free listing allowance is used up (often $0.35). Default 0.
internationalNoTrue for an international sale that does not use eBay International Shipping (1.65% fee).
sales_tax_pctNoBuyer's sales tax rate in percent (eBay charges fees on it too). Typical US range 5-10. Default 0.
top_rated_plusNoTrue if the listing gets the Top Rated Plus 10% final value fee discount.
shipping_chargedNoShipping the buyer paid, in dollars. 0 for free shipping. Default 0.
shipping_label_costNoWhat the seller paid for the shipping label, in dollars. Default 0.
item_not_as_describedNoSurcharge for a Very High 'item not as described' rate in this category. Default none.none
promoted_listings_pctNoPromoted Listings (general) ad rate in percent, if the sale came from an ad. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds value beyond that by disclosing what is computed and returned, and by pinning the model to US eBay.com and to 'all eBay fees' including the seller's own costs — important behavioral boundaries for interpreting the result.

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?

Two tightly written sentences with no filler: the computation and its inputs come first, the return values second. Every clause carries 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?

With 15 optional parameters, no output schema and a pure-calculation tool, the description needs to say what comes back and under what assumptions, and it does both (profit, margin, ROI, fee breakdown, US-only, all fees included). Enum-level detail is left to the schema, which is appropriate, though output units/format could have been stated.

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?

Schema description coverage is 100%, so every one of the 15 parameters is already documented in the schema, including defaults and ranges. The description adds only marginal semantic mapping by naming item cost, shipping label and packaging as the cost inputs, and by defining the output denominators (margin as % of item price + shipping, ROI as % of item cost).

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 computation and scope: profit on one eBay.com (US) sale after eBay fees and seller costs, returning profit, margin and ROI with the fee breakdown. An agent can tell it apart from the fee-only or target-price siblings, though it never names them.

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?

The scope phrase 'one eBay.com (US) sale' implies when this applies (US, single-item sales) and implicitly separates it from fee-lookup or target-profit tools. However, there is no explicit when-to-use/when-not guidance or named alternative, leaving routing between it, ebay_fee_calculator and ebay_price_for_target_profit to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources