Royal Caribbean Guest Care · MCP server

This app is the system of record for the Royal Caribbean demo: guests and Crown & Anchor status, reservations and add-ons, cross-channel auth sessions, callbacks, texts and escalation cases. Decagon reaches it through one MCP server (synced as native mcp_ tools). Every console view polls the same data, so each tool call shows up here turn by turn.

Connect Decagon

MCP URL
Transport Streamable HTTP, JSON-RPC 2.0 (initialize, tools/list, tools/call)
Auth None. Synthetic demo data only.
Tool catalog
  1. Decagon → Build → Integrations → MCP → add the URL above, then Sync. Tools appear as mcp_<name>.
  2. Re-sync whenever a tool's name or arguments change; review the diff before applying (sync overwrites local edits to synced tools).
  3. Callback: Decagon places the call itself. start_voice_callback returns dial details and the call_guest_back coded tool runs Conversation.schedule_mission_run. The app holds no Decagon API key; Admin → Settings only needs the campaign ID and Decagon number. MyPhone signs headless chat through /api/public/decagon-sign (secret DECAGON_SIGNATURE_AUTH_KEY).

Demo flows (2)

1 · SMS → voice → specialist

“hey I need to change my rez” → agent clarifies → cancel → ANI match + DOB → “thanks for being a Diamond member” → which sailing? → “can you call me, I'm driving” → MyPhone rings, already verified → cancellation policy (NRD, non-refundable) → “my mother just passed” → bereavement guardrail → case with auth, intent and summary → Connect to call.

Auth · disambiguation · loyalty · digital→voice · guardrails · warm handoff

2 · Inbound voice → text

Call the RCCL number from MyPhone → ANI recognizes John (still verified if Flow 1 ran) → “how far am I from Diamond Plus?” → points math incl. booked sailings → “cancel the waterpark excursion on Icon” → refund eligibility → cancel → confirmation texted → “let me give you my new card” → payment guardrail → secure link texted.

Execution end to end · loyalty · voice→digital · payment/security

Metadata contract

KeyExampleSet byUsed for
user_phone_number+12526161237MyPhone RCCL texting app (every /chat/completion)ANI: identify_guest(phone) on SMS
entry_pointrccl_smsMyPhoneForce AOP selection: SMS: Reservation help
channel / app / first_namesms / rccl_myphone / JohnMyPhoneContext; first_name only for tone (never as identity)
outbound_reasonguest_callbackstart_voice_callback (campaign metadata)Force AOP selection: Voice: Guest callback; keeps chat-only guardrails off the call
auth_session_idAUTH-7Q2KXstart_voice_callback (campaign metadata)identify_guest resumes the verified SMS session, no re-verification
guest_first_name, crown_anchor_tier, reservation_id, ship, sail_date_local, intent, chat_summaryJohn · Diamond · 8412093 · Wonder of the Seas · Sat, Dec 19 · cancel reservationstart_voice_callback (campaign metadata)Callback greeting + context

Tool results are read straight off the tool (@mcp_identify_guest.auth_session_id), not copied into metadata.

Decagon configuration (team 5855)

AOPs

SMS: Reservation helpChat (headless, MyPhone)Force AOP selection: metadata.entry_point == "rccl_sms"

identify_guest → verify_guest_identity → get_loyalty_status → list_reservations → (get_cancellation_policy) · start_voice_callback → call_guest_back

SMS voice: short, warm, one question per text, no markdown. 1) If the ask is vague ('change my rez'), clarify first: dates, ship, stateroom, travelers, or cancel? 2) Authenticate: identify_guest(phone = metadata.user_phone_number, channel sms). Tell them you matched their number, ask for date of birth, verify_guest_identity (3 tries, then escalate identity_lockout). 3) get_loyalty_status: thank them by tier. 4) list_reservations: if more than one, ask which sailing (ship + date). 5) If they ask to be called (driving, easier to talk): start_voice_callback with intent + a 2-sentence chat summary, then call_guest_back, then text 'Calling you now at (252) 616-1237. We'll pick up right where we left off.' Otherwise continue the same steps as the callback AOP in text.

Voice: Guest callbackVoice (outbound campaign 'Guest callback')Force AOP selection: metadata.outbound_reason == "guest_callback"

identify_guest(auth_session_id = metadata.auth_session_id, channel voice_outbound) → get_cancellation_policy → (cancel_reservation only if agent_can_cancel)

