mcp-server
v0.2.0Model Context Protocol server for the Sweap Core API (beta)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_events Get events
List events with their name, timeframe, state and location. Start here: most other tools need an eventId, which this returns. Contains no personal data. Narrow the result with nameContains, state or a date filter rather than paging through everything.
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
endDateAfter | string | Only events ending at or after this ISO 8601 UTC timestamp. |
endDateBefore | string | Only events ending at or before this ISO 8601 UTC timestamp. |
eventTagId | string | Filter by event tag UUID. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by event UUID. Prefer get_event_by_id when you already have the id. |
name | string | Filter by exact event name (case-insensitive). |
nameContains | string | Filter by events whose name contains this text (case-insensitive). |
page | integer | Zero-based page number. The first page is 0. Default 0. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
startDateAfter | string | Only events starting at or after this ISO 8601 UTC timestamp. |
startDateBefore | string | Only events starting at or before this ISO 8601 UTC timestamp. |
state | string | Filter by lifecycle state. DRAFT is still editable, ACTIVE is live, ARCHIVED has ended. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
visibilityGroupId | string | Filter by visibility group UUID. |
get_event_by_id Get event by ID
Get one event in full, including its custom field definitions, location, visibility groups and tags. Use get_events first if you do not have the id. Contains no personal data.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the event. |
get_event_statistics Get event statistics
Aggregate attendance counts per event: guestCount, acceptedCount, declinedCount, noReplyCount, noneCount, checkinCount and attendeeCount. Use this for reporting instead of counting guests yourself - it is one call and returns no personal data. A statistics record shares its id with its event. The counts are precomputed, not live occupancy. Two are easy to confuse: attendeeCount is how many people were present - a guest or named companion once, though each arrival of a guest with unnamed companions counts as one - and does not drop when someone checks out. checkinCount counts CHECK_IN records,…
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by the statistics record UUID, which equals the event UUID. |
maxAcceptedCount | integer | Only events with at most this many acceptances. |
maxAttendeeCount | integer | Only events with at most this many attendees. |
maxCheckinCount | integer | Only events with at most this many check-ins. |
maxDeclinedCount | integer | Only events with at most this many declines. |
maxGuestCount | integer | Only events with at most this many guests. |
maxNoReplyCount | integer | Only events with at most this many guests who have not replied. |
minAcceptedCount | integer | Only events with at least this many acceptances. |
minAttendeeCount | integer | Only events with at least this many attendees. |
minCheckinCount | integer | Only events with at least this many check-ins. |
minDeclinedCount | integer | Only events with at least this many declines. |
minGuestCount | integer | Only events with at least this many guests. |
minNoReplyCount | integer | Only events with at least this many guests who have not replied. |
page | integer | Zero-based page number. The first page is 0. Default 0. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
get_event_statistic_by_id Get event statistic by ID
Get the attendance counts for one event. The statistics id is the same UUID as the event id, so pass the event's id here. Returns no personal data. Note attendeeCount is how many people were present - a guest who later checked out still counts - while checkinCount counts CHECK_IN records only, excluding CHECK_OUT and companions, and is higher when a guest is scanned in more than once. noneCount is the guests not yet invited, so guestCount = acceptedCount + declinedCount + noReplyCount + noneCount.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the event whose statistics you want. |
get_event_arrivals Get event arrivals
When people arrived at one event: the number of CHECK_IN scans per 15-minute bucket, in the event's own timezone, computed by the server from every check-in record. The bucket size is fixed; for half hours or hours, add up neighbouring buckets. Returns counts only, no guest ids, device names or individual times, so it is available at every data scope. Use it instead of paging through get_checkins for an arrival curve or peak. Buckets with fewer than 5 scans are left out to avoid singling anyone out, so a gap is not zero. Counts are scans, not people: a guest with unnamed companions is scanned…
| Parameter | Type | Description |
|---|---|---|
eventId * | string | UUID of the event. Get it from get_events. |
get_categories Get categories
List the guest categories defined for one event, such as ticket types or attendee groups. Requires an eventId - get it from get_events. Categories are configuration, not personal data; a guest's categoryId points here.
| Parameter | Type | Description |
|---|---|---|
eventId * | string | UUID of the event whose categories you want. Required. |
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by category UUID. |
name | string | Filter by exact category name (case-insensitive). |
nameContains | string | Filter by categories whose name contains this text. |
page | integer | Zero-based page number. The first page is 0. Default 0. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
get_category_by_id Get category by ID
Get one guest category by id. Useful to resolve a guest's categoryId into a readable name. Returns no personal data.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the category. |
get_event_tags Get event tags
List the tags used to group and label events. Resolve an event's eventTagIds into names with this, or find a tag's id to filter get_events. Returns no personal data.
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by tag UUID. |
internal | boolean | Filter by the internal flag: true returns only internal tags. |
name | string | Filter by exact tag name (case-insensitive). |
nameContains | string | Filter by tags whose name contains this text. |
page | integer | Zero-based page number. The first page is 0. Default 0. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
get_event_tag_by_id Get event tag by ID
Get one event tag by id. Returns no personal data.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the event tag. |
get_visibility_groups Get visibility groups
List visibility groups, which control who inside the organization can see an event. Use this to resolve an event's visibilityGroupIds into names. Returns no personal data.
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by visibility group UUID. |
name | string | Filter by exact group name (case-insensitive). |
nameContains | string | Filter by groups whose name contains this text. |
page | integer | Zero-based page number. The first page is 0. Default 0. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
get_visibility_group_by_id Get visibility group by ID
Get one visibility group by id. Returns no personal data.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the visibility group. |
get_registration_pages Get registration pages
List event registration pages with their public URL, registration code, guest cap and closing date. Returns page configuration only, no registrant data. Needs the registration_pages_read role, which is not in the default API license - if it fails with error 4031, that role is missing.
| Parameter | Type | Description |
|---|---|---|
createdAfter | string | Only records created after this ISO 8601 UTC timestamp. |
eventId | string | UUID of the event whose registration pages you want. |
externalId | string | Filter by exact externalId (case-sensitive). |
id | string | Filter by registration page UUID. |
name | string | Filter by exact page name (case-insensitive). |
nameContains | string | Filter by pages whose name contains this text. |
page | integer | Zero-based page number. The first page is 0. Default 0. |
registrationClosedDateAfter | string | Only pages closing at or after this ISO 8601 UTC timestamp. |
registrationClosedDateBefore | string | Only pages closing at or before this ISO 8601 UTC timestamp. |
size | integer | Records per page, 1-1000. Default 25. Keep this small unless you need every record. |
sortBy | string | Field to sort by. Default createdAt. |
sortOrder | string | Sort direction. Default DESC. |
updatedAfter | string | Only records updated after this ISO 8601 UTC timestamp. Use this for incremental syncs. |
get_registration_page_by_id Get registration page by ID
Get one registration page in full, including its publishing details. Returns page configuration only, no registrant data. Needs the registration_pages_read role, which is not in the default API license.
| Parameter | Type | Description |
|---|---|---|
id * | string | UUID of the registration page. |
verify_connection Verify connection
Check that the configured Sweap API credentials work, and report which roles they carry. Use this first when another tool fails with an authentication or permission error, to tell a bad credential apart from a missing role. Takes no arguments and changes nothing.
get_guest_custom_field_definitions Get guest custom field definitions
Get the schema of an event's guest custom fields: each field's id, name, type and available options. Call this before reading or writing a guest's customFields, because those are keyed by field id rather than by name - without these definitions a guest's custom field values are unreadable. Returns event configuration only: no guest values and no personal data, so it is available at every data scope.
| Parameter | Type | Description |
|---|---|---|
eventId * | string | UUID of the event whose guest field definitions you want. |
get_contact_custom_field_definitions Get contact custom field definitions
Get the schema of the address book's contact custom fields: each field's id, name, type and options. Call this before reading or writing a contact's customFields, which are keyed by field id. Returns account-level configuration only: no contact values and no personal data, so it is available at every data scope.