Skip to main content
Glama

sweep_model_parameter

Runs a Vensim model once per value of a specified constant, then compares outcome summaries to evaluate parameter effects.

Instructions

Run the model once per value of one constant and compare outcome summaries.

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>",
      "parameter": "<parameter>",
      "values": "<values>"
    },
    "name": "sweep_model_parameter"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYes
parameterYes
variablesNo
final_timeNo
model_pathYes
base_overridesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/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 implies N model executions (one per value) and that results are aggregated into 'outcome summaries,' but says nothing about cost, whether the model file is mutated, whether overrides are applied in memory, or how results are ordered or returned.

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?

A single well-formed sentence with no filler and the core action front-loaded. It is efficient, though the brevity leaves little room for the detail the six-parameter schema needs.

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

Completeness2/5

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

For a tool with six parameters, zero schema documentation, no annotations, and no output schema, the description is far too thin. An agent cannot tell what base_overrides or variables do, what a 'summary' contains, or how many runs it is committing to.

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% across six parameters. The description only implicitly clarifies 'parameter' (the single constant swept) and 'values' (the sweep points); model_path, variables, final_time, and base_overrides get no meaning from either schema or description.

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 operation: run the model once per value of one constant, then compare outcome summaries. That is clearly a parameter sweep, distinct from a single-run tool, though it never names a sibling to contrast with.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance; the agent must infer that this is for sensitivity analysis over a single constant. The phrase 'one constant' hints at a one-parameter-at-a-time constraint but does not state what to do for multi-parameter sweeps.

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