Calculate affiliate commission
calculate_affiliate_commissionCalculate exact monthly CPA, revenue-share and hybrid earned commission from explicit versioned contract terms and monthly NGR. Version 1 supports flat rates; version 2 also supports whole or marginal bands. Returns exact decimal strings, assumptions and limitations. Does not look up programme terms or predict outcomes. Calculation inputs and results are not logged.
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": {
"input": "<input>"
},
"name": "calculate_affiliate_commission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Explicit versioned monthly commission inputs. V1 is flat-only; V2 permits flat or banded revenue share. No default offer is supplied. |