Skip to main content
Glama

Server Details

Processor fees, charge-to-net, invoice totals and proration. 3 of 6 tools free.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
GarphenGate/moltline-mcp
GitHub Stars
0
Server Listing
moltline-mcp
ChatGPT
–
Claude
–

TDQS

A4.6/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct calculation: fee-forward (processor_fees), fee-inverse (charge_to_net), multi-discount stacking, installment schedules, invoice rollups, and partial-period proration. Descriptions explicitly name the adjacent tool and when NOT to use the current one (e.g. charge_to_net vs processor_fees, installment_plan vs proration), making misselection unlikely.

Naming Consistency4/5

All names are snake_case and short, with a consistent convention of naming the domain concept or operation (invoice_total, processor_fees, discount_stack, charge_to_net). Slight mix of noun-phrase and verb/operation style (charge_to_net vs processor_fees), but readable and predictable enough that names alone signal intent.

Tool Count5/5

Six tools for a focused merchant-math domain is well scoped, with each tool earning its place as a distinct calculation primitive. No redundant helpers or filler endpoints inflate the surface.

Completeness4/5

The surface covers fee math in both directions, invoicing with tax/discount, discount stacking, installments, and proration — a coherent lifecycle of pricing calculations. Minor gaps remain, such as standalone margin/markup or tax-inclusive/exclusive extraction, but agents can compose around them with the existing tools.

Available Tools

6 tools
charge_to_netCharge To NetA
Read-onlyIdempotent
Inspect

Compute the gross price to charge so you net a target after fees. FREE.

'Charge X to receive Y' after percentage + fixed processor fees. Typical input {"net_target": 100, "pct_fee": 2.9, "fixed_fee": 0.30} returns {"charge": 103.4, "fee": 3.4, "net": 100.0}.

The inverse of processor_fees - solves for gross from a target net. Use when the payout is the fixed requirement. Not when the price is already set. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "net_target > 0 and pct_fee < 100 required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: net_target (required), pct_fee, fixed_fee. Returns: object

discount_stackDiscount StackA
Read-onlyIdempotent
Inspect

Stack discounts correctly: sequential vs additive comparison. PREMIUM (license).

The two methods differ: this shows both, the final price, and the true total discount. Typical input {"price": 200, "discounts_pct": [20, 10]} returns {"original": 200, "sequential_price": 144.0, "sequential_total_discount_pct": 28.0, "additive_price": 140.0, "difference": 4.0, "note": "..."}.

Use when more than one discount applies and the order changes the answer. Not for a single discount inside an invoice (invoice_total). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "price > 0 and at least one discount required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: price (required), discounts_pct (required). Returns: object

installment_planInstallment PlanA
Read-onlyIdempotent
Inspect

Split a total into an installment schedule with optional deposit. PREMIUM (license).

Rounding remainders land on the final payment so the schedule always sums exactly. Typical input {"total": 1000, "installments": 3, "deposit_pct": 10} returns {"deposit": 100.0, "payments": [300.0, 300.0, 300.0], "check_sum": 1000.0}.

Use when one total is paid across scheduled dates. Not for partial-period adjustments (proration). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "total > 0 and 1-36 installments"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: total (required), installments (required), deposit_pct. Returns: object

invoice_totalInvoice TotalA
Read-onlyIdempotent
Inspect

Total an invoice: per-line totals, subtotal, discount, tax, grand total. FREE.

Typical input {"line_items": [{"desc": "Design", "qty": 2, "unit_price": 50}], "tax_pct": 8.5, "discount_pct": 10} returns {"lines": [{"desc": "Design", "qty": 2, "unit_price": 50, "line_total": 100.0}], "subtotal": 100.0, "discount": 10.0, "tax": 7.65, "total": 97.65}.

Use when several line items roll up with discount and tax. Not for one transaction's fees (processor_fees) and not for spreading a total over time (installment_plan). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "line_items must contain at least one item,"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: line_items (required), tax_pct, discount_pct. Returns: object

processor_feesProcessor FeesA
Read-onlyIdempotent
Inspect

Break down payment-processor fees: fee, net, and effective rate. FREE.

Uses editable presets for stripe/paypal/square/shopify (verify current rates) or your own custom_pct + custom_fixed. Typical input {"amount": 1000, "processor": "stripe", "transactions": 10} returns {"gross": 1000, "fee": 32.0, "net": 968.0, "effective_rate_pct": 3.2, "note": "..."}.

Use when the charge amount is known and the net payout is the question. Not for the reverse: the gross needed to net a target is charge_to_net. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "amount must be > 0, transactions >= 1"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: amount (required), processor, custom_pct, custom_fixed, +1 more. Returns: object

prorationProrationA
Read-onlyIdempotent
Inspect

Compute a prorated charge or refund for a partial billing period. PREMIUM (license).

Typical input {"amount_per_period": 90, "days_used": 10, "days_in_period": 30} returns {"days_used": 10, "days_in_period": 30, "prorated_charge": 30.0, "prorated_refund": 60.0, "answer": 30.0}.

Use when a plan starts, ends, or changes mid-period. Not for splitting a full amount into scheduled payments (installment_plan). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "need amount > 0 and 0 <= days_used <= days_in_period"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Inputs: days_used (required), amount_per_period (required), refund_mode, days_in_period. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Itemises marketplace fees, shipping, and item costs to work out true net profit, margin, and ROI for sales on eBay, Etsy, Poshmark, Mercari, Depop, Whatnot, and TikTok Shop. It also ranks the same item across all seven platforms and finds the lowest list price that still hits a target profit, with dated fee schedules and custom fee overrides.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to compute exact Etsy, eBay and Amazon FBA/FBM seller fees, profit, margin, break-even and target prices from current marketplace fee tables, plus free category and region lookups and 3-way marketplace comparisons. Every result returns an itemized fee breakdown, assumptions, fee-table version and links to official sources and matching calculators, so price and margin questions can be answered deterministically without scraping or API keys.
      13
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      FeeProof — seller fee stacks for 11 marketplaces, as an MCP tool. fee_estimate gives the full itemized fee stack for one marketplace and price; compare_marketplaces ranks all 11 marketplaces by seller net for the same item and price.
      2
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.