Payment fee comparison
calculate_payment_feesCompare the amount retained under two supplied percentage-plus-fixed fee schedules. Numeric scenarios only. Enter your actual provider schedule. Default numbers are fictional, not quotes. Taxes, foreign exchange, minimum fees, refunds, gas and cross-border charges are included only if you add them to the supplied fee assumptions. A negative retained amount is possible.
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": {
"amount": "<amount>",
"rate_a": "<rate_a>",
"fixed_a": "<fixed_a>",
"rate_b": "<rate_b>",
"fixed_b": "<fixed_b>"
},
"name": "calculate_payment_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount (USD) | |
| rate_a | Yes | Option A rate (%) | |
| rate_b | Yes | Option B rate (%) | |
| fixed_a | Yes | Option A fixed charge (USD) | |
| fixed_b | Yes | Option B fixed charge (USD) |