Skip to main content
Glama
Almond MCP

Almond MCP

analyze_daylight

Simulate annual, daylight-factor, or point-in-time daylight performance for Rhino or shoebox models and report metrics including sDA, ASE, DA, UDI, and glare.

Instructions

(BETA) Daylight simulation by daylight coefficients (Almond's own native engine). probes = points [x, y] (or [x, y, z]) in metres where every metric is reported from the nearest sensor (e.g. DA300 2 m from the window); with a shoebox, probe_distance_from_window_m puts one on the room's centreline at that distance from the facade.

study: "annual" (climate-based, needs epw_path): sDA300/50% and ASE1000,250h per IES LM-83 with dynamic shades (a group's shade closes when > 2 % of sensors get > 1000 lux of direct sun), DA, cDA, UDI bins, mean illuminance, EN 17037 daylight provision, and simplified DGP for optional view points; "daylight_factor" (CIE overcast, no EPW needed; with an EPW also the EN 17037 DF targets for the site); "point_in_time" (point_in_time={"month":6,"day":21, "hour":12,"sky":"epw"} - or sky "cie_overcast", "uniform", "cie_1".."cie_15" with "horizontal_illuminance" and optional "direct_normal_illuminance").

Geometry, one of:

  • Rhino: grid_guids = floor surfaces to put sensors on (work_plane_m above them, grid_spacing_m apart); geometry_guids = objects that take part (default: every visible object; results layers are ignored). Materials come from layer / object / render-material names (glass/glazing/window -> glazing; floor, ceiling, wall, roof, ground, context, shading, furniture ...), user text almond:env_material, or the materials override ({"": "glazing_double_clear" | {"reflectance": 0.6} | {"transmittance": 0.5}}). Unmatched surfaces are classified by orientation. The result lists how every object was classified - check it.

  • shoebox (no Rhino): {"width":6,"depth":8,"height":3,"orientation":180,"wwr":0.4, "sill":0.8,"glazing":"glazing_double_lowe","overhang":0,"fins":0, "obstruction_height":0,"obstruction_distance":10}.

quality: draft | medium | high. glazing picks the library glazing for generic glass; shade_transmittance sets every shade's diffuse transmittance (default 0.15). occupied_hours [start, end] (default [8, 18], every day, as LM-83). views: [{"position":[x,y,z],"direction":[dx,dy,dz]}] in metres for glare. north_deg: true north angle from +Y, counter-clockwise (default: Rhino's Sun panel north). Saves the run (see get_environment_run) with PNG plans, and draws the first metric in Rhino when show_in_rhino (Rhino studies only). 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_daylight"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
studyNoannual
viewsNo
probesNo
glazingNo
qualityNomedium
shoeboxNo
epw_pathNo
materialsNo
north_degNo
backgroundNo
grid_guidsNo
work_plane_mNo
edge_offset_mNo
point_in_timeNo
show_in_rhinoNo
weekdays_onlyNo
geometry_guidsNo
grid_spacing_mNo
occupied_hoursNo
dynamic_shadingNo
da_threshold_luxNo
aperture_groupingNoorientation
ground_reflectanceNo
shade_transmittanceNo
probe_distance_from_window_mNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description adds real behavior beyond that: the run is saved for get_environment_run, PNG plans are produced, the first metric is drawn in Rhino, and background=True returns a job_id that must be polled. Defaults like shade_transmittance 0.15 and occupied_hours [8,18] are also disclosed. It does not contradict the annotations, since the tool does persist state and draw into the scene.

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 core purpose and then organized into labeled blocks (probes, study, geometry, quality, background), which suits a 26-parameter tool. The parenthetical sprawl in the study and materials sections is dense and would be easier to scan as a list, but almost every line carries information an agent needs.

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?

Given the complexity and the presence of an output schema (so return values need no explanation), the description covers the essential decision points: which study mode, which geometry path, and how to handle long runs asynchronously. A handful of tuning parameters remain undocumented, which keeps it short of complete.

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 0% across 26 parameters, so the description carries the full burden and mostly succeeds: it explains probes, study modes, point_in_time payload shapes, shoebox geometry keys, materials override formats, quality tiers, views vectors, north_deg convention, and gridding. It leaves label, edge_offset_m, weekdays_only, dynamic_shading, da_threshold_lux, aperture_grouping, and ground_reflectance unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Daylight simulation by daylight coefficients') and names the engine, so the agent knows exactly what class of operation this is. It doesn't explicitly contrast with siblings such as compare_daylight_cases or en17037_sunlight, so it falls short of full sibling differentiation.

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 concrete selection guidance across study modes ('annual' needs epw_path, 'daylight_factor' needs no EPW, 'point_in_time' with an explicit payload) and across geometry ('shoebox (no Rhino)' vs Rhino guids). It also directs the agent to background=True with polling for long annual runs. It lacks explicit when-not-to-use-this-tool routing to alternatives.

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