Skip to main content
Glama

simulate_in_vensim

Runs a simulation in installed Vensim and saves a .vdfx run file beside the model, giving Graph and Table tools loaded results to inspect.

Instructions

Simulate inside the installed Vensim so its Graph and Table tools have a loaded run.

Saves <run_name>.vdfx next to the model. On macOS (PLE, PLE Plus, Professional) this drives Vensim's Simulation Control dialog and needs a one-time Accessibility permission for the app running this server; the error explains how to grant it. Vensim DSS uses a command script. Vensim comes forward for about half a second to set up the run, then focus returns to the person's app while it finishes in the background.

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": {
      "model_path": "<model_path>"
    },
    "name": "simulate_in_vensim"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo
run_nameNocurrent
overwriteNo
model_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the whole burden and does so well: it discloses the on-disk artifact (<run_name>.vdfx next to the model), the macOS Accessibility permission requirement and that the error explains how to grant it, the DSS command-script path, and the half-second foreground steal followed by background completion. The main gap is that it never mentions the overwrite behavior of an existing .vdfx or how the timeout is enforced, both of which matter for a long-running simulation.

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

Conciseness4/5

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

Front-loaded with the purpose, then layered detail about artifact location and platform-specific mechanics; nearly every sentence adds information. It is slightly dense and the platform paragraph could be tightened, but nothing is redundant.

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

Completeness3/5

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

For a four-parameter tool with no annotations and no output schema, the description covers the behavioral essentials and permission failure mode well. It falls short on the semantics of two parameters and on what the caller receives or how long/failure behavior works, which an agent needs before invoking a GUI-driving simulation.

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

Parameters2/5

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

Schema description coverage is 0% for four parameters, so the description must compensate and only partly does. It gives real meaning to run_name by tying it to the output filename and implies model_path via 'next to the model', but timeout (default 120) and overwrite (default true, and destructive in effect) are not explained at all.

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 names a specific verb and resource: it runs a simulation inside the installed Vensim application and writes a .vdfx run file, so the Graph and Table tools have a loaded run. That is far more concrete than a generic 'simulate'. However, it never differentiates itself from the sibling run_vensim_model, which an agent would reasonably consider an alternative for the same intent.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the phrase 'so its Graph and Table tools have a loaded run' tells an agent this is for producing a run that downstream plotting/table tooling consumes. There are no explicit when-not conditions and no named alternative (e.g. run_vensim_model), so the agent must infer the boundary.

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