Skip to main content
Glama

Takehome eBay Fee & Profit Calculator

eBay fee calculator

ebay_fee_calculator
Read-onlyIdempotent

Itemised eBay.com (US) seller fees for one order: final value fee by category and Store level, per order fee, Top Rated Plus discount, Below Standard and other surcharges, international fee and Promoted Listings ad fee. Returns total fees and the payout after fees.

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_fee_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_priceYesSale price of one item in US dollars, before shipping and tax.
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.
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 declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that: it discloses the geography/currency scope (eBay.com US) and, with no output schema present, describes the return shape (total fees and payout after fees). It stops short of stating rounding rules, rate-table vintage, or that surcharges stack.

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 sentences with no filler: the resource and scope are front-loaded, the fee components are enumerated compactly, and the return values close the definition. Every clause maps to something the agent needs.

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-parameter tool with full schema coverage and no output schema, the description covers scope, what is computed, and what is returned. Gaps remain around output structure detail (breakdown fields, currency) and edge behavior such as which rates are used or how zero/absent surcharges are reported.

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 all 12 parameters, enums and defaults are already documented, which sets the baseline at 3. The description echoes the parameter themes (category, Store level, Top Rated Plus, international, Promoted Listings) but adds no interpretation, units, or interaction rules beyond what the schema already says.

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 and resource: it computes itemised seller fees for one order and returns total fees plus payout after fees. The US-only, single-order scope separates it implicitly from the rate-lookup and profit-calculation siblings, but no sibling is named, so differentiation relies on the agent reading the sibling names.

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 implied by the scope ('for one order', 'eBay.com (US) seller fees') rather than stated. There is no explicit guidance on when to pick this over ebay_profit_calculator or ebay_fee_rates, and no exclusions or prerequisites (for example, that shipping/tax inputs drive part of the fee base).

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