sensitivity_analysis
Sweep parameters one at a time (others fixed at baseline) to see how a target output metric changes, ranking influence via slope and baseline-normalized elasticity.
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 | |
| workspace_id | No | Opaque application workspace handle. Required by MCP 2026-07-28 clients; supported legacy stdio clients may omit it to use the process-local compatibility workspace. | |
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |