Skip to main content
Glama

business_marketplace_fee

Read-onlyIdempotent

Marketplace fee 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": {
      "price": "<price>"
    },
    "name": "business_marketplace_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
costNoWhat the item costs you. With it the response adds a 'profit' object (profit if kept, returns, margin, ROI, break-even price).
priceYesSelling price, for example 25.
adCostNoAd or acquisition cost per order.
feePctNoMarketplace fee in percent. Required unless compare is sent.
compareNo2 to 4 of Amazon, Etsy, eBay, Walmart, Mercari, TikTok Shop, Shopify. Needs cost. Returns 'comparison': every fee line, payout, profit, margin, ROI and break-even price per marketplace, with the date each preset's rates were verified.
fixedFeeNoFixed fee per order, for example 0.30.
returnPctNoShare of orders returned, in percent. Default 0 (the website form pre-fills 5).
fulfilmentNoFulfilment fee per unit, e.g. Amazon FBA (in compare it is charged to Amazon only).
paymentPctNoSeparate payment-processing fee in percent (0 where the marketplace fee includes it).
paymentFixedNoFixed payment-processor fee per order, for example 0.30.
shippingCostNoWhat you pay the carrier to send one order. Default 0 (the website form pre-fills 4.50).
feeOnShippingNoWhether the percentage fee also applies to shipping charged. Default true.
offsiteAdsPctNoCompare only: Etsy Offsite Ads fee on the Etsy column, 15% or 12% (capped at $100 per order). Default 0.
returnPostageNoPostage lost on a return. Default 0 (the website form pre-fills 4.50).
unsellablePctNoShare of stock that cannot be sold, in percent, 0 to 100, for example 2.
ordersPerMonthNoAdds the expected profit for a month of that many orders.
shippingChargedNoShipping the buyer pays on top of price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / fixedFee / description
      Added value: +"Fixed fee per order, for example 0.30."
    • addedInput schema / properties / paymentFixed / description
      Added value: +"Fixed payment-processor fee per order, for example 0.30."
    • addedInput schema / properties / price / description
      Added value: +"Selling price, for example 25."
    • addedInput schema / properties / unsellablePct / description
      Added value: +"Share of stock that cannot be sold, in percent, 0 to 100, for example 2."
  2. Changed3 schema fields changed
    • addedInput schema / properties / returnPct / description
      Added value: +"Share of orders returned, in percent. Default 0 (the website form pre-fills 5)."
    • addedInput schema / properties / returnPostage / description
      Added value: +"Postage lost on a return. Default 0 (the website form pre-fills 4.50)."
    • changedInput schema / properties / shippingCost / description
      Previous value: -"What you pay the carrier to send one order."New value: +"What you pay the carrier to send one order. Default 0 (the website form pre-fills 4.50)."
  3. Changed16 schema fields changed
    • addedInput schema / properties / adCost
      Added value: +{
      +  "description": "Ad or acquisition cost per order.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / compare
      Added value: +{
      +  "description": "2 to 4 of Amazon, Etsy, eBay, Walmart, Mercari, TikTok Shop, Shopify. Needs cost. Returns 'comparison': every fee line, payout, profit, margin, ROI and break-even price per marketplace, with the date each preset's rates were verified.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "minItems": 2,
      +  "type": "array"
      +}
    • addedInput schema / properties / cost
      Added value: +{
      +  "description": "What the item costs you. With it the response adds a 'profit' object (profit if kept, returns, margin, ROI, break-even price).",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / feeOnShipping
      Added value: +{
      +  "description": "Whether the percentage fee also applies to shipping charged. Default true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / feePct / description
      Added value: +"Marketplace fee in percent. Required unless compare is sent."
    • addedInput schema / properties / fulfilment
      Added value: +{
      +  "description": "Fulfilment fee per unit, e.g. Amazon FBA (in compare it is charged to Amazon only).",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / offsiteAdsPct
      Added value: +{
      +  "description": "Compare only: Etsy Offsite Ads fee on the Etsy column, 15% or 12% (capped at $100 per order). Default 0.",
      +  "enum": [
      +    0,
      +    12,
      +    15
      +  ],
      +  "type": "number"
      +}
    • addedInput schema / properties / ordersPerMonth
      Added value: +{
      +  "description": "Adds the expected profit for a month of that many orders.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / paymentFixed
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / paymentPct
      Added value: +{
      +  "description": "Separate payment-processing fee in percent (0 where the marketplace fee includes it).",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / returnPct
      Added value: +{
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / returnPostage
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / shippingCharged
      Added value: +{
      +  "description": "Shipping the buyer pays on top of price.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / shippingCost
      Added value: +{
      +  "description": "What you pay the carrier to send one order.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / unsellablePct
      Added value: +{
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "price",
      -  "feePct"
      -]New value: +[
      +  "price"
      +]
  4. Changed3 schema fields changed
    • addedInput schema / properties / feePct / minimum
      Added value: +0
    • addedInput schema / properties / fixedFee / minimum
      Added value: +0
    • addedInput schema / properties / price / minimum
      Added value: +0
  5. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the bar is lower. The description still adds nothing: no note that rates are preset/verified-date-based, that compare needs cost, or that the calculation is purely deterministic and side-effect free. No contradiction, but zero added behavioral context.

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

Conciseness2/5

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

Three words are technically concise, but this is under-specification rather than economy: there is no front-loaded statement of what is returned, what the required price means, or what modes exist. Nothing is wasted because nothing useful is present.

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

Completeness1/5

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

For a 17-parameter tool with a conditional required parameter (feePct unless compare), a 2-4 item compare array, and no output schema, a three-word description is completely inadequate. An agent must read the entire schema to learn that the tool has two distinct modes and that cost unlocks the profit block.

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 17 parameters are already documented in the schema, which sets the baseline at 3. The description contributes nothing beyond that, but it does not mislead either; a 3 is the ceiling justified here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Marketplace fee calculator" restates the tool name and title almost verbatim; it never says what is actually computed (fee lines, payout, profit, margin) or what the output looks like. It also gives no differentiation from siblings such as business_product_margin, business_profit_margin, or business_break_even, which an agent could easily confuse with this one.

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 when-not-to-use, and no pointer to an alternative tool. The description does not mention the compare mode or when an agent should prefer it over a single-marketplace calculation, leaving selection entirely to the schema.

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