Skip to main content
Glama

fee_estimate

Calculate itemized seller fees for a marketplace and price, including each fee line, total fees, and net payout before seller costs.

Instructions

Itemized seller fee stack for one marketplace at one price: every fee line with its rate and amount, total fees, and the seller's net before their own costs. Math is ported line-for-line from the verified cash-engine calculators (official published schedules). marketplace: etsy | ebay | amazon_fba | tiktok_shop | whatnot | stockx | stubhub | poshmark | mercari | depop | fiverr. options per marketplace — etsy: {country (US/UK/CA/FR/ES/IT/AU), offsite_ads, offsite_rate, items_per_listing}; ebay: {category (most/books/cards/guitars/watches/jewelry/bags/bullion/sneakers/heavy/nft), promoted_pct}; amazon_fba: {category (most/electronics/auto/tires/clothing/beauty/grocery/media/devices/elecacc/furniture/jewelry), size_tier (ss2/ss1416/ls4/ls812/ls1216/ls125/ls2753/ls320), peak, weight_lb}; tiktok_shop: {category (most/finejewelry/otherjewelry/collectibles/preowned), affiliate_pct, seller_discount, platform_discount, tax}; whatnot: {category (sports/tcg/fashion/collectibles/coins/other), tier (0-6 or Standard/Tier 1..6), tax}; stockx: {level 1-5}; stubhub: {quantity, fee_pct}; depop: {boosted, depop_label, tax}; fiverr: {extras, tip, early_payout} (price = order amount).

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": {
      "marketplace": "<marketplace>",
      "price": "<price>"
    },
    "name": "fee_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesItem price in USD
optionsNoMarketplace-specific options (see tool description)
marketplaceYesOne of: etsy, ebay, amazon_fba, tiktok_shop, whatnot, stockx, stubhub, poshmark, mercari, depop, fiverr
shipping_chargedNoShipping charged to the buyer (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose important behavior: the output is itemized, the math is ported from verified cash-engine calculators using official schedules, and net is calculated before the seller's own costs. It does not mention side effects or rate limits, but for a fee-calculation tool this is largely adequate.

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?

The first sentence is front-loaded with purpose and return contents, and the subsequent option enumeration is dense but information-bearing. Formatting could be improved for readability, but there is little wasted wording.

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?

There is no output schema, but the description explains the returned components: fee lines, rates, amounts, totals, and net before seller costs. It thoroughly covers the complex per-marketplace options, though it omits edge-case assumptions and explicit alternative-tool guidance.

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

Parameters5/5

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

Although schema coverage is high, the schema only refers to the description for the nested options object. The description supplies the actual marketplace-specific option keys, valid values, and special notes such as fiverr's price being the order amount, adding substantial meaning beyond the schema.

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?

The description clearly states this returns an itemized fee stack for one marketplace at one price, including fee lines, totals, and seller net. It is specific about scope and output, though it does not explicitly name the compare_marketplaces sibling or route multi-marketplace comparisons elsewhere.

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 phrase 'one marketplace at one price' implies the use case, but there is no explicit when-to-use guidance, exclusions, or direction to compare_marketplaces for multi-marketplace comparisons. The extensive option list describes configuration, not selection guidance.

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

Deploy Server

Other Tools