Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

what_if

Estimate airflow changes by re-solving a Ventsim model with scaled airway resistances or fans switched off, then compare results against the unmodified baseline.

Instructions

EXPERIMENTAL what-if airflow estimate. Re-solves the network with the stored fan curves and resistances, scaling resistance of given airways (Unique No -> factor, e.g. {"12": 50} for a new door) and/or switching fans off (list of Unique No), and returns the airflow change per airway relative to an unmodified solve of the same model. 'baseline_fit' tells you how well the solver reproduces the flows saved by Ventsim (mean_rel_error = total absolute flow error / total flow). If 'reliable' is false, or junctions are unbalanced in the saved flows (ducting or leakage links the solver cannot see), do not trust the numbers. Always confirm in Ventsim.

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": {
      "path": "<path>"
    },
    "name": "what_if"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
limitNo
fans_offNo
resistance_scaleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it explains the solve basis (stored fan curves and resistances), the comparison baseline, and crucially discloses reliability semantics — 'baseline_fit', the mean_rel_error formula, and the conditions under which results should not be trusted (unreliable flag, unbalanced junctions from unseen ducting/leakage). It never explicitly states whether the model is mutated or whether the re-solve is purely ephemeral, which is a meaningful omission for a tool that perturbs resistances.

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 experimental label and the core operation, with the reliability caveat placed after the mechanics so the agent reads the capability first. It is dense but mostly earns its length; the trailing 'Always confirm in Ventsim' is a reasonable safety note rather than 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?

There is no output schema and no annotations, so the description is the only documentation, and it covers return semantics conceptually (per-airway change, baseline_fit) plus trust conditions. It stops short of complete: the required 'path' argument, 'limit', and whether the underlying model is persisted after the re-solve are all unaddressed.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It does explain two parameters well: resistance_scale as a Unique No -> factor map with the example {"12": 50}, and fans_off as a list of Unique Nos. However, the required 'path' parameter and the 'limit' parameter receive no explanation at all, leaving the mandatory argument undocumented in both schema and prose.

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?

States a specific operation: re-solve a ventilation network with stored fan curves and resistances under perturbed conditions (resistance scaling and/or fans off), returning per-airway airflow deltas against an unmodified baseline. That is clearly distinct from siblings like list_airways, model_summary, or check_flow_balance, and the 'EXPERIMENTAL' framing sets expectations immediately.

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 tells the agent the scenario this tool serves (testing a hypothetical change such as a new door or switching fans off) and adds an explicit usage constraint: 'Always confirm in Ventsim.' It does not name alternative tools or state when not to use it, so it falls short of full when/when-not guidance.

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