{"name":"Sequel MCP Server","version":"1.0.0","protocol":"MCP (Model Context Protocol)","description":"Access Sequel webinar transcripts for content generation","endpoints":{"main":"POST /api/mcp (JSON-RPC 2.0)","initialize":"POST /api/mcp with method: 'initialize'","toolsList":"POST /api/mcp with method: 'tools/list'","toolsCall":"POST /api/mcp with method: 'tools/call'"},"tools":[{"name":"list_companies","description":"Returns the list of companies the authenticated user belongs to. Use the returned company IDs to scope calls to list_events, get_lead_engagement, and get_company_analytics."},{"name":"list_events","description":"Returns events for a company sorted by start date (most recent first). Includes past, live (currently running), and upcoming events.\n\nTo find an event the admin named, pass the distinctive words as `query`. Companies can hold tens of thousands of events, so paging with `offset` is unlikely to reach it.\n\nOptionally filter by status: 'past', 'live', or 'upcoming'. With a status filter, the company's matching summits come first (most recent first), then its other events; `offset` and `limit` count both. Use the returned event IDs with get_event_participants or get_lead_engagement.\n\nEach event carries `adminUrl`, its page in the admin, unless no admin host is configured. When someone asks for a link to an event or to its settings, give `adminUrl` as a markdown link on the event's name, e.g. [Q4 Webinar](adminUrl). Never build an admin link yourself, and when `adminUrl` is missing say you can't link to it.\n\nRequires a role with the `event:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_event","description":"Returns detailed metadata for a specific webinar event.\n\nThe response includes the event name, identifier, dates, timezone and status, plus the current state of every tab the update tools edit: `location`, `picture`, `languages`, `recurring`, `cmsEventType`, `cmsCustomFields`; `registration` (the Registration-tab settings and `questions` — each with its `id`, type, required/hidden flags, `defaultValue` (what a hidden question records — e.g. the built-in Event Name field's value), options, CRM picklist mapping and a readable `showWhen` rule — the ids `update_event_registration` operations refer to); `certification`; `widgetSettings`; `embed`; and, for a summit, `summitEventSettings` plus its `tracks` (each with the `id` the summit track tools take). Read it before proposing a change so the admin sees a real before/after. `adminUrl` is the event's page in the admin, absent when no admin host is configured. When someone asks for a link to the event or to its settings, give it as a markdown link on the event's name, e.g. [Q4 Webinar](adminUrl). Never build an admin link yourself, and when `adminUrl` is missing say you can't link to it.\n\nThis endpoint is read-only and only returns data for events accessible to the authenticated user.\n\nRequires a role with the `event:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_event_assets","description":"Returns recording metadata for a webinar event, including SRT and VTT transcript file references. An event with no recording of its own answers the video set as its on-demand replay, when it has one. For a summit or series container (kind summit_parent / series_parent) the container itself has no recording: the response expands to every session's recordings, each tagged with `sessionId` / `sessionName`, plus a `sessions` list — repurpose each session's recording separately.\n\nThe response includes a media identifier and duration for each recording. Use the returned event identifier with get_event_srt_chunks to retrieve paginated transcript text.\n\nThis endpoint is read-only and only returns assets for events accessible to the authenticated user.\n\nRequires a role with the `event.media:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_event_srt_chunks","description":"Returns paginated transcript text extracted from a webinar event's SRT transcript file.\n\nTranscript content is cleaned and processed to remove personally identifiable information (PII) before being returned. Each chunk contains `paragraphs`, and every paragraph carries `startSeconds`/`endSeconds` marking when it was said in the recording.\n\nThis endpoint is read-only and only returns transcript data for events accessible to the authenticated user.\n\nRequires a role with the `event.media:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_event_participants","description":"Returns a specific event's participants: registration status (registered, invitation-sent, approval-required, declined, rejected, waitlisted, approved), role (host, presenter, attendee), blocked flag, and custom registration answers. A page (`{ pagination, participants }`) carries `sessions`, custom answers and `utmParams` only when `include` names them.\n\nWhen the event has ended, the response also includes per-person engagement metrics: live watch time and on-demand watch time in whole minutes (liveTimeMinutes, onDemandTimeMinutes), chat message count, poll votes, questions asked, circles joined, and each person's join/leave sessions — use them for exact entry and exit times (e.g. CPE attendance).\n\n`sessions` lists each continuous stretch of watching, oldest first: `viewType` (Live or OnDemand), `joinedAt` (the exact entry time, ISO-8601 UTC to the second), `leftAt` (when the viewer was last seen; the real exit can be up to 60 seconds later) and `minutes` (minutes watched in that session). A gap of more than 3 minutes between pings starts a new session, so two sessions mean the lead left and came back. Live and OnDemand sessions are separate and can overlap. `sessionCount` is the exact number of sessions (the list keeps only the newest 200) and `rejoinCount` is how many times the lead came back (sessionCount - 1). Events aggregated before sessions were recorded have no `sessions` fields — never infer entry or exit times for them.\n\nRequires a role with the `event.participants:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_lead_engagement","description":"Returns detailed engagement data for a specific lead (identified by email + companyId).\n\nWithout eventId: returns the full aggregated lead profile — lead score, enrichment data (company, job title, LinkedIn), event activity summary, engagement counts, website activity, pre-computed timeline of all interactions, and AI intelligence (story, follow-up recommendation, key moments, topics of interest, persona, intent summary).\n\nWith eventId: returns per-event engagement only — watch time in whole minutes (liveTimeMinutes, onDemandTimeMinutes), chat, polls, questions, and the lead's join/leave sessions.\n\n`sessions` lists each continuous stretch of watching, oldest first: `viewType` (Live or OnDemand), `joinedAt` (the exact entry time, ISO-8601 UTC to the second), `leftAt` (when the viewer was last seen; the real exit can be up to 60 seconds later) and `minutes` (minutes watched in that session). A gap of more than 3 minutes between pings starts a new session, so two sessions mean the lead left and came back. Live and OnDemand sessions are separate and can overlap. `sessionCount` is the exact number of sessions (the list keeps only the newest 200) and `rejoinCount` is how many times the lead came back (sessionCount - 1). Events aggregated before sessions were recorded have no `sessions` fields — never infer entry or exit times for them.\n\nRequires a role with the `audience-insights.analytics.individual-activity:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_company_analytics","description":"Returns high-level usage analytics for a company. Includes lifetime totals (live minutes, on-demand minutes, unique users, event counts) broken down by event type. When startDate and endDate are provided, also returns aggregated stats for that date range.\n\nRequires a role with the `analytics:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_event_insight","description":"Returns an at-a-glance performance summary for a single event — registrants, live, on-demand, unique live-or-on-demand, engagement, and the matching rates. Use it when the user asks how an event did. Like the event dashboard, the numbers include the event's own hosts and presenters (`hostsAndPresenters` says how many); pass `excludeHostsAndPresenters: true` only when the user asks to leave them out. Counts (`attendedLive`, `watchedOnDemand`, `watchedLiveOrOnDemand`, `engaged`) include viewers who never registered (`nonRegisteredViewers`); rates are over registrants: `attendanceRate` = registrants who watched live, `onDemandRate` = registrants who watched on-demand, `totalConversionRate` = registrants who watched live OR on-demand. Live and on-demand overlap (`watchedBoth`) — NEVER add `attendedLive` and `watchedOnDemand`; quote `watchedLiveOrOnDemand` / `totalConversionRate` for \"live + on-demand\". `engagementRate` is the share of LIVE attendees who chatted, answered a poll or asked a question — not a share of registrants (`engaged` also counts anyone who interacted on-demand). `daysSinceEnd` is how long the replay has been available: on-demand numbers keep growing, so compare on-demand across events of similar age. When combining several events, add `registered` and the `registeredAttendedLive` / `registeredWatchedOnDemand` / `registeredWatchedLiveOrOnDemand` counts and recompute the rates from those sums; never average rates. `summary` states all of this in one paragraph. Given a summit or series container id it folds every session in (registrations live on the container, attendance and engagement on the sessions; one person counts once) and adds a per-session `sessions` breakdown — so a summit's attendance is read from the summit id, never added up from its sessions, which would count people who joined several sessions more than once. For a single event, `reactions` (when the audience sent live reactions) has their `total`, `byType`, and `peaks`: the busiest 10-second moments, busiest first, each with `offset` (H:MM:SS into the recording, from `recordingStartedAt`), `total`, `byType` and `topReaction`. Use the peaks to say when the audience reacted most, and as moments worth clipping; `offset` is null for reactions sent before the stream started.\n\nRequires a role with the `event.analytics:view` permission in the company (Settings → Roles & Permissions)."},{"name":"search_leads","description":"Search and filter leads (Audience Insights) at the company level. Returns paginated lead records with score, engagement metrics, enrichment data (company, job title, LinkedIn), event activity, and AI intelligence summary. Sorted by lead score descending. Use this to find top leads, filter by activity date range, specific events, lead score threshold, or search by name / email / company / job title.\n\nRequires a role with the `audience-insights.analytics.top-leads:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_lead_intelligence","description":"Deep-dive into the full AI intelligence for a specific lead. Use this after finding a lead via search_leads when you need the granular detail that search_leads doesn't return: the key moments activity timeline (each event attended, page visited, poll answered — with timestamps), the specific website pages they visited, and the AI reasoning behind the summary (facts, deductions, evidence). For browsing summaries across many leads, use search_leads with hasIntelligence: true instead.\n\nRequires a role with the `audience-insights.analytics.intelligence:view` permission in the company (Settings → Roles & Permissions)."},{"name":"get_top_accounts","description":"Returns the top accounts (companies) for a Sequel company, mirroring the Audience Insights → Top Accounts table. Each record represents an identified prospect company with aggregated metrics across all their leads: total score, lead count, average lead score, event attendance, engagement actions, website activity, and AI strategic fit score. Sorted by total company score descending by default. Supports search and pagination.\n\nRequires a role with the `audience-insights.analytics.top-accounts:view` permission in the company (Settings → Roles & Permissions)."},{"name":"search_help_articles","description":"Searches Sequel's public help articles (help.sequel.io) for how the product works: where a setting is, how to do something by hand, what a feature does. Pass 2 to 6 keywords from the question (e.g. `download`, `registrants`, `csv`), never the whole question. Returns up to 8 articles, each with a link and a snippet. Read the best match with `read_help_article` before answering. An article never knows this company's own events or links."},{"name":"read_help_article","description":"Returns one of Sequel's public help articles as markdown, by the `identifier` that `search_help_articles` returned. Give the person the steps it describes, credited to the article, with its `link`."}],"status":"initialized","authentication":{"type":"JWT (Auth0)","required":true,"header":"Authorization: Bearer <token>"},"documentation":"https://github.com/your-repo/mcp"}