Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

add_airways

Copies a Ventsim model and adds specified airways to a new file, enabling what-if ventilation scenarios to be simulated and checked.

Instructions

EXPERIMENTAL. Copy the model to 'out_path' with new airways added. Each airway: {"like": "12", "start": [x, y, z], "end": [x, y, z], "name": "new drive", "width": 5.0, "height": 5.0, "open_ends": ["end"]} (name, width, height, open_ends optional). It copies size, shape, friction factor and stage from airway 'like' (not its fan, fixed flow or pressure, heat or gas sources); resistance follows the new length and size. An end within 5 cm of an existing airway end joins the network there (not at a surface connection); an end that joins nothing is a dead end unless listed in 'open_ends' ("start" / "end"), then it is open to the surface. Saved results are not recomputed: run simulate_airflow on the copy, then check the copy 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>",
      "out_path": "<out_path>",
      "airways": "<airways>"
    },
    "name": "add_airways"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
airwaysYes
out_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full disclosure burden and does so: it says which attributes are inherited from 'like' (size, shape, friction factor, stage) and which are not (fan, fixed flow/pressure, heat or gas sources), and that resistance is recalculated from new length and size. It also discloses the 5 cm snap-join rule, that joins do not occur at surface connections, the dead-end vs open_ends distinction, and that saved results are stale until simulate_airflow is run.

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

Conciseness5/5

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

The experimental warning and the core action are front-loaded in the first sentence, followed by the object example and then the behavioral rules in decreasing order of importance. Dense but every clause carries information an agent cannot get from the bare schema.

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

Completeness4/5

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

For a mutation-style tool with no annotations, no output schema and a completely undocumented schema, the description covers inheritance rules, geometry joining, dead-end handling and the follow-up simulate step. What's missing is the return value (whether the output path or a summary is returned) and any note on permissions or file overwrite behavior for 'out_path'.

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 0% and all three parameters are required, so the description must compensate; it does so well for 'airways' by giving a full example object and marking name, width, height and open_ends as optional. 'out_path' is explained as the copy destination, but 'path' (the source model) is never described at all, leaving one required parameter unexplained.

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 gives a specific verb and resource: copy the model to 'out_path' with new airways added, and the 'like'-based creation of airways is spelled out. The copy-to-a-new-file semantics plus the 'EXPERIMENTAL' flag clearly separate it from in-place editing tools such as edit_airways without needing to name them.

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?

The definition states the intended workflow explicitly: run simulate_airflow on the copy afterwards and check it in Ventsim, since results are not recomputed. It doesn't name an alternative tool for adding airways to the original model, so the when-not-to-use side is only implicit.

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