Skip to main content
Glama

Fliprofit reseller fee calculator

Calculate reseller fees for one platform

calculate_fees
Read-onlyIdempotent

Exact US marketplace fees, payout and profit for one sale on one platform (eBay, Poshmark, Mercari, Whatnot, Depop, Etsy, Facebook Marketplace, Amazon, Grailed, Reverb, TCGplayer, TikTok Shop, Vinted). Same numbers as the Fliprofit calculators. Returns a fee breakdown, payout, profit, margin, ROI, the official fee source and a link to the matching fliprofit.com calculator.

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": {
      "platform": "<platform>",
      "price": "<price>"
    },
    "name": "calculate_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesSale price in USD (required).
optionsNoOptional platform-specific options. Allowed: ebay: category (one of most|books|cards|guitars|jewelry|watches|bags|sneakers), adRate (number); whatnot: category (one of sports|tcg|fashion|collectibles|coins|other), tier (one of 0|1|2|3|4|5|6), highValue (true|false); depop: boost (true|false), ownLabel (true|false); etsy: offsiteAds (one of 12|15|none); facebook: mode (one of shipped|local); amazon: category (one of everything|toys|sports|tools|videogames|consoles|electronics|clothing|beauty|watches|media), plan (one of individual|pro), fbaFee (number); grailed: grailedLabel (true|false), processing (one of us|intl|legacy); reverb: preferred (true|false); tcgplayer: sellerType (one of level|pro); tiktok: category (one of most|collectibles|preowned|finejewelry); vinted: bump (number).
taxRateNoBuyer sales tax percent, e.g. 8 (default 0). Used where the platform charges fees on tax.
itemCostNoWhat you paid for the item, USD (default 0).
platformYesPlatform key.
shipCostNoYour label/postage cost, USD (default 0).
otherCostNoPackaging, promotion and other costs, USD (default 0).
shipChargedNoShipping the buyer paid you, USD (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / options / description
      Previous value: -"Optional platform-specific options. Allowed: ebay: category (one of most|books|cards|guitars|jewelry|watches|bags|sneakers), adRate (number); whatnot: category (one of sports|tcg|fashion|collectibles|coins|other), tier (one of 0|1|2|3|4|5|6), highValue (true|false); depop: boost (true|false), ownLabel (true|false); etsy: offsiteAds (one of 12|15|none); facebook: mode (one of shipped|local); amazon: category (one of everything|toys|sports|tools|videogames|consoles|electronics|clothing|beauty|watches|media), plan (one of individual|pro), fbaFee (number); grailed: grailedLabel (true|false), processing (one of us|intl|legacy); reverb: preferred (true|false); tcgplayer: sellerType (one of level|pro); tiktok: category (one of most|collectibles|preowned|finejewelry)."New value: +"Optional platform-specific options. Allowed: ebay: category (one of most|books|cards|guitars|jewelry|watches|bags|sneakers), adRate (number); whatnot: category (one of sports|tcg|fashion|collectibles|coins|other), tier (one of 0|1|2|3|4|5|6), highValue (true|false); depop: boost (true|false), ownLabel (true|false); etsy: offsiteAds (one of 12|15|none); facebook: mode (one of shipped|local); amazon: category (one of everything|toys|sports|tools|videogames|consoles|electronics|clothing|beauty|watches|media), plan (one of individual|pro), fbaFee (number); grailed: grailedLabel (true|false), processing (one of us|intl|legacy); reverb: preferred (true|false); tcgplayer: sellerType (one of level|pro); tiktok: category (one of most|collectibles|preowned|finejewelry); vinted: bump (number)."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "ebay",
      -  "poshmark",
      -  "mercari",
      -  "whatnot",
      -  "depop",
      -  "etsy",
      -  "facebook",
      -  "amazon",
      -  "grailed",
      -  "reverb",
      -  "tcgplayer",
      -  "tiktok"
      -]New value: +[
      +  "ebay",
      +  "poshmark",
      +  "mercari",
      +  "whatnot",
      +  "depop",
      +  "etsy",
      +  "facebook",
      +  "amazon",
      +  "grailed",
      +  "reverb",
      +  "tcgplayer",
      +  "tiktok",
      +  "vinted"
      +]
  2. First observed

TDQS

A3.9/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 then adds genuine value by promising a fee breakdown, payout, profit, margin, ROI and an official fee source/link — return content the agent would otherwise have to discover, especially since no output schema exists.

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?

Two sentences, front-loaded with the core purpose and followed by return contents; nothing is redundant. The long parenthetical platform list is verbose but arguably functional since there is no other enumerating surface.

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 no output schema, the description is right to enumerate return values, and it flags the US-only scope. The main remaining gap is not relating the tool to its siblings or noting that omitted cost fields default to zero, though the schema covers the latter.

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 coverage is 100%, including a fully enumerated nested options object, so the schema carries the parameter burden. The description adds no syntax or defaults beyond restating the platform list, which is the expected baseline 3.

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?

States a specific verb (calculate) and resource (US marketplace fees, payout, profit) and scopes it to 'one sale on one platform', which implicitly separates it from the compare_platforms sibling. Naming the supported platforms removes any ambiguity about coverage.

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 'one sale on one platform' framing implies this is the single-platform calculator, but it never explicitly tells the agent when to prefer compare_platforms or get_fee_changes. Usage is inferred from scope rather than stated as a routing rule.

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