Skip to main content
Glama

Get Simulation Scenario Run

get_simulation_scenario_run
Read-only

Read one scenario run of the simulation workspace this credential is connected to: its status, its expectations (expected vs actual), its accounting checks (invariants: every journal entry balances, Inventory Asset moved with Spark's inventory value, no inventory journal on AR/AP, no line on an unmapped account; each passed, failed with what broke it, or not checked), its timeline (each step's action, simulated day, documents, stock movements, accounting events and where each stood with QuickBooks), and per step what it put in the simulated QuickBooks books: each transaction with its form lines and debit/credit postings, and each QuickBooks request Spark captured instead of sending. Set includePayloads=true for the exact Intuit JSON bodies, with stepIndex to read one step at a time when the run is large.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "runId": "<runId>"
    },
    "name": "get_simulation_scenario_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe run's id, from run_simulation_scenario or list_simulation_scenario_runs.
stepIndexNoOnly this step's QuickBooks entries (its index in the timeline). The timeline itself is always whole.
includePayloadsNoInclude the exact Intuit request body of each captured QuickBooks request. Default false.

Output Schema

NameRequiredDescriptionDefault
runNo
entriesNo
messageNo
payloadsIncludedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), yet the description still adds substantial context: it spells out the invariant checks and their three possible outcomes, and notes that captured QuickBooks requests were recorded "instead of sending" them. That last point is a genuine behavioral disclosure about the simulation sandbox that no annotation conveys.

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

Conciseness3/5

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

It is front-loaded correctly with the core action, but the middle is a single sprawling sentence with a long parenthetical enumerating every invariant, which is hard to scan. The content earns its place, yet the structure would benefit from breaking the invariants and timeline into separate sentences.

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?

For a read tool with an output schema, the description is complete: it covers what is returned at each level, the default of includePayloads, and how to paginate large runs via stepIndex. An agent can call this correctly without consulting anything else.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds rationale beyond the schema: stepIndex exists because "the timeline itself is always whole" and should be used when the run is large, and includePayloads yields exact Intuit bodies. This explains why and when to set each optional parameter rather than just restating it.

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

Purpose5/5

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

The description opens with a specific verb and resource ("Read one scenario run of the simulation workspace") and then enumerates the exact contents: status, expectations, accounting checks, timeline, and per-step QuickBooks entries. This clearly separates it from list_simulation_scenario_runs (which lists) and run_simulation_scenario (which executes).

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

Usage Guidelines4/5

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

It gives concrete invocation guidance: use includePayloads=true for exact Intuit JSON bodies, and stepIndex to read one step at a time when the run is large. It does not explicitly state when to prefer this over siblings such as get_saved_simulation_scenario or get_production_run, so it falls short of full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources