Find commission leakage
agent-networks_commission-leakageCompare caller-supplied transactions with dated agent agreements and commission payments. Expected commission follows the agreement in force on the transaction date: fixed, percent, tiered by cumulative count under that agreement, or capped. transaction_types limit a rule to named types; type-specific agreements beat general ones, then the latest effective_from wins. Payments that name a transaction apply there first. Remaining payments apply FIFO to unpaid expected amounts for that agent. unpaid is expected minus paid. overpaid is paid above expected, including leftover unallocated payments. exposure is unpaid plus overpaid inside each currency. No ledger is fetched or stored. Price $0.04 USDC. POST /api/v1/agent-networks/commission-leakage. Unpaid calls return 402 and do not run.
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": {
"agents": "<agents>",
"rules": "<rules>",
"agreements": "<agreements>",
"transactions": "<transactions>",
"payments": "<payments>"
},
"name": "agent-networks_commission-leakage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| agents | Yes | ||
| payments | Yes | ||
| agreements | Yes | ||
| transactions | Yes |