Skip to main content
Glama

Study sunlight and shadows

cao_soleil
Read-only

WHEN a design decision depends on the SUN: how many hours of direct sunlight each window actually receives, where the building casts its shadow on the plot, and whether a neighbouring building or screen blocks the light. From the CAO scene, for the three dates that decide a project (21 June, 21 March, 21 December): sunrise, sunset, maximum altitude, the shadow at solar noon (area and outline), and per window the hours of sun with the first and last hour, its orientation and its azimuth. Obstacles are the building's own walls and roof plus any masques you declare. The site comes from georef (Lambert-93); without it Strasbourg is used and the answer says so. No solar gain in watts and no RE 2020 discomfort hours: those need a dynamic thermal engine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mursNoWalls: plan segments extruded vertically. Every coordinate in this whole scene is in MILLIMETRES, in a single plan frame whose origin you choose — X to the right, Y upward, Z up from the floor. Keep one consistent origin across murs/boites/plan: the generators never recentre anything for you.
planNo2D reference lines — drawn flat, never extruded and never counted in the quantities. Use them for axes, plot limits or setting-out marks.
anneeNoOptional year for the three reference dates.
boitesNoBoxes (furniture, volumes): a rectangular block placed by its CENTRE, not by a corner. Millimetres, same frame as murs[].
georefNoOptional Lambert-93 (EPSG:2154) false origin for IfcMapConversion. Local millimetres are scaled by 0.001 to CRS metres. Do not invent coordinates: omit est/nord if unknown (origin stays 0). orientation is the angle in degrees of project X from map East, counterclockwise.
cerclesNoCircles on the 2D plan, alongside plan[] lines: each has a centre and a radius, in the same unit as the plan. Use for round shapes a polyline would render badly — fillets, posts, manholes.
reseauxNoPlumbing pipe runs (EF/EC/EU/EV/EP/chauffage) — used only by cao_pdf (technical plan + linear-meter quantities per type).
nord_degNoDirection of north in the scene, in degrees clockwise from +y (0 means +y is north).
toituresNoRoofs — used only by cao_pdf. WITHOUT this field: a flat roof is auto-generated over the footprint of ALL walls (legacy default). WITH it: compose freely — each entry can target a subset of walls (via `murs`), letting you build an L-shaped building's roof, or add a dormer on top of a main roof.
plomberieNoSanitary fixtures (sink, WC, shower…) — used only by cao_pdf. Same positioning as electricite.
decorationNoPaint/finish per wall — used only by cao_pdf. Colors the elevations (exterior face) and the axonometric view (face auto-detected by orientation relative to the building's centroid).
ouverturesNoDoors/windows embedded in a wall — used only by cao_pdf (elevations + axonometric view), no effect on dxf/metres.
electriciteNoElectrical symbols (outlets, switches, lights…) — used only by cao_pdf (dedicated technical plan + quantities), no effect on dxf/metres/render. Position: attached to a wall (`mur`+`position`, like ouvertures) or free (`x`,`y`).
pas_minutesNoOptional time step of the computation, in minutes.
compositionsNoNamed wall/slab layer sets declared by the project. A key that matches an inferred kind (mur_exterieur, refend, cloison, plancher, toiture) or murs[].composition drops the Hypothese flag. Each value is {libelle, couches: [{cle, epaisseur?}]}. cle: enduit, bloc_beton, isolant, ba13, ossature, enduit_platre, beton_arme, tuile, charpente, etancheite. Omit epaisseur on the load-bearing layer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, yet the description adds real behavioral context: obstacles = own walls+roof plus declared masques, georef-driven site with a Strasbourg fallback that the answer announces, and a configurable time step. It notably does not describe the output format or runtime cost of a 15-parameter computation.

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 WHEN, then the returned quantities, then the caveats — a logical structure with no filler. The sentences are long and comma-dense, but nearly every clause carries decision-relevant information (inputs, outputs, limitations) rather than restating the title.

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?

For a 15-parameter, no-output-schema tool the description is unusually complete, enumerating the returned values (sunrise/sunset, max altitude, shadow area and outline, per-window hours with orientation and azimuth) and the limits. Minor gaps: the `masques` reference is not backed by a schema property, and result format/precision is unspecified.

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 100% schema description coverage the baseline is 3, but the description adds meaning beyond the schema: it explains that site/location comes from `georef` (Lambert-93), what happens when it is absent, and which params feed the computation (`annee`, `pas_minutes`, `nord_deg`). It references a `masques` input that does not appear in the listed schema properties, which weakens the mapping slightly.

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?

States a specific study (sunlight hours per window, shadow on plot, obstruction by neighbours) on a named resource (the CAO scene) across three fixed dates. It clearly distinguishes itself from solar-gain/RE2020 tools by declaring what it does NOT compute, so an agent can route correctly without opening a sibling schema.

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

Usage Guidelines5/5

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

Opens with the trigger condition (WHEN a design decision depends on the sun) and closes with an explicit when-not (no watts of solar gain, no RE2020 discomfort hours; those need a dynamic thermal engine), which steers the agent to a different tool. Both use and exclusion are stated, not implied.

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