Skip to main content
Glama

Compare payment provider fees

compare_payment_fees
Read-onlyIdempotent

Compare what Stripe, Dodo Payments, Paddle, Lemon Squeezy and Gumroad keep from one sale at a given price, and per month at a given number of sales, at their base published card rates (checked November 2026; extras are named in the notes), with which ones file sales tax as merchant of record. Send numbers only (percentages as 5 for 5%). Answers a headline, the figures behind it and notes. Arithmetic on your own numbers, not financial advice. Answers from what you send alone: nothing is fetched or stored.

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>",
      "sales": "<sales>"
    },
    "name": "compare_payment_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixedNoYour own fixed fee per sale Optional.
priceYesPrice of one sale
salesYesSales per month
percentNoYour own rate (%). Optional: a provider or negotiated rate that isn't listed. Optional.
currencyNoThe sign money is written with; "none" for bare numbers. Default "$".

Output Schema

NameRequiredDescriptionDefault
toolYes
toolUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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 and non-destructive behavior. The description adds genuinely new context on top: rates checked November 2026, extras surfaced in notes, merchant-of-record status included, and an explicit "nothing is fetched or stored" guarantee, plus the shape of the answer (headline, figures, notes). The main unstated item is how the two custom rate parameters interact with the listed providers.

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?

Front-loaded with the core purpose and dense throughout, with no filler sentences. Slight redundancy between "Answers from what you send alone" and "nothing is fetched or stored," and the single long sentence carries a lot of clauses, but nothing is wasted.

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?

For a five-parameter, output-schema-backed calculator, the definition covers scope, data vintage, input format, and output shape, which is enough to call it correctly. It could still say how custom `percent`/`fixed` values are applied relative to the named providers, which is the one gap an agent might hit.

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%, so the baseline is 3. The description only adds the unit convention (percentages as plain numbers) and that prices are per-sale; it does not clarify how `percent`/`fixed` combine with a chosen provider or how `currency` affects the output. Useful but marginal over the schema.

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?

Specific verb+resource: comparing what five named providers (Stripe, Dodo, Paddle, Lemon Squeezy, Gumroad) keep from a sale, plus monthly totals at a given sales volume. It also states the basis (base published card rates) and the merchant-of-record flag, so an agent knows exactly what class of answer comes back without opening the schema.

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?

Gives concrete input handling guidance ("Send numbers only (percentages as 5 for 5%)") and a scope boundary ("Arithmetic on your own numbers, not financial advice"). It does not name a when-not condition or point at a sibling calculator, so it stops short of full routing guidance, but the intended use is unambiguous.

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