Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

optimize_fans_tool

Search fan speed percentages to lower estimated fan power while keeping required airflow and velocity limits; returns speeds for validation via write_results.

Instructions

EXPERIMENTAL. Search fan speeds (% of saved speed) for the lowest estimated fan power at which the named airways keep their required airflow (min_flow, m3/s; required, or strict=True) and no airway goes outside the velocity limits (min/max m/s, shaft limit). Airways already outside the limits at the saved speeds do not block a speed set unless strict=True. Airflow uses the what_if solver (compressible=True: densities follow absolute pressure, as Ventsim's Compressible Airflows); power comes from the fan curve at the new speed (affinity laws) and the saved efficiency. No copy is written: use write_results with the returned speeds, 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>"
    },
    "name": "optimize_fans_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
fansNo
pathYes
stepNo
limitsNo
strictNo
min_flowNo
max_speedNo
min_speedNo
compressibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A3.5/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 behavioral burden and does well: it flags the tool as EXPERIMENTAL, states it writes nothing ('No copy is written'), discloses the solver used (what_if with compressible densities following absolute pressure), and explains how power is estimated (fan curve plus affinity laws and saved efficiency). The main omissions are runtime expectations and what exactly is returned beyond 'the returned speeds'.

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

Conciseness3/5

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

The EXPERIMENTAL warning and the core verb are correctly front-loaded, and most sentences carry real information. However, the prose is cramped and semicolon-heavy, and the constraint sentence ('min_flow, m3/s; required, or strict=True') reads as a compressed note rather than a clear statement, costing readability.

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?

For a 9-parameter, no-annotation, no-output-schema optimization tool this is decent but not sufficient: the optimization objective and solver behavior are covered, yet five parameters are undocumented and the shape of the result is only alluded to. An agent could invoke it, but would be guessing on step, speed bounds, fan selection, and the returned payload.

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 9 parameters, so the description must compensate and only partly does: it glosses min_flow, limits (velocity min/max m/s, shaft limit) and strict, but the phrasing 'min_flow, m3/s; required, or strict=True' is garbled and hard to act on. It says nothing about path, fans, step, min_speed, or max_speed, and its statement that airflow uses compressible=True sits awkwardly against the compressible parameter that defaults to false, leaving an agent unsure of the real behavior.

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 opens with a specific verb and resource ('Search fan speeds (% of saved speed) for the lowest estimated fan power') and names the objective and constraints, so an agent knows this is a constrained optimization, not a lookup. It distinguishes itself partly by naming the what_if solver as the engine and write_results as the persistence step, though it never contrasts itself with close siblings such as goal_seek or fan_select.

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 gives an explicit workflow instruction: 'No copy is written: use write_results with the returned speeds, then check the copy in Ventsim.' That tells the agent exactly what follow-up call to make and why this tool cannot be used alone. It stops short of stating when to prefer this over goal_seek or sensitivity, so the tool-selection guidance is incomplete but the sequencing guidance is clear.

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