Skip to main content
Glama

Flip Fee Calculator

best_place

Read-onlyIdempotent

Use when deciding WHERE to sell a trading card: runs calculate_fees on every supported marketplace (eBay, COMC, Fanatics Collect, Arena Club, TCGplayer, Whatnot) for the same price and ranks them by net profit. Read-only. Each ranked entry includes its own assumptions block; unverifiedPayout lists sites whose payout fee is unpublished and treated as $0.

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

Input Schema

NameRequiredDescriptionDefault
vipNo
priceYesSale price (USD)
gradedNo
excludeNo
taxRateNoBuyer sales tax rate, e.g. 0.08 (affects eBay/TCGplayer/Whatnot fees)
costBasisNoWhat you paid for the item
comcServiceNo
payoutMethodNoOptional {marketplace: payoutMethod} overrides; default is cash payout
shippingCostNoYour actual postage cost
shippingChargedNoShipping charged to buyer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world, so the "Read-only" sentence is redundant. The genuinely additive content is the disclosure that each ranked entry carries its own assumptions block and that unverifiedPayout flags marketplaces whose payout fee is unpublished and treated as $0 — non-obvious caveats that materially affect how an agent should read the ranking.

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 compact sentences, front-loaded with the trigger condition and followed by mechanics and an output caveat; every clause carries information. The enumeration of all six marketplaces is slightly redundant with the list_marketplaces sibling but is defensible since it defines the ranking universe.

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

Completeness3/5

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

For a 10-parameter, nested-object tool with no output schema, the description does well on output shape (ranked entries, assumptions, unverifiedPayout) but leaves half the inputs unexplained, notably exclude and the vip/graded/comcService modifiers. An agent could call it with just `price`, but customizing the comparison would require guessing.

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?

At 60% schema coverage with 10 parameters, several inputs (exclude, vip, graded, comcService) have no description in the schema and none in the description either. The description only implies that a single `price` is applied uniformly across marketplaces and that assumptions vary per entry; it adds no guidance on what each optional parameter changes.

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 and resource: it ranks marketplaces by net profit for selling a trading card, and names the engine it wraps (calculate_fees) plus the six supported marketplaces. This clearly distinguishes it from the sibling calculate_fees, which evidently evaluates one marketplace at a time.

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

Usage Guidelines4/5

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

"Use when deciding WHERE to sell a trading card" gives an explicit decision context, and the fact that it runs calculate_fees across every marketplace implicitly routes single-marketplace fee lookups to that sibling. It stops short of an explicit exclusion (e.g., "use calculate_fees instead if you only care about one venue"), so it is clear but not fully comparative.

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