Skip to main content
Glama

MagicON RF Design Engines

Run thermal analysis

run_thermal_analysis
Read-only

PCB thermal analysis: via array Rth, junction-to-ambient stack, pour fin spreading, Coffin-Manson barrel stress, Timoshenko warpage, and resin-flow estimation. Call with no arguments once a design exists: the server takes power_w from the designed chain's dissipated power and defaults ambient_c to 25 C. The result carries recommendations (thermal vias, copper, plating) — answer adjustment questions from those entries. If the user states a heatsink or airframe spreader, pass heatsink (θcs, θsa and mount, all three as stated — never guessed); Tj is then computed through it instead of still-air convection.

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": {
      "user_request": "<user_request>"
    },
    "name": "run_thermal_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
heatsinkNoOptional user-STATED heatsink (or drone airframe spreader) the part is mounted to. ALL THREE properties are required together and NONE is ever defaulted — if the user has not stated one, ask; a partial object is rejected naming the missing field. When given it REPLACES still-air convection; the result echoes it with source 'user_supplied' and a heat_path.
delta_t_cNoThermal-cycling ΔT in °C for Coffin-Manson fatigue analysis (e.g. 100 °C from −40 to +60 °C operating swing).
via_configNoOptional thermal via array. ALL SEVEN properties are required together — a partial object is rejected — and plating_thickness_mm must be < via_diameter_mm / 2.
case_temp_cNoStated case temperature in C. With analysis_input.power_w and theta_jc_c_per_w, gives Tj with no board.
layer_countNoTotal copper layer count (even number, typically 2–32). Used to scale per-layer thermal contributions.
user_requestYesRequired: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused.
pour_area_mm2NoTotal copper-pour spreader area in mm² on the heat-sink side; larger pours reduce the spreading-Rth term.
analysis_inputNoOptional once a design exists. {power_w, ambient_c} are BOTH optional: the server fills power_w from the designed chain's dissipated power and defaults ambient_c to 25 C. Omit this entirely to run thermal on the current design.
board_width_mmNoOverall PCB width in mm (warpage / CTE inputs).
stackup_layersNoOptional per-layer thermal contributions.
board_length_mmNoOverall PCB length in mm — used for Timoshenko warpage and CTE-mismatch curvature estimates.
source_area_mm2NoHeat source footprint area in mm² — typically the IC die or package pad footprint. Used for pour spreading resistance.
theta_jc_c_per_wNoDevice junction-to-case thermal resistance in °C/W (datasheet). Optional; else read from the designed PA's record.
copper_thickness_mmNoPlane/pour copper thickness in mm (e.g. 0.035 for 1 oz, 0.070 for 2 oz). Drives the lateral spreading conductance.
effective_cte_z_ppmNoEffective z-axis CTE in ppm/°C — input to Coffin-Manson barrel-stress life estimation. Typical 40–70 ppm/°C for FR4.
copper_coverage_top_pctNoFractional copper coverage on the top side (0–100 %). Used for warpage symmetry and effective-CTE calculations.
copper_coverage_bottom_pctNoFractional copper coverage on the bottom side (0–100 %). Asymmetry vs. top drives warpage predictions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source_area_mm2 / description
      Previous value: -"Heat source footprint area in mm² — typically the IC die or package pad footprint. Used for Kennedy spreading resistance."New value: +"Heat source footprint area in mm² — typically the IC die or package pad footprint. Used for pour spreading resistance."
  2. Changed2 schema fields changed
    • addedInput schema / properties / case_temp_c
      Added value: +{
      +  "description": "Stated case temperature in C. With analysis_input.power_w and theta_jc_c_per_w, gives Tj with no board.",
      +  "type": "number"
      +}
    • changedInput schema / properties / theta_jc_c_per_w / description
      Previous value: -"Device junction-to-case thermal resistance in °C/W (datasheet R_θJC). Optional — the server derives it from the designed chain's PA record when available."New value: +"Device junction-to-case thermal resistance in °C/W (datasheet). Optional; else read from the designed PA's record."
  3. Changed2 schema fields changed
    • changedInput schema / properties / user_request / description
      Previous value: -"The end user's own words that prompted this call, verbatim. Used to verify that the figures you pass were stated by your user rather than inferred. Omit it and the results will be labelled caller-asserted."New value: +"Required: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused."
    • addedInput schema / required
      Added value: +[
      +  "user_request"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / user_request / maxLength
      Added value: +4000
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint; the description goes well beyond by disclosing the defaulting behaviour (power_w pulled from the designed chain, ambient_c defaulted to 25 C), the fact that a supplied heatsink replaces still-air convection and is echoed with source 'user_supplied' and a heat_path, and that partial heatsink objects are rejected naming the missing field. `user_request` sourcing/refusal behaviour is also surfaced.

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?

Front-loaded with the purpose line, then the invocation rule, then the conditional heatsink branch — a sensible ordering. The second and third sentences are dense, em-dash-chained clauses that take a re-read, costing a point on structure.

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?

For a 17-parameter, deeply nested tool with no output schema, the description covers the three things an agent must get right: what it computes, which arguments to omit, and how to use the returned `recommendations`. The heatsink path and its authoritative sourcing requirement are spelled out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a policy the schema cannot: heatsink θcs/θsa/mount must be user-stated and 'never guessed', and no-arg invocation is legal once a design exists. The remaining parameters get no extra interpretation in prose, which is fine given the rich schema.

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?

Opens with a specific verb+resource ('PCB thermal analysis') and then enumerates the distinct physics it covers: via array Rth, junction-to-ambient stack, pour/fin spreading, Coffin-Manson barrel stress, Timoshenko warpage, resin-flow. That list alone separates it from the neighbouring compliance, glass-weave and PDN analyses.

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?

Gives a concrete invocation rule ('Call with no arguments once a design exists') and a conditional branch for stated heatsinks, plus a downstream rule for answering adjustment questions from `recommendations`. It stops short of naming any sibling tool as an alternative for non-thermal questions, but the when-to-use context is otherwise explicit.

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