Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

render_network

Render the simulated ventilation network to an interactive SVG: plan or section views, airway colors by any numeric field, line width by airflow, and magenta highlighting of traced airways.

Instructions

Draw the airways of the simulated stage to an SVG file (opens in any browser). view: 'plan' (X-Y), 'section_x' (X-Z) or 'section_y' (Y-Z). color_by: any numeric airway field, e.g. 'Velocity m/s', 'Quantity', 'Pressure Branch'. Line width follows airflow, fans are circles, airways in 'highlight' (Unique No, e.g. from trace_airflow) are drawn on top in magenta. Hover an airway for its values. Never overwrites a file.

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>"
    },
    "name": "render_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
viewNoplan
color_byNoVelocity m/s
out_pathYes
width_pxNo
highlightNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A3.8/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 discloses the visual encoding (line width follows airflow, fans drawn as circles, highlighted airways on top in magenta), interactivity (hover shows values), and the safety-relevant guarantee 'Never overwrites a file'. It stops short of covering failure modes or whether the SVG path is returned, but that is partly mitigated by the presence of an output schema.

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?

The purpose is front-loaded in the first clause, and every subsequent sentence carries concrete information about encoding or options rather than filler. It runs slightly long and dense, but no sentence is wasted.

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?

The output schema exists, so return values need not be explained, and the visual semantics are unusually well covered. Still, for a tool that writes a file to a caller-supplied path, the absence of any description of 'path', 'out_path', or 'width_px' — plus no annotations — leaves real gaps an agent must guess at.

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 coverage is 0%, so the description must compensate. It explains three of six parameters well: 'view' (with its three valid values), 'color_by' (with concrete field examples), and 'highlight' (Unique No values, sourced from trace_airflow). It says nothing about 'path', 'out_path', or 'width_px', leaving half the parameters undocumented everywhere.

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 opens with a specific verb and resource ('Draw the airways of the simulated stage to an SVG file') and disambiguates itself from data-export siblings by naming the output format and browser-viewable nature. An agent can tell this is a visualization tool, not a data exporter like export_csv or export_dxf.

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 (render a network diagram to inspect a stage visually) and the description helpfully notes that 'highlight' values typically come from trace_airflow, giving one workflow link. However, it never states when to prefer this over export_dxf or other visualization-adjacent siblings, and gives no prerequisites or when-not guidance.

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