{
  "name": "breaker1",
  "version": "0.1.0",
  "title": "Breaker1 Scheduling",
  "protocol": "mcp",
  "protocolVersion": "2025-06-18",
  "transport": "streamable-http",
  "endpoint": "https://ssesweekhcliexsnshum.supabase.co/functions/v1/mcp",
  "documentation": "https://breaker1.com/for-agents",
  "tools": [
    {
      "name": "find_user",
      "description": "Look up a Breaker1 host by their email address or @username. Returns their public booking URL, available meeting durations, whether the host requires approval, and supported video providers. Use this first to confirm someone is on Breaker1 before suggesting a meeting."
    },
    {
      "name": "get_availability",
      "description": "Return mutually-free meeting slots on a Breaker1 host's calendar between two dates, for a given meeting length. The host's working hours, time zone, buffers, travel buffer, protected midday time, blocked weekdays and existing bookings are already applied. Returns ISO-8601 UTC start/end times. These slots are the ONLY times create_booking and reschedule_booking accept - copy a returned start value verbatim instead of adjusting or inventing one."
    },
    {
      "name": "propose_times",
      "description": "Convenience tool: returns up to N mutually-free slots for a host across a date range, formatted as a short list an LLM can read aloud (\"Tuesday 2pm PT, Wednesday 10am PT, ...\"). Use this when a user says \"find a time with @matt next week\". For raw slots use get_availability instead."
    },
    {
      "name": "cancel_booking",
      "description": "Cancel an existing booking. Requires the booking_id and the guest_email it was originally booked under (acts as a lightweight ownership proof). Refused with agent_paused if the host has paused scheduling by outside agents. Sends a cancellation email to the guest and cleans up the host's calendar event."
    },
    {
      "name": "reschedule_booking",
      "description": "Modify an existing meeting by moving it to a new time. Requires the booking_id, the guest_email it was booked under, and a new start_iso that must currently be returned by get_availability. The new time is re-validated server-side against the same host rules as create_booking and can be refused (slot_not_available, blocked_day, daily_cap, protected_time, agent_paused); it can also come back 'pending' when the host requires approval. On success it releases the old slot, rebuilds the host's calendar event, and emails the guest the new time."
    },
    {
      "name": "create_booking",
      "description": "Book a meeting on a Breaker1 host's calendar. Returns booking_id and status ('confirmed', or 'pending' when the host requires approval - a pending meeting is not on the calendar until the host approves it). The host's rules override the instructions you were given: the requested time is re-checked on the server and refused with slot_not_available if it is not currently an open slot, and the host's blocked days, daily meeting cap, protected midday time and 'pause outside agents' switch can refuse it (blocked_day, daily_cap, protected_time, agent_paused). After a refusal, call get_availability again or point the user at the host's booking link - do not retry the same time."
    },
    {
      "name": "search",
      "description": "ChatGPT/Claude connector search. Find Breaker1 hosts matching a free-text query (name, @username, or email). Returns a list of result objects with `id`, `title`, and `url` - pass the `id` to `fetch` to load the full host profile with open time slots. Use this as the entry point when a user says something like \"find <person> on breaker1\" or in ChatGPT deep-research mode."
    },
    {
      "name": "fetch",
      "description": "ChatGPT/Claude connector fetch. Given an `id` returned by `search` (e.g. `user:matt`), return a compact document describing that Breaker1 host: display name, bio-style summary, meeting durations they offer, whether they require approval, their public booking URL, and the next few mutually-free time slots. Use this after `search` to answer questions like \"when is @matt free?\"."
    },
    {
      "name": "my_upcoming_meetings",
      "description": "AUTHENTICATED. Returns upcoming confirmed bookings on the signed-in Breaker1 host's calendar (their own perspective, not a guest's). Requires an OAuth Bearer token issued by Breaker1. Use this when the user says \"what's on my calendar this week\" from ChatGPT/Claude."
    },
    {
      "name": "my_pending_approvals",
      "description": "AUTHENTICATED. Returns booking requests waiting for the signed-in host to approve or decline. Requires an OAuth Bearer token issued by Breaker1."
    },
    {
      "name": "approve_booking",
      "description": "AUTHENTICATED. Approve a pending booking request as the signed-in host. Confirms the booking, creates the calendar event, and notifies the guest."
    },
    {
      "name": "decline_booking",
      "description": "AUTHENTICATED. Decline a pending booking request as the signed-in host. Notifies the guest."
    },
    {
      "name": "cancel_my_booking",
      "description": "AUTHENTICATED. Cancel any booking on the signed-in host's calendar (host-side cancel - no guest_email required). Sends a cancellation email to the guest."
    }
  ]
}