sensitivity_analysis
Perform one-at-a-time sensitivity analysis: sweep each parameter across a range while holding others at baseline, and report how a chosen output metric responds with range slope and normalized elasticity for ranking.
Instructions
One-at-a-time sensitivity: sweep each parameter across a range (holding the others at their baseline) and report how one chosen output metric responds, with a range slope and a baseline-normalized elasticity for ranking. Requires the optional pysd dependency (pip install 'stella-mcp[sim]').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Sweep design; only one-at-a-time is available (grid/montecarlo reserved) | oat |
| output | Yes | The single output metric to track across the sweep | |
| max_runs | No | Hard cap on total swept runs; the call errors rather than truncating a larger sweep | |
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| parameters | Yes | Parameters to sweep, each one at a time | |
| include_series | No | Also return each run's downsampled output series | |
| save_sweep_csv | No | Optional path to write the long (parameter, value, metric) CSV |