Skip to main content
Glama
akontadakis
by akontadakis

annual_nvrd

Computes annual light-driven alertness (nvRD) metrics from EPW weather data, simulating daylight and spectral sky to output R_D and cumulative values for faithful and enhanced reconstructions.

Instructions

Annual light-driven alertness (nvRD R_D) straight from weather (spec §5.1). LONG-RUNNING.

EPW -> Daysim sub-hourly .wea -> colored 2-phase DDS (sky & sun separate) -> per-timestep dual reconstruction (faithful flat + neutral sun; enhanced reference sky + air-mass colored sun) -> nvRD twice -> {faithful:{R_D,RD_cum}, enhanced:{R_D,RD_cum}, divergence, RD_series_divergence}. R_D is RELATIVE only. SINGLE reference point+view per run. reconstruction={both|faithful|enhanced} (default both). timestep_min default 6 (0.1 h). run=False emits the full Daysim+Radiance command plan — but channel_scenes and points are required for BOTH the live and emit paths (the plan is built from the actual per-channel scene transport, not from point_xyz/view_vec alone). points: inline [x,y,z,dx,dy,dz] rows OR a .pts path (a list is materialized to a .pts under work_dir, same contract as run_annual). physical_sky (opt-in): shape the enhanced reconstruction with the physical EPW-derived per-timestep sky/sun spectra instead of templates; default off. engine: spectrl2 (default) | smarts (requires SMARTSPATH); only used when physical_sky=True.

Site location is read from the EPW itself (converted to DAYSIM convention by the Daysim adapter); the tool takes no caller-supplied coordinates, so wrong-convention coordinates cannot silently corrupt the solar geometry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
epwNo
runNo
engineNospectrl2
pointsNo
qualityNo
sky_cctNo
view_vecYes
work_dirNo
point_xyzYes
rad_paramsNo
channel_typeNo
physical_skyNo
sun_spectralNocolored
timestep_minNo
channel_scenesNo
reconstructionNoboth
sky_reconstructionNoreference

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses multiple behavioral traits: the pipeline is 'LONG-RUNNING', R_D is 'RELATIVE only', the tool reads site location from the EPW itself to prevent coordinate convention errors, and it explains the difference between live and emit paths (including required parameters for both). It also details the engine dependency on SMARTSPATH when physical_sky=True, and the default behavior of reconstruction.

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?

The description is a dense block of text but every sentence carries technical value. It front-loads the core purpose and then systematically covers the pipeline, outputs, and parameter semantics. It could be broken into bullet points for easier parsing, but it is not redundant or padded. Given the tool's complexity (17 parameters), the length is justified, though slightly intimidating.

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 tool with 17 parameters and a detailed output schema, the description covers all essential aspects: the full computation chain, output structure (faithful/enhanced R_D and RD_cum, divergence), parameter behaviors, prerequisites (points and channel_scenes), and safety note about coordinates. The output schema exists, so return values are presumably documented there, and the description even outlines them. Nothing critical is missing for an agent to call this tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate fully. It does: it explains reconstruction values, timestep_min default and resolution, the points parameter format (inline or .pts path), the physical_sky opt-in and its engine requirement, the run flag's behavior, and the channel_scenes requirement. This adds substantial meaning beyond the raw 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?

The description opens with a clear statement of purpose: 'Annual light-driven alertness (nvRD R_D) straight from weather (spec §5.1)'. It then details the exact pipeline and output structure, distinguishing it from generic annual simulation tools. The mention of 'SINGLE reference point+view per run' and the reconstruction options further specify scope, making it clear what this tool does and what it does not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides constraints (e.g., 'SINGLE reference point+view per run', 'run=False emits the full Daysim+Radiance command plan') but does not explicitly state when to use this tool over siblings like run_annual or nvrd. It implies usage through the detailed pipeline but lacks explicit exclusions or alternative routing, so guidance is left to inference.

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