Skip to main content
Glama

plot_vensim_results

Simulates a Vensim model with PySD and saves an SVG line chart, grouping variables by unit and applying run-specific overrides without requiring Vensim.

Instructions

Simulate with PySD and save an SVG line chart; works without Vensim installed.

By default the model's stocks are drawn. Variables with different units get separate stacked panels. overrides apply to this run only.

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>",
      "output_path": "<output_path>"
    },
    "name": "plot_vensim_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
overridesNo
time_stepNo
variablesNo
final_timeNo
model_pathYes
output_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that it simulates via PySD, saves an SVG, draws stocks by default, separates units into stacked panels, and applies overrides only to the current run, but it does not state whether an existing output file is overwritten, what happens on simulation failure, or whether specific permissions are needed.

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?

The description is short and front-loaded with the core action, followed by useful defaults and panel behavior. The sentences are efficient and there is no obvious filler.

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?

The tool has moderate complexity with seven parameters, no annotations, no output schema, and no schema parameter descriptions. The description covers the main behavior and output format but is not complete enough to explain all parameters or file-writing side effects.

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 seven parameters, so the description must compensate. It adds meaning for the default variables behavior and run-scoped overrides, but it leaves title, model_path, output_path, time_step, final_time, and most of variables undocumented beyond their names.

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 states a specific action and resource: simulate with PySD and save an SVG line chart. It also distinguishes the tool from Vensim-dependent siblings by saying it works without Vensim installed, though it does not explicitly name alternatives.

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 is implied by the statement that it works without Vensim installed, suggesting it is the plotting option when Vensim is unavailable. However, there is no explicit when-to-use versus when-not-to-use guidance or named alternative tool.

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