Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

size_regulator

Determine the resistance to add in an airway so it carries a target airflow, then return added resistance, pressure drop, approximate regulator opening area, and resulting airflow changes elsewhere.

Instructions

EXPERIMENTAL. Resistance to add in one airway (a regulator, door or damper) so that it carries target_airflow (m3/s), solved with the what_if network model. Returns the added resistance (Ns2/m8), the pressure it drops, an approximate regulator opening area (McPherson: A_o = A / (1 + 0.759 A sqrt(R_add)), standard air) and the airflow changes elsewhere. A target above the airway's present airflow cannot be reached by a regulator; the result then says so.

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>",
      "unique_no": "<unique_no>",
      "target_airflow": "<target_airflow>"
    },
    "name": "size_regulator"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
limitNo
unique_noYes
target_airflowYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A3.7/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 discloses the computational method, the exact returned quantities and their units (Ns2/m8, opening area via McPherson's formula, standard air), and an explicit failure mode. The notable gap is whether this mutates the network model or is a pure calculation — 'resistance to add' suggests a proposal, but that is left to inference.

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-loads the EXPERIMENTAL flag, then the action, then the returns, then the limiting condition — a clean information order. The inline formula is dense but earns its place by clarifying the opening-area output; the only slack is that the return list and the constraint could be tightened slightly.

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, no annotations, and four undocumented-by-schema parameters, yet the description does describe the return values and failure case adequately. What is missing is critical for correct invocation: the meaning of path, unique_no, and limit, and whether the model is modified as a side effect.

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%, so the description must compensate, and it only covers one of four parameters. It gives target_airflow's unit (m3/s) and its reachability constraint, but path, unique_no, and limit (default 20) are entirely unexplained in both schema and description.

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 verb and resource ('Resistance to add in one airway ... so that it carries target_airflow') and names the solving engine ('what_if network model'), which separates it from the plain what_if sibling. It also enumerates the outputs, so an agent knows exactly what kind of answer to expect.

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 sizing framing rather than stated: it is for computing a regulator resistance to hit a target flow. One important boundary is given ('a target above the airway's present airflow cannot be reached'), but there is no explicit when-to-use-vs-alternative routing (e.g. versus what_if, goal_seek, or edit_airways) and no prerequisites named.

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