---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/sunrise-sunset/use-cases/optimize-solar-energy/openclaw
---
# How to Optimize Solar Energy with OpenClaw

OpenClaw processes sunrise and sunset queries as automated data operations, returning precise times and complete twilight phase data in structured formats suitable for batch scheduling systems, solar energy forecasting pipelines, or construction site management platforms. It handles multi-location and multi-date queries efficiently in a single pass, making it the right tool for operational planning at scale where daylight availability drives scheduling decisions across many sites or dates.

## Setup

openclaw mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask OpenClaw: "Get sun hours for this location across seasons"
3. OpenClaw returns daylight data for analysis
4. Use to estimate solar energy production

## Example Prompt

```
Calculate sun hours for Austin, TX in summer versus winter. I am planning a solar installation.
```

## Tips

- Compare worst-case and best-case months for realistic ROI
- Use day length data alongside panel specs for production estimates
- Check multiple potential sites to find the best location
