Skip to main content
Glama

Home Toolkit

HVAC Duct, Return Grille & Supply Register Size Calculator

calculate_duct_and_grille_size
Read-onlyIdempotent

Size round or rectangular HVAC ducts (equal-friction Darcy-Weisbach + Huebscher equations) and stock return grilles, filter grilles, or supply registers for quiet residential airflow.

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": {
      "cfm": "<cfm>"
    },
    "name": "calculate_duct_and_grille_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
cfmYesTarget airflow in cubic feet per minute (CFM).
modeNoCalculate duct size, grille/register size, or both.both
roleNoDuct role for quiet velocity limit check.branch
frictionNoFriction rate in inches w.c. per 100 ft (default 0.08).
materialNoDuct material: smooth metal or flex.metal
grilleKindNoGrille/register type (defaults to return when role is return, otherwise supply).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds meaningful context beyond that — the physics methods used and the 'quiet residential' velocity constraint — but does not disclose the velocity limits applied, stock sizing snap behavior, or whether inputs are validated/clamped.

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 sentence, front-loaded with the primary action and resource, with method and constraint qualifiers appended. No 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?

For a read-only calculator with a fully documented six-parameter schema and no output schema, the description covers purpose plenty. The notable gap is the absence of any statement about what the result contains (dimensions, velocity, round-to-stock conversion), which would be needed to trust the output.

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 100% with descriptions and enums for all six parameters, so the schema carries the semantics and baseline is 3. The description adds only the framing of duct shape and grille stocking, not format details or defaults beyond what the schema states.

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 names a specific verb (size) and precise resources (round or rectangular HVAC ducts, return grilles, filter grilles, supply registers), and even cites the underlying methods (equal-friction Darcy-Weisbach + Huebscher). This distinguishes it clearly from siblings like calculate_ac_size or calculate_ventilation_and_dehumidifier.

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?

The description implies the usage domain — quiet residential airflow sizing — and the mode parameter encodes duct vs grille vs both, but there is no explicit when-to-use or when-not-to-use guidance, and no named alternative tool for scenarios outside residential sizing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.