Skip to main content
Glama
getsimba-ai

Simba MCP Server

Official
by getsimba-ai

get_scenario_results

Retrieve scenario prediction results and status. Use run_id to fetch a specific saved run and check completion, avoiding overwrites from newer scenarios.

Instructions

Get scenario prediction results.

Without run_id: returns the MODEL-LEVEL scenario state — status (pending/complete/failed) and, when complete, the full prediction data including predicted KPI per period, channel contributions, confidence intervals, and base components (intercept, seasonality, trend). This reflects the LATEST scenario on the model — a newer run overwrites it, so a poller can lose sight of the run it submitted.

With run_id (run_scenario's response includes it): fetches that specific saved run, immune to later runs — keys include run_id, model_hash, name, status, pinned, notes, tags, key_metrics, timestamps, inputs (the submitted payload), and results. Poll THIS form when you need to know whether your own run completed, or to disambiguate back-to-back scenarios.

NOTE: Failed scenarios return status "failed" with an error message in the JSON body (not an HTTP error). Always check the status field.

Args: model_hash: Hash of the model the scenario was run on. run_id: Optional scenario run id ("scn_..."), from run_scenario's response or list_runs(artifact="scenario").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idNo
model_hashYes
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full behavioral burden and meets it thoroughly. It discloses that newer runs overwrite the latest scenario, that run_id-scoped results are immune to later runs, and that failed scenarios return status 'failed' with an error in the JSON body rather than as an HTTP error, even advising to always check the status field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than average but tightly organized with paragraph breaks and an Args list. Every section carries functional information, and the key distinction between run_id modes is placed early before the detailed response fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, this description is remarkably complete: it covers both call modes, response contents, failure semantics, parameter sources, and the overwrite pitfall. An agent has enough to select the correct form, construct arguments, and interpret results correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does. It explains model_hash as the model identifier and gives rich semantics for run_id, including its format ('scn_...'), its source, and how its presence changes the response shape and reliability of the result.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns scenario prediction results and distinguishes two modes: latest scenario state versus a specific saved run identified by run_id. However, it does not explicitly differentiate this tool from the sibling get_model_results, relying on the 'scenario' resource framing rather than naming the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance for both forms: without run_id for the latest model-level scenario, and with run_id when polling your own run or disambiguating back-to-back scenarios. It also explains where run_id comes from (run_scenario or list_runs) and warns about the overwrite behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getsimba-ai/simba-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server