Finance
Split bills by items with individual amounts and custom tip percentages per person
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/tip-calculator-split' \
-H 'Content-Type: application/json' \
-d '{"subtotal":150,"taxAmount":12,"peopleCount":4,"tipPercent":18,"splitMethod":"equal","customTipPerPerson":"e.g., 15,20,18,25 (comma-separated)","customAmounts":"e.g., 30,45,25,50 (comma-separated)"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/tip-calculator-split| Name | Type | Required | Description |
|---|---|---|---|
| subtotal | number | Yes | — |
| taxAmount | number | Yes | — |
| peopleCount | number | Yes | — |
| tipPercent | number | Yes | — |
| splitMethod | select | Yes | — |
| customTipPerPerson |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-tip-calculator-split": {
"name": "tip-calculator-split",
"description": "Split bills by items with individual amounts and custom tip percentages per person",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=tip-calculator-split",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "tip-calculator-split",
"arguments": {
"subtotal": 150,
"taxAmount": 12,
"peopleCount": 4,
"tipPercent": 18,
"splitMethod": "equal",
"customTipPerPerson": "e.g., 15,20,18,25 (comma-separated)",
"customAmounts": "e.g., 30,45,25,50 (comma-separated)"
}
}
}Questions or issues? Contact [email protected]
| text |
| No |
| — |
| customAmounts | text | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}