sensitivity_analysis
Perform one-at-a-time sensitivity analysis by sweeping each parameter across a range while holding others fixed, then rank parameter importance using slope and elasticity of the chosen output metric.
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 |
|---|---|---|---|
| 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 | |
| output | Yes | The single output metric to track across the sweep | |
| mode | No | Sweep design; only one-at-a-time is available (grid/montecarlo reserved) | oat |
| max_runs | No | Hard cap on total swept runs; the call errors rather than truncating a larger sweep | |
| 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 |