Contribution-profit sensitivity and thresholds
buscalc_sensitivityFind baseline profit, one-at-a-time endpoint changes, zero-profit thresholds and min/max profit across up to16 simultaneous rectangle corners. A threshold may be negative, outside the entered range, or undefined when slope is zero; none is an automatic recommendation. Returns a calculation receipt with inputs, results, assumptions, validation checks and source. The receipt is unsigned, not independent certification. No private data, external lookup or arbitrary code execution. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"mode": "contribution",
"ranges": [
{
"low": 40,
"high": 120,
"parameter": "quantity"
},
{
"low": 40,
"high": 60,
"parameter": "price"
}
],
"baseline": {
"price": 50,
"quantity": 100,
"fixedCost": 1000,
"variableCost": 30
}
}
},
"name": "buscalc_sensitivity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |