Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

sensitivity

Run Monte Carlo airflow simulations that vary airway resistances and re-solve the network multiple times, reporting mean, standard deviation, deviation percent, and within-5% consistency for targets.

Instructions

EXPERIMENTAL. Monte Carlo sensitivity of airflow to airway resistances (Ventsim's Sensitivity, resistance mode): each resistance varied by up to +/- spread_pct, the network re-solved 'runs' times. Gives mean, standard deviation, deviation % and the share of runs within 5 % of the mean, for each target airway (default: all).

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": "sensitivity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
runsNo
targetsNo
spread_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A4.2/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 well: it flags the tool as EXPERIMENTAL, explains the sampling method and that the network is re-solved 'runs' times, and names the returned statistics (mean, standard deviation, deviation %, share of runs within 5% of mean). What it omits is the practical implication of that re-solve loop – i.e., that cost scales with 'runs' and high values will be slow.

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?

A single dense paragraph that front-loads the EXPERIMENTAL warning, then the method, then the outputs. Every clause – the ± bound, the re-solve count, the five-percent-within-mean metric – adds information an agent needs; nothing is filler.

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?

No output schema exists, yet the description enumerates the returned statistics, and with no annotations it still discloses method, experimental status, and defaults. The only shortfall is that the required 'path' parameter and the computational cost of 'runs' are not addressed.

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 description coverage is 0%, so the description must compensate, and it does for three of four parameters: spread_pct is defined as the ± variation bound on each resistance, runs as the number of re-solves, and targets as the airway set with 'default: all'. Only 'path' is left unexplained, presumably the model file, which is the one material gap.

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 analysis (Monte Carlo sensitivity of airflow to airway resistances) with the exact mechanism – resistances perturbed by ±spread_pct and the network re-solved 'runs' times. This is clearly a stochastic sensitivity study rather than a plain solve, so an agent can distinguish it from simulate_airflow or calibrate_airflow without opening the schema.

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 phrase 'sensitivity of airflow to airway resistances' and the 'resistance mode' qualifier, but the description never states when to prefer this over simulate_airflow or calibrate_airflow, nor any preconditions. An agent can infer the scenario but gets no explicit routing guidance.

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