issues getting mcp to connect to ghl. authorized ...
# support
g
callId: 5d47e9a0-e99d-4bc7-9451-d890269a1dd0
c
Please use this in your assistant prompt to calculate and format the date correctly for GHL API: When calling get_free_slots: STEP 1: Calculate target date from user request - "Tuesday at 3 PM" → May 27, 2025 STEP 2: Convert to epoch milliseconds for full day - startDate: May 27, 2025 at midnight (beginning of day) - endDate: May 27, 2025 at 11:59:59 PM (end of day) STEP 3: Call tool with calculated values - calendarId: "w02SZbEtgyKbXHfr9l2O" - timeZone: "Pacific/Auckland" - startDate: 1748284200000 (13-digit number for May 27 start) - endDate: 1748370599999 (13-digit number for May 27 end) CRITICAL: Always calculate new timestamps. Never reuse 1717036800000 or other old values.
4 Views