Skip to main content
Glama

HeatAlgo Calculators

Underfloor heating loop for one room

ufh_loop_v1
Read-onlyIdempotent

Lay one rectangular room's underfloor heating pipe at a given spacing and estimate the pipe length (in the room and the run to the manifold) and how many loops it needs to stay under the recommended loop length. Returns the link to the full free calculator with the drawing.

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": {
      "widthM": "<widthM>",
      "lengthM": "<lengthM>",
      "manifoldDistanceM": "<manifoldDistanceM>"
    },
    "name": "ufh_loop_v1"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoThe reader's language, for the calculator link: en (UK and anywhere else in English), en-us (United States: the page in feet, °F and Btu/h), pl, de, fr, nl, it, es, sv, cs, da, nb.en
widthMYesThe room's width, m (1-30).
lengthMYesThe room's length, m (1-30).
spacingMmNoPipe spacing, mm: one of 100, 150, 200, 250, 300.
manifoldDistanceMYesThe run from the room to the manifold, m (0.5-60).

Output Schema

NameRequiredDescriptionDefault
noteYes
patternYesThe layout the engine chose (spiral, meander...).
loopCountYesLoops needed to stay under the recommended length; null when no number of loops can, because the run itself is too long.
spacingMmYes
calculatorUrlYesThe full calculator page in the reader's language, to check and change the inputs.
coveredAreaM2Yes
inRoomLengthMYes
wallSetbackMmYes
totalPipeLengthMYesPipe in the room plus the run to the manifold and back, m.
runToManifoldLengthMYesBoth pipes of the run between the room and the manifold, m.
maxRecommendedLoopLengthMYes
exceedsRecommendedLoopLengthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the description adds meaningful context beyond them: what is actually computed (in-room pipe plus the run to the manifold) and the constraint driving the loop count ('stay under the recommended loop length'). It also discloses that a link to an external calculator/drawing is returned, which matters for an openWorldHint=false tool.

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?

Two sentences, front-loaded with the action, and the parenthetical '(in the room and the run to the manifold)' does real work in defining the estimate. Slightly dense but no filler sentences.

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?

An output schema exists so return values need not be re-explained, and annotations cover the safety profile. The description covers inputs, computation, and the external link; the only real omission is the numerical value of the 'recommended loop length' assumption, which an agent might want to state to a user.

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 100%, including enums and ranges, so the schema already carries the parameter burden and the baseline applies. The description adds only marginal meaning, clarifying that the estimated length includes the manifold run (linking manifoldDistanceM to the result) and that spacing is an input to the layout.

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 ('Lay ... underfloor heating pipe'), fixes the scope ('one rectangular room'), and names the two outputs (pipe length and loop count). An agent can tell this apart from radiator_size_v1 or heat_pump_size_v1 purely from the description.

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 phrase 'one rectangular room' implies the scope boundary, so an agent can infer this is a single-room layout tool rather than a whole-dwelling sizing tool. However, there is no explicit when-to-use/when-not-to-use statement and no sibling is named as an alternative, so guidance is implied rather than stated.

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.

Resources