Skip to main content
Glama

Engineering Script

PIPEINSUL

Calculate optimal pipe insulation thickness to limit outer surface temperature (burn protection) and minimise heat loss. Uses cylindrical heat conduction + external convection model, solved via scipy.optimize.brentq. Returns exact minimum thickness and nearest commercial 5 mm step.

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": {
      "NPS": "<NPS>",
      "Tf": "<Tf>",
      "Ta": "<Ta>",
      "Tmax": "<Tmax>",
      "kins": "<kins>",
      "ha": "<ha>"
    },
    "name": "PIPEINSUL"
  }
}

Input Schema

NameRequiredDescriptionDefault
TaYesAmbient (outdoor) temperature
TfYesFluid / pipe outer surface temperature
haYesExternal (air-side) convection coefficient
NPSYesNominal Pipe Size in inches (ASME B36.10).
TmaxYesMaximum allowable insulation outer surface temperature (burn-prevention limit = 50 °C per EN ISO 13732-1)
kinsYesInsulation thermal conductivity
r2_unitNoDesired Pipe outer radius output unitmm
r3_unitNoDesired Insulation outer radius output unitmm
tins_unitNoDesired Insulation thickness output unitmm
Dpipe_unitNoDesired Pipe OD output unitmm
Qloss_unitNoDesired Heat loss output unitW/m
Tsurf_unitNoDesired Surface temperature output unitC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It clearly states the calculation model (cylindrical heat conduction + external convection), solution method (scipy.optimize.brentq), and the nature of the output (exact minimum thickness and nearest commercial 5 mm step). However, it omits edge-case behavior or assumptions (e.g., steady-state conditions, no solution scenarios), preventing a perfect score.

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?

The description is exceptionally concise—two sentences—and each sentence provides essential information: the purpose and the methodology/output. It is front-loaded and free of redundant or filler content.

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?

The description, combined with a well-documented schema, covers the essential aspects: what the tool calculates, the model used, and what it returns. It does not explain assumptions or limitations, but given the schema richness and the focused scope, it is sufficiently complete for an engineering calculation tool.

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?

The schema description coverage is 100%, and each parameter already has a detailed description. The tool description does not add param-specific meaning beyond referencing the overall model and solver. Thus, it meets the baseline without exceeding it.

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 uses a specific verb ('Calculate') and clearly identifies the resource ('optimal pipe insulation thickness') with explicit goals ('limit outer surface temperature... and minimise heat loss'). This definitively distinguishes it from sibling tools like PIPEFLOWGAS or PIPEFF, which focus on flow/pipe efficiency rather than insulation design.

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?

The description provides clear context for when to use the tool: when designing insulation for burn protection and heat loss reduction. It does not explicitly mention alternatives or exclusions, but the unique focus on insulation thickness makes the intended usage evident.

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