Skip to main content
Glama
ventsim-mcp

ventsim-mcp

by agenticeram

shortest_path

Finds the route between two airways in a ventilation network by distance, resistance, or hop count, returning airway Unique Nos plus total length and resistance.

Instructions

EXPERIMENTAL. Shortest route between two airways over the network (Ventsim's Shortest Path). weight: 'distance' (Length), 'resistance' (Resistance Total) or 'hops'. Returns the airway Unique Nos in order with total length and resistance.

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>",
      "from_unique_no": "<from_unique_no>",
      "to_unique_no": "<to_unique_no>"
    },
    "name": "shortest_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
weightNodistance
to_unique_noYes
from_unique_noYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose two things an agent could not infer: the tool is experimental, and it returns ordered airway Unique Nos plus total length and resistance. It says nothing about behaviour when no path exists, whether the operation is read-only, or cost on large networks.

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?

Three compact sentences with the experimental warning front-loaded, then the operation, then the return shape. No filler, though the parenthetical '(Ventsim's Shortest Path)' is mildly redundant with the tool name.

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 four-parameter tool with zero schema coverage, no annotations and no output schema, the description covers the return values and the weight enum but leaves the 'path' argument and failure modes undocumented. It is adequate to attempt a call, not adequate to call confidently in edge cases.

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 description coverage is 0%, so the description must compensate, and it partly does: it enumerates the three legal values of 'weight' with what each measures, which the schema does not. However, the required 'path' parameter is never explained, and from_unique_no/to_unique_no are only implied by 'between two airways'.

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 names a specific operation and resource: computing the shortest route between two airways over the network, with a parenthetical mapping to Ventsim's Shortest Path. That is concrete enough to separate it from simulation or listing siblings, though it never explicitly contrasts itself with a near-neighbour such as escape_routes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the 'EXPERIMENTAL' prefix, which usefully warns the agent off production reliance, but there is no statement of when to prefer this tool over alternatives or what preconditions must hold. The weight options hint at use cases but are framed as a parameter menu rather than guidance.

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