How to Use Beach Condition Data with Copilot
Integrate beach condition data into your application with Copilot and ToolRouter.
ToolOcean & TidesCopilot brings structured beach condition data into your development environment for building travel apps, outdoor activity platforms, or local authority information services. The consistent data schema makes it straightforward to build beach finder features with live condition badges.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Ocean & Tides tool:
- In Copilot Chat: "Get beach conditions at Tenby using ocean-data"
- Copilot returns structured condition data with safety and facility fields
- Ask: "Generate a TypeScript interface for the beach condition response"
- Request: "Write a React component that displays this data as a beach safety card"
Example Prompt
Try this with Copilot using the Ocean & Tides tool
Fetch beach conditions for five beaches along the Yorkshire coast and return as JSON. Include flag status, water quality, and lifeguard hours for each.
Tips
- Cache conditions with a 1-hour TTL — beach status updates regularly but not continuously
- Use flag status as a primary filter for "safe to swim" features in your UI
- Combine with geolocation to surface the nearest beach with green flag status