Skip to main content
Glama

Flip Fee Calculator

calculate_fees

All marketplace fees and net profit for one card sale.

Input Schema

NameRequiredDescriptionDefault
vipNo
priceYesSale price (USD)
gradedNo
taxRateNoBuyer sales tax rate, e.g. 0.08 (affects eBay/TCGplayer/Whatnot fees)
costBasisNoWhat you paid for the item
comcServiceNo
marketplaceYes
payoutMethodNoHow you get paid. ebay: standard|express|ebay_balance; comc: paypal|check|store_credit; fanatics: cash|fancash; arenaclub: bank|debit_instant|wallet; tcgplayer: direct_deposit|paypal_international; whatnot: bank
shippingCostNoYour actual postage cost
shippingChargedNoShipping charged to buyer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it discloses nothing about assumptions: rounding, whether optional params like vip/graded change fee tiers, whether unsupported parameter combinations silently ignore inputs, or which marketplace-specific fields are conditionally required (e.g. comcService for comc). Only the broad 'fees and net profit' outcome is stated.

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

Conciseness3/5

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

It is a single front-loaded phrase with no padding, so nothing is wasted, but the terseness reflects under-specification rather than discipline. There is no structure beyond one noun phrase.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, no annotations, and no output schema, the description should explain the fee model, conditional requirements, and the shape of the result. A single sentence cannot carry that, so an agent must guess at critical details before calling.

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

Parameters2/5

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

The description mentions no parameters at all, while schema coverage is only 60% and several params (vip, graded, comcService) have no schema description or obvious semantics. For a 10-parameter calculation tool this leaves meaningful ambiguity, such as what 'vip' or 'graded' change in the fee formula.

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 phrase names a specific output set (all marketplace fees plus net profit) scoped to a single card sale, which is more informative than restating the name. It never mentions the sibling tools best_place or evaluate_flip, so an agent cannot tell from the description alone how it differs from evaluate_flip's apparent profit calculation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no reference to alternatives, despite two sibling tools that plausibly overlap on profit math. The agent is left to infer that this is the detailed per-marketplace fee breakdown versus the flip evaluation.

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