Greeting from metadata (welcome message): 'Hi {{guest_first_name}}, it's Royal Caribbean calling you back from your text. You're already verified, and I understand you'd like to {{intent}} for {{ship}} on {{sail_date_local}}. Is now still a good time?' Call identify_guest silently first (records the voice leg in the CRM; never ask for DOB if already_verified). On policy questions: get_cancellation_policy and explain plainly: fare type, final payment passed, what is and isn't refundable (dollar amounts). Never promise, estimate or hint at an exception. Only cancel when agent_can_cancel is true and the guest confirms the stated refund. If agent_can_cancel is false, say so kindly and ask how they'd like to proceed.

Voice: Inbound guest careVoice (inbound RCCL number)Default inbound voice AOP

identify_guest(phone = caller, channel voice_inbound) → (verify_guest_identity) → get_loyalty_status · list_reservations → list_add_ons → cancel_add_on → send_guest_text

identify_guest with the caller number. If already_verified: 'Welcome back, John. I can see you verified with us earlier today.' Otherwise ask for date of birth. Loyalty questions: get_loyalty_status, give points to next tier and the effect of booked sailings. Add-on cancellation: which sailing (if 2+), list_add_ons, confirm the item and refund amount, cancel_add_on(guest_confirmed true), then send_guest_text with the confirmation number and refund, and tell them it's on its way by text.

Escalation: Bereavement & special circumstancesChat + VoiceRun by guardrail only

create_escalation_case → (voice) transfer / (chat) handoff message

Stop autonomous handling. Offer sincere condolences in one or two sentences; do not restate the policy, do not promise or estimate an exception. Call create_escalation_case(reason bereavement) with the auth session, reservation, detected intent, a concise summary of every channel so far, the guest's own words, sentiment and requested outcome. Then: 'I'm connecting you with a Guest Care specialist who handles these situations personally. They'll have everything we've discussed, so you won't need to repeat anything or verify again. Please stay on the line.' Then transfer.

Guardrail: Secure payment linkChat + VoiceRun by guardrail only

send_secure_payment_link

Interrupt politely before any digits are repeated: 'For your security I can't take card numbers over the phone. I'm texting you a secure link right now.' Call send_secure_payment_link with the reservation and a short purpose, confirm it was sent, and offer anything else.

Guardrails

Bereavement or medical emergency (User input · LLM → AOP: Escalation: Bereavement & special circumstances)

The guest says a family member or travel companion has died, is dying or has a serious medical emergency, or asks for an exception, refund or waiver because of a death or illness.

Payment card details (User input · LLM → AOP: Guardrail: Secure payment link)

The guest reads out, or offers to give, a payment card number, CVV/security code or bank account number, or asks the agent to take or charge a new card.

MCP tools (13)

Guest identity (ANI + knowledge-based) used by Every flow: SMS chat start, inbound voice, outbound callback

identify_guestwrites CRMIdentify guest (ANI)

Step 1 of authentication on every channel. Matches the phone number the guest is texting or calling from (ANI) to a Crown & Anchor profile and opens, or resumes, an auth session. If the same phone already verified in the last 4 hours (e.g. on SMS before a voice callback), returns auth_status=verified and the existing session, so the guest is NOT asked again. Pass metadata.user_phone_number on SMS, the caller number on inbound voice, and metadata.auth_session_id on the outbound callback.

phonestring | nullPhone the guest is texting/calling from, any format. On SMS: metadata.user_phone_number.
auth_session_idstring | nullExisting session to resume (outbound callback: metadata.auth_session_id). Leave blank otherwise.
channelsms | voice_inbound | voice_outboundChannel of the current conversation.
conversation_idstring | nullCurrent Decagon conversation ID, if available.

returns found, ani_match, auth_session_id, auth_status (pending|verified|locked), already_verified, verified_via, verified_on_channel, needs_dob, first_name, crown_anchor_tier, channels_so_far, error

verify_guest_identitywrites CRMVerify identity (date of birth)

Step 2 of authentication (knowledge-based): checks the date of birth the guest gives against the profile matched by identify_guest. Accepts any common format ('3/14/71', 'March 14 1971', '1971-03-14'). Three wrong answers lock the session; then stop and offer a specialist. Never read the date of birth back or hint at it.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
date_of_birth*stringDate of birth exactly as the guest said it.

returns verified, auth_status, attempts_remaining, locked, first_name, crown_anchor_tier, error (dob_mismatch|locked|session_not_found)

Crown & Anchor Society used by Greeting after verification · loyalty questions

get_loyalty_statusread-onlyGet Crown & Anchor status

Crown & Anchor Society status for the verified guest: tier, points, next tier and what it takes to get there (1 point per night, double for suites), including points after the sailings already booked. Use right after verification to thank them by tier, and for any loyalty question.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.

