Skip to main content
Glama
Almond MCP

Almond MCP

analyze_thermal

Simulates hourly zone thermal performance for a year to estimate heating/cooling energy, peak loads, operative temperatures, and comfort, including passive-design and natural-ventilation scenarios.

Instructions

(BETA) Hourly thermal simulation of zones for a year (ISO 13790 5R1C, one node set per zone) with solar gains ray traced on the real geometry: heating/cooling energy and peaks (kWh/m2, W/m2), operative temperatures, and comfort - adaptive ASHRAE 55 and EN 16798-1 (Cat II) hours, CIBSE TM52 overheating criteria, PMV/PPD. free_running=True removes both set-points (use with natural_ventilation_ach to test passive design).

Zones: zone_guids = closed polysurfaces / extrusions / closed meshes in Rhino, one per zone (glazing objects parallel to a zone face and within 30 cm of it become its windows; faces shared between listed zones are adiabatic; a zone's lowest floor is ground-coupled to the EPW ground temperature unless building floors lie under it, when it is exposed to outside air - list the zone below to make it adiabatic, or pass ground_z_m, the ground's z coordinate in metres); geometry_guids = context that shades (default all visible). Or shoebox={...} for a room with one exposed facade; materials overrides apply to it too. TM52 is assessed over May-September north of the equator and November-March south of it, or over tm52_months (e.g. [12,1,2]). construction: insulated | typical | uninsulated_masonry | lightweight_tropical; u_values overrides per kind ({"wall":0.3,"roof":0.2,"ground_floor":0.3,"window":1.4}); thermal_mass: very_light | light | medium | heavy | very_heavy. schedule: office | school | residential | always. shading_g_factor < 1 lowers a window's g when its irradiance passes 300 W/m2 (movable shading); shading_min_outdoor_c keeps the shading up on days colder than that (summer mode, e.g. 12). Fresh air when occupied: ventilation_l_s_m2 per floor area (default by schedule, EN 16798-1 Cat II: office 1.4, school 4.0, residential 0.42) or ventilation_ach; infiltration_ach always. Brief-style inputs: people_per_m2 (their sensible heat at metabolic_rate replaces occupancy_w_m2; 60 % of the metabolic heat, an Almond assumption) and ventilation_l_s_person (added to ventilation_l_s_m2, e.g. 5 l/s per person + 1 l/s m2); heating_setback_c / cooling_setback_c are the set-points outside occupied hours (e.g. 21 occupied / 18 setback; default: off when unoccupied); heating_months / cooling_months / ventilation_months / natural_ventilation_months limit each system to a season (e.g. heating [11,12,1,2,3,4], natural ventilation [5,...,10]); natural_ventilation_above_c and natural_ventilation_min_outdoor_c set when windows open; shading_on_above_w_m2 is the irradiance on the window that lowers the shade (e.g. 150). custom_schedule = your own day profiles, {"occupancy": {"weekday": [24 fractions], "weekend": [24]}, "lighting": {...}, "equipment": {...}}. comfort_months = the season for the adaptive EN 16798-1 hour counts (adaptive_en16798_hours: too warm / too cool / comfortable occupied hours per category I-III). lighting_control = continuous | stepped | on_off dims or switches the lights to top up the daylight on the work plane to lighting_target_lux (e.g. 300; stepped in lighting_steps equal steps; continuous down to lighting_min_power), from the daylight traced at control points on a 1 m grid over each floor - shoebox zones here, rooms through analyze_rooms(thermal_settings={"lighting_control": ...}); the lighting saving and the hours daylight alone meets the target are reported per zone. Every zone reports its hourly energy balance as annual gains / losses per term (energy_balance_kwh_m2) and lighting / equipment energy; export_csv=True also writes each zone's hourly results and balance to a CSV in the run folder. background=True starts the study and returns a job_id at once - use it for annual studies on real models, which can take longer than the client waits; poll get_environment_run(job_id).

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": {
      "epw_path": "<epw_path>"
    },
    "name": "analyze_thermal"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
shoeboxNo
epw_pathYes
scheduleNooffice
u_valuesNo
window_gNo
window_uNo
air_speedNo
materialsNo
north_degNo
backgroundNo
export_csvNo
ground_z_mNo
zone_guidsNo
tm52_monthsNo
constructionNotypical
free_runningNo
thermal_massNo
lighting_w_m2No
people_per_m2No
comfort_monthsNo
cooling_monthsNo
equipment_w_m2No
geometry_guidsNo
heating_monthsNo
lighting_stepsNo
metabolic_rateNo
occupancy_w_m2No
clothing_summerNo
clothing_winterNo
custom_scheduleNo
ventilation_achNo
infiltration_achNo
lighting_controlNo
shading_g_factorNo
cooling_setback_cNo
heating_setback_cNo
cooling_setpoint_cNo
heating_setpoint_cNo
lighting_min_powerNo
ventilation_l_s_m2No
ventilation_monthsNo
lighting_target_luxNo
shading_min_outdoor_cNo
shading_on_above_w_m2No
ventilation_l_s_personNo
natural_ventilation_achNo
natural_ventilation_monthsNo
natural_ventilation_above_cNo
natural_ventilation_min_outdoor_cNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false; the description adds that background=True starts a study and returns a job_id that must be polled via get_environment_run, and that export_csv=True writes hourly results to a CSV in the run folder. It also flags the tool as BETA. These details go beyond the annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely long and dense, presented mostly as a wall of text with occasional inline labels like 'Zones:' and 'construction:'. It is front-loaded with the core purpose, but the volume and lack of bullet-like separation make it harder to scan than necessary for an agent. Many details earn their place given 50 parameters, but the structure could be tighter.

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, so the description does not need to explain return values, yet it still summarizes the reported metrics and CSV export. Annotations cover safety, and the description adds the background job lifecycle and polling requirement. Given the tool's complexity and parameter count, the definition is complete enough for an agent to invoke it correctly.

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?

With 50 parameters and 0% schema description coverage, the description carries a heavy burden and explains many of the non-obvious ones: zone_guids geometry rules, shoebox, construction, u_values, thermal_mass, schedule, shading_g_factor, ventilation, infiltration, people_per_m2, setback/setpoint behavior, seasonal month arrays, custom_schedule, lighting_control, and background. Some parameters such as window_g, window_u, air_speed, north_deg, label, epw_path, lighting_w_m2, equipment_w_m2, and clothing values are not explained, so it does not fully compensate for the schema gap.

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 states a specific verb and resource: 'Hourly thermal simulation of zones for a year' using ISO 13790 5R1C with ray-traced solar gains, and lists the outputs (heating/cooling energy, operative temperatures, comfort metrics). It distinguishes itself from siblings by naming analyze_rooms for room-level lighting control and get_environment_run for polling background jobs.

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 gives clear contextual guidance: use free_running=True with natural_ventilation_ach for passive design, use background=True for annual studies on real models, and use analyze_rooms for rooms with lighting control. It does not explicitly state when to prefer this tool over thermal_comfort or compare_thermal_cases, so the when-not guidance is incomplete.

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