Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Thermal Conduction

thermal_conduction

Compute steady 1-D heat conduction through layered plane walls, cylinders, or spheres, including surface films and contact resistance, to obtain resistance, heat rate, UA, and interface temperatures.

Instructions

Steady 1-D conduction through layers in series, with an optional convective film on each side and optional contact resistance between layers, for a plane wall, a cylinder (pipe wall plus insulation) or a sphere. Returns total resistance, heat rate, UA, U, and the temperature at the inner surface, every interface and the outer surface (inner side = first layer). 'layers' = ' @ ' items separated by ';' or a JSON array of {thickness, conductivity}. Cylinder and sphere: the layers are shells outward from 'inner_radius'. Gives the critical insulation radius k/h (cylinder) or 2k/h (sphere) and warns if the outer radius is below it.

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": {
      "geometry": "<geometry>",
      "layers": "<layers>",
      "temperature_inner": "<temperature_inner>",
      "temperature_outer": "<temperature_outer>"
    },
    "name": "thermal_conduction"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoPlane wall only: area, default '1 m^2'
layersYesLayers from the inner side outward, e.g. '200 mm @ 0.72 W/(m*K); 50 mm @ 0.04 W/(m*K)' (or JSON [{"thickness":"200 mm","conductivity":"0.72 W/(m*K)"}]). Max 30.
lengthNoCylinder only: length, default '1 m'
h_innerNoOptional film coefficient on the inner side, e.g. '1000 W/(m^2*K)'. Blank = no film (surface at fluid temperature).
h_outerNoOptional film coefficient on the outer side, e.g. '10 W/(m^2*K)'. Blank = no film.
geometryYes'plane', 'cylinder' or 'sphere'
unit_systemNoUnit system of the results: 'metric' (degC, W, m, W/m2/K) or 'imperial' (degF, Btu/h, ft, Btu/h/ft2/degF)metric
inner_radiusNoCylinder / sphere only (required): inner radius of the first layer, e.g. '25 mm'
temperature_innerYesFluid (or surface, if no film) temperature on the inner side, e.g. '90 degC'
temperature_outerYesFluid (or surface) temperature on the outer side, e.g. '20 degC'
contact_resistancesNoOptional areal contact resistance at each interface between layers (one fewer than layers), e.g. '0.0005 m^2*K/W; 0'. Blank = perfect contact.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose returns, the 30-layer cap, blank-means-no-film semantics, the 'inner side = first layer' convention, and that it emits a warning when the outer radius falls below the critical insulation radius. It does not cover error conditions, unit-conversion edge cases, or any sign convention for heat rate.

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?

Everything is front-loaded: capability, then input format, then geometry rules, then the advisory warning. The long sentences are dense with substantive content rather than padding, which is appropriate for an eleven-parameter engineering calculation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still names the returned quantities, and it covers defaults, geometry-specific requirements, the layer cap, and the critical-radius warning. For a deterministic calculator with no annotations, nothing an agent needs in order to invoke it correctly is missing.

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%, so the baseline is 3. The description restates the layers string format (already exemplified in the schema) and adds the useful constraint that contact_resistances has one fewer entry than layers and that layers count outward from inner_radius, but it adds no syntax or unit detail beyond the structured fields.

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 opening sentence names a specific verb (steady 1-D conduction) plus the exact resource and scope (layers in series, optional films and contact resistance, plane/cylinder/sphere). It also enumerates the outputs, so an agent can tell this apart from the neighbouring thermal_convection tool without extra inference.

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 physics scope is stated precisely enough to imply when the tool applies (steady state, one-dimensional, series layers), and the geometry-specific rules ('cylinder and sphere: the layers are shells outward from inner_radius') tell the agent which mode to pick. There is no explicit when-not or named-alternative routing, so it falls short of a 5.

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

Deploy Server

Other Tools