AI connector reference.
Toast Roll has a connector for AI assistants such as Claude or Muse. It lets an assistant read a wedding’s plan, budget and seating, and, if the couple allows it, change them. It is part of the Full wedding. This page lists everything the connector can do.
Connecting
- Private link. The couple creates a link in their dashboard and pastes it into the assistant. The link can read and change the wedding.
- Admin code. The assistant connects to
https://toastroll.com/mcpand sends the couple to a Toast Roll page. They enter their admin code, see the wedding’s names and date, and choose what to allow. They can disconnect at any time from the dashboard.
What a connection can be allowed to do
wedding:readlets the assistant use the read tools only.wedding:writelets it use every tool, read tools included.
If a read-only connection calls a write tool, it gets HTTP 403 insufficient_scope. The assistant can ask the couple to reconnect with changes allowed.
Tools
There are 21 tools. Times are minutes from midnight at the venue, and money is in minor units (cents) of the stated currency. An assistant never sees supplier emails, page links, admin codes, or photo, video and voice note files.
Read tools (6)
These only look. They change nothing.
get_wedding
Read · scope wedding:read
| Inputs | None |
|---|---|
| Output | The couple's names, date, venue, time zone, plan and album state. |
| Side effects | None. Nothing is changed. |
| Errors | On the Photos plan: the upgrade sentence shown under Errors in general. Otherwise only the general errors (connection expired or removed, too many calls). |
get_day_plan
Read · scope wedding:read
| Inputs | None |
|---|---|
| Output | Days, timeline items, suppliers (role, language, phone, call times, agreed price), notes, music cues, must-take photos, rules, checklist, and whether the last shift can be undone. Supplier emails and page links are never included. |
| Side effects | None. Nothing is changed. |
| Errors | On the Photos plan: the upgrade sentence shown under Errors in general. Otherwise only the general errors (connection expired or removed, too many calls). |
get_budget
Read · scope wedding:read
| Inputs | None |
|---|---|
| Output | Budget lines with planned and actual amounts, payments with due dates and paid status, receipt names, the home currency and exchange rates. |
| Side effects | None. Nothing is changed. |
| Errors | On the Photos plan: the upgrade sentence shown under Errors in general. Otherwise only the general errors (connection expired or removed, too many calls). |
get_seating
Read · scope wedding:read
| Inputs | None |
|---|---|
| Output | Tables (with seats and how many are seated), guests (with table id, or null if unseated), and rev. |
| Side effects | None. Nothing is changed. |
| Errors | On the Photos plan: the upgrade sentence shown under Errors in general. Otherwise only the general errors (connection expired or removed, too many calls). |
get_replay
Read · scope wedding:read
| Inputs | None |
|---|---|
| Output | Replay groups in display order with counts: the photos, videos and voice notes guests took, grouped under the day-plan moment they belong to. Full plan only. |
| Side effects | None. Nothing is changed. |
| Errors | On the Photos plan: the upgrade sentence shown under Errors in general. Otherwise only the general errors (connection expired or removed, too many calls). |
get_moment_media
Read · scope wedding:read
| Inputs | key, offset |
|---|---|
| Output | One Replay group, 60 items at a time: who uploaded each, its kind, when it was taken and how it was placed. Never photo, video or voice note files or their links. |
| Side effects | None. Nothing is changed. |
| Errors | An unknown group key: "Not found." (not_found, HTTP 404). Otherwise the same as the other read tools: the upgrade sentence on the Photos plan, connection expired or removed, too many calls. |
Write tools (13)
These change the plan, the budget or the seating. They never email anyone and never move money.
add_moments
Write · scope wedding:write
| Inputs | moments |
|---|---|
| Output | The ids of the new timeline items. |
| Side effects | Adds 1 to 200 timeline items to the day plan. |
| Errors | A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
update_moment
Write · scope wedding:write
| Inputs | id, day, start_min, len_min, title, place, outdoor, fixed, buffer, planb, planb_on, handover_from |
|---|---|
| Output | The saved timeline item. |
| Side effects | Changes the fields you send on one timeline item. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
delete_moment
Write · scope wedding:write
| Inputs | id |
|---|---|
| Output | { ok: true } once it is gone. |
| Side effects | Removes one timeline item with its supplier tasks and music cues; must-take photos on it stay, unlinked. Deletes it for good; the assistant is told to ask the couple first. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). |
add_supplier
Write · scope wedding:write
| Inputs | name, role, lang, phone, call_order, price_c, price_cur |
|---|---|
| Output | The new supplier's id. |
| Side effects | Adds a supplier and a budget line for them. If you send price_c, it becomes the budget line's actual amount, in price_cur or the wedding's home currency. The supplier's email cannot be set here and nobody is emailed. Once the wedding has 200 budget lines, the supplier is still saved but no budget line or price is added. |
| Errors | At most 40 suppliers (too_many_suppliers, HTTP 409). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
update_supplier
Write · scope wedding:write
| Inputs | id, name, role, lang, phone, call_order, price_c, price_cur |
|---|---|
| Output | The saved supplier. |
| Side effects | Changes the supplier's details, and the actual amount and currency of their budget line when you send price_c or price_cur. Email cannot be changed here. If the supplier has no budget line and the wedding already has 200, the price is not saved. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
delete_supplier
Write · scope wedding:write
| Inputs | id |
|---|---|
| Output | { ok: true } once it is gone. |
| Side effects | Removes one supplier: their page stops working, their call times and tasks go, and their budget line stays, unlinked. Nobody is emailed. Deletes it for good; the assistant is told to ask the couple first. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). |
add_budget_line
Write · scope wedding:write
| Inputs | title, category, cur, planned_c, actual_c, note |
|---|---|
| Output | The new budget line's id. |
| Side effects | Adds a budget line. |
| Errors | At most 200 budget lines (too_many_lines, HTTP 409). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
update_budget_line
Write · scope wedding:write
| Inputs | id, title, category, cur, planned_c, actual_c, note |
|---|---|
| Output | The saved budget line. |
| Side effects | Changes the fields you send on one budget line. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
delete_budget_line
Write · scope wedding:write
| Inputs | id |
|---|---|
| Output | { ok: true } once it is gone. |
| Side effects | Removes one budget line with its payments and receipt files. Deletes it for good; the assistant is told to ask the couple first. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). |
add_payment
Write · scope wedding:write
| Inputs | line_id, amount_c, label, due, paid |
|---|---|
| Output | The new payment's id. |
| Side effects | Records a payment on a budget line. It moves no money. |
| Errors | At most 20 payments on a budget line (too_many_payments, HTTP 409). An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
update_payment
Write · scope wedding:write
| Inputs | id, amount_c, label, due, paid |
|---|---|
| Output | The saved payment. |
| Side effects | Changes a payment, or marks it paid or unpaid. It moves no money. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). A rejected input comes back with the reason, for example "Enter a valid amount." (price_c, HTTP 400). |
delete_payment
Write · scope wedding:write
| Inputs | id |
|---|---|
| Output | { ok: true } once it is gone. |
| Side effects | Removes one payment record. It moves no money. Deletes it for good; the assistant is told to ask the couple first. |
| Errors | An id that is not in this wedding comes back as "Not found." (not_found, HTTP 404). |
update_seating
Write · scope wedding:write
| Inputs | rev, tables, guests, remove_ids |
|---|---|
| Output | A summary of what changed and the new rev. |
| Side effects | Saves the whole seating plan. Guests and tables listed in remove_ids are deleted; the couple can add them back. Anything missing and not in remove_ids is refused. |
| Errors | The plan changed since you read it: "Call get_seating again and redo the change." (seating_changed, HTTP 409). A plan that drops guests or tables without remove_ids, or has a bad table or seat count: refused with the reason (seating_rejected, HTTP 400). Too large to save (plan_too_large, HTTP 413). |
Sensitive write tools (2)
These email your suppliers, so each one takes two steps: a preview first, then the same call again with a confirm.
shift_plan
Sensitive write · scope wedding:write
| Inputs | moment_id, mins, confirm |
|---|---|
| Output | Without confirm: a preview of the moves, who would be emailed, and a one-time confirm value. With confirm: what moved, any clashes, and who was emailed. |
| Side effects | The preview changes nothing and sends nothing. With confirm it moves the item and everything after it (pinned items and items already in the past stay) and emails the suppliers whose pages are shared. The confirm works once, for ten minutes. |
| Errors | If the plan changed since the preview, or the confirm was already used or has expired: "The plan changed since the preview, or this confirm was already used or expired. Preview again." (plan_changed, HTTP 409). More than 30 confirmed shifts an hour per wedding are refused (HTTP 429). Past 150 supplier emails a day per wedding, the shift still happens but the emails are skipped. |
undo_shift
Sensitive write · scope wedding:write
| Inputs | confirm |
|---|---|
| Output | Without confirm: a preview of the restore and who would be emailed, with a one-time confirm value. With confirm: what moved back. |
| Side effects | The preview changes nothing and sends nothing. With confirm it restores the times from before the last shift and emails the suppliers whose pages are shared again. The confirm works once, for ten minutes. |
| Errors | "There is nothing to undo." (nothing_to_undo, HTTP 409), or the plan changed since the preview, or the confirm was used or expired (plan_changed, HTTP 409). Past 150 supplier emails a day per wedding, the undo still happens but the emails are skipped. |
Errors in general
A tool that fails returns a sentence and a code, in the form “Enter a valid amount. (price_c, HTTP 400)”, so the assistant can fix its input or tell the couple. A wedding that is not on the Full plan gets: “This wedding is on the Photos plan. The AI connector needs the Full wedding ($79, or $40 to upgrade). Unlock it in your Toast Roll dashboard.” The connection itself can also answer with:
- 401
invalid_token: the connection expired or was removed. The assistant refreshes it, or the couple connects again. - 403
insufficient_scope: a read-only connection called a write tool. - 404: an id or group that is not in this wedding (as a tool error), or a private link that is not recognized.
- 429: more than 1000 calls an hour for the wedding, or too many wrong private links from one network address.
Limits
- 1000 calls an hour per wedding, shared by the link and every connection.
- 150 supplier emails a day per wedding. Past that, shifts still happen and the emails are skipped.
- On the connect page, 10 wrong admin codes an hour from one network address, then it waits.
- Connection lifetime: access lasts an hour and is renewed automatically while the assistant is in use. If it goes unused for 30 days, or after a year at most, the couple connects again. Removing it in the dashboard stops it on the next call.
About the two-step shifts
The first call of shift_plan or undo_shift only previews, and nothing is emailed until the confirm call. The confirm works once, for ten minutes, and only if the plan is unchanged since the preview. Known limit: on clients with no approval prompt, the two calls can still be chained by the model without the couple seeing the preview. The server guarantees a preview exists and matches, not that a human read it.
Questions
Write to hello@toastroll.com.