returns tier, points, member_number_masked, member_since, sailings, tier_perks, next_tier, points_to_next_tier, next_tier_perks, booked_nights, points_after_booked_sailings, nights_still_needed_after_booked, error

Reservations & cancellation policy used by Change / cancel reservation

list_reservationsread-onlyList reservations

Upcoming reservations for the verified guest, soonest first. If there is more than one and the guest has not said which, ask which sailing they mean (ship + date), never guess.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.

returns count, reservations[{reservation_id, ship, itinerary, sail_date_local, days_until_sailing, nights, departure_port, stateroom, travelers, fare_type, status, amount_paid}], error

get_cancellation_policyread-onlyGet cancellation policy & eligibility

Cancellation rules applied to one reservation right now: fare type, final-payment date, whether the cruise fare is refundable, the penalty and what the guest would get back, and whether the agent may cancel it. Read this before saying anything about cancelling. Exceptions (bereavement, medical) are not decided here; they are reviewed only by Guest Care specialists.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_id*string7-digit reservation (booking) number from list_reservations, e.g. 8412093.

returns reservation_id, ship, sail_date_local, days_until_sailing, fare_type, fare_type_label, final_payment_date_local, inside_final_payment_window, cruise_fare_refundable, cancellation_penalty, refund_if_cancelled, refundable_portion_label, agent_can_cancel, policy_code, policy_summary, exception_review, error

cancel_reservationwrites CRMCancel reservation

Cancels a reservation, only when get_cancellation_policy says agent_can_cancel=true AND the guest has explicitly confirmed after hearing the refund amount. Refuses non-refundable fares inside the final-payment window (error not_eligible_for_agent_cancellation): never try to work around that.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_id*string7-digit reservation (booking) number from list_reservations, e.g. 8412093.
guest_confirmed*booleanTrue only after the guest explicitly said yes to cancelling with the stated refund.

returns cancelled, confirmation, penalty, refund_amount, refund_method, settles_in, error

Cruise Planner add-ons used by Cancel an add-on (Flow 2)

list_add_onsread-onlyList Cruise Planner add-ons

Prepaid add-ons (shore excursions, beverage packages, specialty dining, Wi-Fi) on one reservation, with whether each can still be cancelled for a refund and the deadline.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_id*string7-digit reservation (booking) number from list_reservations, e.g. 8412093.

returns reservation_id, ship, count, add_ons[{add_on_id, title, kind, port, date_local, quantity, price, status, refundable, refundable_until_local}], error

cancel_add_onwrites CRMCancel add-on & refund

Cancels one prepaid add-on and refunds it to the original form of payment. Only when the guest has confirmed which item and the refund amount. Refuses once the refund deadline has passed (error past_refund_deadline).

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
add_on_id*stringAdd-on ID from list_add_ons, e.g. AO-6201.
guest_confirmed*booleanTrue only after the guest said yes to this item and amount.

returns cancelled, add_on_title, refund_amount, refund_method, confirmation, settles_in, error

Channel pivots (voice callback, text-back) used by SMS -> voice callback (Flow 1) · voice -> text confirmation / secure link (Flow 2)

start_voice_callbackwrites CRMStart voice callback (SMS -> voice)

Use when a verified guest on SMS asks to be called (driving, easier to talk). Records the callback on the guest record and returns the dial details the call_guest_back coded tool uses to place the outbound call. The call carries the auth session, the reservation and a chat summary, so the voice agent continues without re-verifying.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_idstring | nullReservation being discussed, if known.
intent*stringWhat the guest wants, in a few words, e.g. 'cancel reservation 8412093'.
chat_summary*string2-3 sentences on what was already covered in the chat.
conversation_idstring | nullCurrent Decagon conversation ID, if available.

returns should_dial, callback_id, dial_target, mission_id, decagon_phone_number, scheduled_at_utc, call_metadata_json, error (outbound_not_configured|not_verified|already_dialing)

send_guest_textwrites CRMText the guest (voice -> SMS)

Sends a text to the guest's mobile, in the same Royal Caribbean thread they text from. Use it for a written confirmation after an action on voice (e.g. add-on cancelled + refund). Plain text, no more than 320 characters, and no full card or account numbers.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
text*stringMessage body.
kindconfirmation | info

returns delivered, text_id, error

send_secure_payment_linkwrites CRMSend secure payment link

Payment guardrail: card numbers are NEVER taken by voice or chat. When a guest wants to pay, or to change or add a card, send this one-time secure link by text instead. The guest enters the card on a PCI-compliant Royal Caribbean page; the CRM shows only the last four digits.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_idstring | nullReservation the payment is for, if any.
purposestringShort label shown on the link, e.g. 'Final payment card for Icon of the Seas'.

