Skip to main content
Glama

Page Lemon

Act on messages and bookings

update_plugin_data
Destructive

Act on plugin items (editor): mark messages (read, new, spam, not_spam, archive, bin, restore; read also takes get_account notice ids nt_… or all, only when the user asks) or a booking (add, edit details, approve, decline, cancel, reschedule, no_show, complete); decline, cancel, reschedule and an add or edit that emails the customer are two-step (confirm_token, then repeat).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoWith action read: every notice (yours) or every new item of that kind, optionally on one site
nameNo
siteNoNot needed for notice ids or all
emailNo
forceNoBooking add, edit (party), reschedule: book even if it clashes
notesNo
partyNo
phoneNo
startNoBooking add, reschedule: local "2026-10-15T14:00" (booking time zone) or "now"
actionYes
seriesNoBooking add: weekly repeat, count or until (YYYY-MM-DD); a 409 lists clashes (on_clash "skip", or force). Cancel: "rest" = this and later
sourceNoBooking add (default phone)
answersNoBooking add, edit: {question id: answer} for the settings' questions ("" removes one)
messageNoBookings: a note for the customer (reason)
serviceNoBooking add: service id or name
item_idsNoFrom list_plugin_data, or notice ids (nt_…) from get_account; one id for bookings; none for booking add
resourceNoBooking add, reschedule: staff or room id or name (default any free)
plugin_idNoNot needed for notice ids or all
confirm_tokenNoFrom the first call, once the user said yes
notify_customerNoBooking: email the customer (default true when there is an email)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoOn failure (isError): {code, message}
agent_messageNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources