profit_margin_calculator
Calculate gross profit margin, markup percentage, and net profit using cost and revenue inputs.
Instructions
Calculate gross profit margin, markup percentage, and net profit from cost and revenue.
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": {
"cost": "<cost>",
"revenue": "<revenue>"
},
"name": "profit_margin_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Cost of goods/services | |
| revenue | Yes | Selling price / revenue |