name: pwg-hours description: "Look up PWG hours for today. Automatically called by /good-morning and /scheduler when scheduling workouts."
PWG Hours Lookup
Data Source
https://recreation.yale.edu/pwghours
Use WebFetch to scrape and extract today's applicable opening hours.
Use Cases
- /good-morning: Get today's PWG hours, display in the workout section, write to journal
- /scheduler: When scheduling a workout event, check if PWG is open during the target time slot
- When the user directly asks about PWG hours
Gym Selection Logic
The user has two gyms:
| Gym | Hours | Equipment | Priority |
|---|---|---|---|
| PWG | See website, changes during holidays/recess | Full equipment (weights + cardio + pool + squash) | Primary |
| Home | 24h | Cardio only | Backup |
Scheduling rules:
- Default recommendation is PWG (full equipment)
- If PWG is closed or closing soon at the target time (< 30min buffer) → Recommend home cardio
- If the user's plan is pure cardio (running, cycling, etc.) → Can recommend home to save commute time
- If PWG has limited weekend hours (e.g., 10am-2pm during recess) → Remind the user to go early or switch to home
- When displaying, annotate:
💪 16:00-17:30 Workout @PWGor💪 20:30-21:30 Cardio @Home
Output Format
In the /good-morning workout section:
💪 PWG open today: 6am-8pm (Spring Recess)
Suggestion: 16:00-17:30 @PWG
In the journal's Today's Plan, also annotate the location:
16:00-17:30 💪 Workout @PWG