Skip to main content
Glama
Almond MCP

Almond MCP

en17037_sunlight

Calculates EN 17037 direct-sun exposure hours at window reference points for chosen dates or ranges, accounting for altitude and obstructions, to support indicative daylight design checks.

Instructions

(BETA) EN 17037 exposure to sunlight: hours of direct sun on a reference point at the centre of each window (on its inside face) on month/day, with the sun above min_altitude_deg and not blocked by the building or its surroundings (every visible Rhino object, or geometry_guids, or a shoebox). Levels: >= 1.5 h minimum, 3 h medium, 4 h high. The standard uses a day between 1 February and 21 March and a minimum sun altitude that depends on the location: set min_altitude_deg to the value that applies (Almond's default 10). date_range=[[2, 1], [3, 21]] also scans every day in the range, reports each window's hours per day and the best day, and writes a chart. Windows: window_guids, or else the glazing that carries a window construction (assign_construction) when the model has any, or else every glazing object (check the list: glass objects inside the building would count too). Indicative design check, not a certification.

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": "en17037_sunlight"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo
labelNo
monthNo
shoeboxNo
epw_pathYes
north_degNo
date_rangeNo
window_guidsNo
geometry_guidsNo
min_altitude_degNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and destructiveHint=false; the description usefully adds that a chart file is written (consistent with the non-read-only hint) and that obstructions include every visible Rhino object, which is real behavioral context. It does not cover the cost/scale of a full date-range scan, nor what happens with the epw location resolution.

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 purpose is front-loaded in the first clause, but the text is one dense run-on block with heavy parenthetical nesting and no paragraph or bullet structure, making the window-selection fallback chain and the date_range behavior easy to miss. Nothing is outright redundant, but readability suffers.

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 an output schema exists and covers return values, the description supplies the missing domain context a 10-parameter analysis tool needs: the standard's thresholds (1.5/3/4 h), the assumed date window, the obstruction model, and the window-selection precedence. The unexplained north_deg and epw_path are the remaining gaps.

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 0% schema description coverage, the description carries the whole load and does so for most parameters: it explains day/month, min_altitude_deg, the nested date_range format, window_guids, geometry_guids and the shoebox alternative, plus the fallback chain for window selection. However north_deg, epw_path and label are never explained, and north_deg is materially important for a solar-exposure calculation.

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?

The description names a specific standard (EN 17037), a specific metric (hours of direct sun on a reference point at the inside face of each window), and a specific output (per-window hours, best day, chart). It never names or contrasts a sibling such as en17037_view_out or analyze_daylight, so an agent must infer that this is the sunlight-provision half of the standard rather than the view-out half.

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?

It gives substantive operational guidance: which day range the standard assumes (1 Feb – 21 Mar), that min_altitude_deg must be set to the location-specific value, and that date_range scans every day in the range and writes a chart. It also frames the result as an 'indicative design check, not a certification', which sets expectations. It stops short of saying when to pick this over the related daylight or view-out tools.

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