margin_calc
Calculate profit margin percentage and markup from cost and revenue for business profitability.
Instructions
Calculate profit margin percentage and markup from cost and revenue.
Parameters:
cost — Cost of goods sold.
revenue — Total 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": "margin_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| revenue | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |