Skip to main content
Glama

Payout after fees

payout

Calculate net earnings per sale and total across multiple units after platform and processing fees for Gumroad, Stripe, PayPal, and Etsy.

Instructions

What you keep per sale and in total for a number of units, after platform and processing fees.

Input Schema

NameRequiredDescriptionDefault
qtyNoEtsy: items in the order
typeNoPayPal payment type (default checkout)
unitsNoNumber of sales (default 1)
amountYesSale price in USD
discoverNoGumroad: sale came through Gumroad Discover (flat 30%, processing included)
platformYes
shippingNoEtsy: shipping charged to the buyer
extra_pctNoStripe: extra % for international cards or currency conversion
gift_wrapNoEtsy: gift wrap charged
processingNoGumroad direct: add card processing 2.9% + $0.30 (default card)
high_volumeNoGumroad: 5% + $0.50 tier (paid sales this calendar month reached $20,000)
offsite_adsNoEtsy: Offsite Ads fee (std 15%, low 12%)
internationalNoPayPal: international buyer (+1.50%)
sales_tax_pctNoEtsy: sales tax % on the order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses the output shape ('per sale and in total'), but omits that the tool is a pure calculation with no side effects, that platform-specific params are optional and conditional, and any defaults beyond what the schema already states.

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

Conciseness5/5

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

A single front-loaded sentence stating the computation and its unit basis, with no wasted words. Appropriately sized for a calculator-style tool.

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 14-param, four-platform tool with conditional fields, the description covers the outcome but says nothing about the branching by platform or the absence of an output schema return structure beyond 'per sale and in total'. Adequate but with clear gaps.

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 93%, so the schema already documents nearly every parameter including platform-conditional fields. The description adds no parameter syntax, defaults, or examples beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

Clear specific outcome: net amount kept per sale and in total after platform and processing fees, over a number of units. Distinguishes itself from the 'fee' sibling by framing itself as the net result, but never names the alternatives explicitly.

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?

No when-to-use guidance and no mention of the sibling tools (fee, compare, price_for_target) that an agent could pick instead. The multi-platform, conditionally-parameterized nature (Etsy/Gumroad/PayPal/Stripe) is left entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools