compare_scenarios
Compare multiple what-if scenarios against a baseline using parameter overrides, and report per-variable absolute deltas and percent change.
Instructions
Run several named what-if scenarios (each a set of constant parameter overrides) against a baseline and report how each diverges: per-variable final/max absolute deltas and final percent change. Requires the optional pysd dependency (pip install 'stella-mcp[sim]').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Variables to report and compare (default: all stocks) | |
| baseline | No | Override set to measure deltas against (default: the unmodified model) | |
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| scenarios | Yes | Named override sets to compare (names must be unique) | |
| max_points | No | Maximum points per returned series | |
| 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. | |
| save_comparison_csv | No | Optional path to write a wide variable-by-scenario CSV |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |