Get Solar & Roof Analysis
get_solar_analysisWhat it returns
Two coupled analyses in one call:
Solar Potential — 20-year cost projection, payback timeline, energy coverage percentage, federal/state incentive estimate.
Roof Condition — AI roof condition score (0-10), condition category, material identification, damage indicators, and risk assessment, from AI analysis of aerial imagery.
When to use it
Pre-screen properties for solar installation viability.
Underwrite roof replacement cost for an investor offer.
Add a solar-readiness flag to a property report.
Performance
This is an expensive, slow endpoint — use a 90-second client timeout and cache responses.
Response shape
The response shape varies with the optional query parameters:
detailed=true— adds the rawsolar_potential.datablob and includes bothroof_image_urlandroof_image_base64inroof_condition.imagery.agent=false— setsroof_condition.analysistonull(skips the AI roof analysis).
If the roof image fails to upload to storage, roof_condition.imagery contains roof_image_base64 (raw base64 PNG) instead of roof_image_url. Individual entries in solar_layers may be missing if a particular data layer was unavailable for the address.
FAQ
Why is agent=true the default?
Without it, the roof condition section is skipped (you get solar potential only). The AI roof analysis is the expensive part but it's what makes the endpoint useful — leave it on unless you specifically need solar-only.
What if the building isn't covered?
Returns a clear error indicating imagery unavailable. Charges 0 credits in that case.
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": {
"address": "<address>"
},
"name": "get_solar_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Run the AI roof analysis. Default `true`. Set `false` to skip it (sets `roof_condition.analysis` to null). | |
| address | Yes | Full property address. | |
| detailed | No | Include the raw solar data blob + base64 roof image alongside the storage URL. Default `false`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||