Skip to main content
Glama
Almond MCP

Almond MCP

analyze_solar_radiation

Calculates incident solar irradiation and direct-sun hours on roofs, facades, and ground over a year or selected period, including shading and reflections, and returns monthly totals and PNG maps.

Instructions

(BETA) Incident solar irradiation (kWh/m2) and direct-sun hours on surfaces - roofs, facades, ground, a site - over the year or a period (months e.g. [6,7,8]; hours [start, end] local standard time). Perez cumulative sky by daylight coefficients plus the sun traced hourly, with every object in the model shading and (bounces >= 1, the default) reflecting - modelled ground and neighbours included; bounces=0 counts direct sky and sun only. Sensors sit offset_m off each surface, on the side that faces open sky. Geometry: grid_guids (+ geometry_guids, default all visible) in Rhino, or shoebox={...} (sensors on its glazed facade, no Rhino). Returns per-month means, totals and PNG maps; draws in Rhino when show_in_rhino. 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_solar_radiation"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNo
labelNo
monthsNo
bouncesNo
qualityNodraft
shoeboxNo
epw_pathYes
offset_mNo
materialsNo
north_degNo
backgroundNo
grid_guidsNo
show_in_rhinoNo
geometry_guidsNo
grid_spacing_mNo
ground_reflectanceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false with destructive=openWorld=false, so the description must carry the real behavioral burden, and it does: every object shades the analysis, bounces>=1 adds inter-reflection, ground and neighbours are modelled, sensors are placed offset_m off the sky-facing side, and the study draws into Rhino when show_in_rhino. It also discloses the asynchronous contract, returning a job_id immediately with a named polling tool, which is exactly the kind of side effect an agent cannot learn from the annotations.

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?

Content is dense and front-loaded: what it computes, then physics, then geometry inputs, then outputs, then the async escape hatch. Nothing is filler. It is a single long paragraph riddled with parentheticals, which makes the geometry-source and job-mode distinctions harder to scan than a short structured list would be.

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 complex multi-mode simulation the description covers the two geometry paths, the physics switches, the output shape (per-month means, totals, PNG maps) and the long-running job pattern with its polling sibling. Combined with an existing output schema, the remaining gap is parameter documentation rather than missing model behavior.

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

Parameters3/5

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

With 0% schema description coverage the description must define all 16 parameters, and it gives real meaning for months, hours (local standard time), bounces/default, offset_m placement, geometry_guids defaulting to all visible, shoebox, show_in_rhino and background. It leaves quality ('draft'), north_deg, grid_spacing_m, ground_reflectance, materials and label entirely undefined, and those are consequential for a radiation study, so the compensation is only partial.

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 opens with a specific verb-and-resource pairing: incident solar irradiation (kWh/m2) plus direct-sun hours on named surface types (roofs, facades, ground, site), over a year or a chosen period. That is far more informative than the name alone. It stops short of 5 because it never contrasts itself with the solar-adjacent siblings (analyze_daylight, en17037_sunlight, climate_summary), so an agent must infer the boundary from those tools' own descriptions.

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?

Several concrete when-to-use rules are given: background=True is recommended for annual studies on real models because they may exceed client timeouts, bounces=0 is for direct sky and sun only versus the default reflecting model, and the shoebox path is for the no-Rhino case while grid_guids is the Rhino path. Guidance is clear but there are no exclusions against the sibling solar/daylight tools, so tool selection within the family 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.

Deploy Server

Other Tools