Gross profit, EBITDA, operating income, taxes, net income and margins.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
revenue | number | required | Total revenue in USD |
cogs | number | optional | Cost of goods sold in USD |
operating_expenses | number | optional | Operating expenses (SG&A etc.) in USD |
depreciation | number | optional | Depreciation in USD |
amortization | number | optional | Amortization in USD |
other_income | number | optional | Other income in USD (can be negative) |
interest_expense | number | optional | Interest expense in USD |
taxes | number | optional | Explicit tax amount in USD (overrides tax_rate_pct) |
tax_rate_pct | number | optional | Tax rate percent applied to pretax income |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "profit_loss", "arguments": {"revenue": 100}}}'curl -s https://wingmanprotocol.com/tools/profit_loss \
-H 'Content-Type: application/json' \
-d '{"revenue": 100}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/profit_loss from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).