returns link_sent, link_url, expires_in_minutes, error

Escalation cases (warm handoff) used by Bereavement / special-circumstance guardrail AOP

create_escalation_casewrites CRMCreate escalation case (warm handoff)

Opens a Guest Care case for a live specialist and puts the guest in that queue with everything already captured: auth state, detected intent, reservation and policy, the channel path and an AI summary. The specialist does not re-verify or re-ask anything. Call it before telling the guest you are connecting them.

auth_session_id*stringAuth session ID (AUTH-XXXXX) from identify_guest. On SMS chat use @identify_guest.auth_session_id; on the outbound callback use metadata.auth_session_id.
reservation_idstring | null
reason*bereavement | medical | payment_security | identity_lockout | complaint | otherWhy autonomous handling stopped.
detected_intent*stringWhat the guest is trying to achieve, e.g. 'Cancel 8412093 and request a bereavement exception to the non-refundable fare'.
summary*stringConcise summary for the specialist: what happened on each channel, what was checked, and what the guest asked for.
guest_statement*stringThe guest's key words, verbatim if possible.
sentimentstringOne or two words, e.g. 'Grieving, calm'.
requested_outcome*stringWhat the guest wants, e.g. 'Full refund or future cruise credit'.
conversation_idstring | nullCurrent Decagon conversation ID, if available.

returns case_id, queue, priority, status, handoff_status, specialist_eta_minutes, error

Demo control used by Presenter only

reset_demowrites CRMReset demo data

Presenter only: rebuilds the CRM baseline (clears auth sessions, callbacks, escalations and texts). Never call this during a guest conversation.

returns ok, error

Coded tools (Python, in Decagon)

call_guest_back · Places the SMS → voice callback natively in Decagon. Fetches the dial details itself from the REST mirror of start_voice_callback (tool-sourced inputs are not populated after MCP tools), then schedules the campaign call.

import json
resp = http_post(f"{BASE}/api/public/tools/start_voice_callback", json={
    "auth_session_id": auth_session_id, "reservation_id": reservation_id,
    "intent": intent, "chat_summary": chat_summary, "conversation_id": Conversation.id,
}).json()["result"]
if not resp.get("should_dial"):
    return {"dialed": False, "error": resp.get("error")}
Conversation.schedule_mission_run(
    mission_id=resp["mission_id"],
    recipient=resp["dial_target"],
    decagon_phone_number=resp["decagon_phone_number"],
    scheduled_at_utc=resp["scheduled_at_utc"],
    metadata=json.loads(resp["call_metadata_json"]),
    recipient_country_code="US",
)
return {"dialed": True, "callback_id": resp["callback_id"]}

Error contract

no_profile_for_numberNo Crown & Anchor profile matches the phone. Ask for the reservation number + last name, or escalate.
session_not_found / session_expiredUnknown or expired auth session. Start again with identify_guest.
not_verifiedThe session hasn't passed the date-of-birth check yet. Verify first.
dob_mismatchWrong date of birth; attempts_remaining says how many tries are left.
lockedThree wrong answers. Stop and escalate (identity_lockout).
reservation_not_found / add_on_not_foundThe ID isn't on this guest's profile.
not_eligible_for_agent_cancellationThe fare is non-refundable inside the final-payment window. Don't retry; only a specialist reviews exceptions.
needs_guest_confirmationCall again with guest_confirmed=true after the guest says yes to the stated amount.
past_refund_deadline / already_cancelledNothing to do; tell the guest.
outbound_not_configured / already_dialingThe callback campaign isn't set in Admin, or a call is already ringing.
text_channel_not_configured / text_push_failed_*The text didn't reach MyPhone; tell the guest you'll follow up by email instead.
looks_like_card_or_account_numbersend_guest_text refused a message that looked like a card or account number.
invalid_inputArguments failed validation; detail lists the fields.

Every result has an error field (null on success), so AOPs branch with a coded condition instead of parsing text.

REST API (same logic as MCP)

GET /api/public/tools # catalog with JSON schemas

POST /api/public/tools/<tool> # body = arguments → { ok, tool, result }

GET /api/public/state # whole CRM + activity (console polling)

POST /api/public/admin # { action: reset | settings | save_entity | connect_case | complete_payment }

POST /api/public/decagon-sign # { user_id } → headless-chat signature for MyPhone

curl -s -X POST https://rccl.decagon.tools/api/public/tools/identify_guest \
  -H 'content-type: application/json' \
  -d '{"phone":"+12526161237","channel":"sms"}'