{
  "name": "the-vault",
  "title": "The Vault",
  "version": "0.6.0",
  "description": "Educational Vault tools for a signed-in member’s money context, goals, bills and routines.",
  "endpoint": "https://jiwscnnptvnbinebeffq.supabase.co/functions/v1/mcp",
  "transport": "streamable-http",
  "auth": {
    "type": "oauth",
    "required": true
  },
  "tool_count": 30,
  "tools": [
    {
      "name": "start_assistant_session",
      "title": "Start a Vault session (interview + memory)",
      "description": "Open every Vault session with this. It returns the interview to run with the member, what they can actually accomplish here, whether they have talked to the Vault coaches before, and the notes you saved from previous sessions so you can continue instead of starting over. Ask the returned questions one at a time in plain language, wait for each answer, and never assume what they want to work on, suggest from the capabilities list only after they have told you what is on their mind. Call this before get_context_pack."
    },
    {
      "name": "save_session_memory",
      "title": "Remember this session for next time",
      "description": "Save a short note from this session into the member's own Vault account so the next session continues instead of starting over: what you covered, what they said they want to work on, and anything left open. Call it at the end of every substantive session, right after you offer to email the recap. Use kind 'standing' for facts that should apply in every future session (how they get paid, what they never want to be nagged about, their preferred pace). Keep it brief and factual, in their words, this is the member's own record, not a transcript."
    },
    {
      "name": "get_money_personality",
      "title": "Get my money personality",
      "description": "Return the signed-in member's money personality result (type and category scores). ALWAYS call this first in a session and adapt every later answer, plan, sheet and document to the type. Avoider: one small step at a time, warm, no shame language, round numbers. Stresser: numbered steps, maximum two options, clear next step, frequent reassurance. Spender: lead with guilt free spending, frame saving as future spending, never say cut or restrict. Starter: define every term, one action item, end with the single next step. Hustler: systems, automation and tax efficiency, batch actions, tie advice to income. Optimizer: skip basics, use percentages and specifics, advanced levers."
    },
    {
      "name": "get_money_blueprint",
      "title": "Get my Money Blueprint",
      "description": "Return the signed-in member's most recent Money Blueprint: personality type, monthly allocation, 30/60/90 day action plan, goal plan, weekly ritual and the coach's reasoning. Use these exact numbers when the member asks you to build a budget spreadsheet, a PDF plan, a tracker or a calendar. Never invent your own allocation when a blueprint exists."
    },
    {
      "name": "generate_blueprint",
      "title": "Generate a new Money Blueprint",
      "description": "Ask the SB Advisors Academy coaching engine to build a fresh Money Blueprint for the signed-in member from their current numbers, then save it to their dashboard. Collect the figures conversationally in the style of their personality type before calling. Returns the finished plan only; the coaching logic itself stays on the server."
    },
    {
      "name": "list_reminders",
      "title": "List my bill reminders",
      "description": "List the signed-in member's bill and money reminders from The Vault, including amount, due day of month and frequency. Use this for weekly sweeps, upcoming bill briefings and cash flow checks."
    },
    {
      "name": "create_reminder",
      "title": "Create a bill reminder",
      "description": "Create a bill or money reminder in the signed-in member's Vault so it appears in their dashboard and can trigger a push notification."
    },
    {
      "name": "update_reminder",
      "title": "Update a bill reminder",
      "description": "Update one of the signed-in member's existing reminders: rename it, change the amount, move the due day, change the frequency, mute notifications, or archive it. Reminders are archived rather than deleted so nothing is lost. Call list_reminders first to get the reminder id."
    },
    {
      "name": "list_goals",
      "title": "List my savings goals",
      "description": "List the signed-in member's savings goals from The Vault with target amount, amount saved, target date and status. Use it to report progress, work out required monthly contributions, or build a goal tracker."
    },
    {
      "name": "upsert_goal",
      "title": "Create or update a savings goal",
      "description": "Create a savings goal for the signed-in member, or update an existing one, so it shows up in their Vault. Pass the id from list_goals to update. Goals can be marked done but never deleted here. Frame the goal in their personality's language: for a Spender call it future spending, for a Starter keep it to one goal at a time."
    },
    {
      "name": "list_brain_dumps",
      "title": "List my money brain dumps",
      "description": "Read the signed-in member's captured money thoughts from The Vault brain dump. Great for turning a messy list into a prioritized plan, or for a weekly review that clears their head."
    },
    {
      "name": "add_brain_dump",
      "title": "Capture a money thought",
      "description": "Save a money thought, worry or to do into the signed-in member's Vault brain dump so it is waiting for them in the dashboard. Use this whenever they mention something they need to deal with later, so nothing lives only in this chat."
    },
    {
      "name": "get_net_worth",
      "title": "Get my net worth and trend",
      "description": "Return the signed-in member's latest net worth snapshot from The Vault plus recent history so you can report the direction of travel. Use this for monthly reviews and progress check ins. Snapshots come from their dashboard portfolio, so the figures are theirs, not estimates."
    },
    {
      "name": "log_net_worth_snapshot",
      "title": "Record a net worth snapshot",
      "description": "Record today's assets and liabilities for the signed-in member so their Vault net worth trend stays current. Useful for a monthly scheduled check in. One snapshot per day; calling again the same day updates it."
    },
    {
      "name": "list_holdings",
      "title": "List my portfolio holdings",
      "description": "Read only view of the signed-in member's Vault portfolio: each holding's name, category, current value, cost basis, shares and dividend yield. Use it to build allocation breakdowns, gain and loss tables, spreadsheets or PDF portfolio reports outside The Vault. Holdings are edited in the dashboard, not here."
    },
    {
      "name": "get_watchlist",
      "title": "Get my Trade Desk watchlist",
      "description": "Read only view of the tickers the signed-in member tracks in the Trade Desk, including the price when they added each one. Pair it with get_quote for a personalized market brief. Watchlist edits happen in the dashboard."
    },
    {
      "name": "get_quote",
      "title": "Get a price quote",
      "description": "Look up the latest price for a stock, ETF or crypto symbol using the same free public feeds the Trade Desk uses. Educational context only, never a recommendation to buy or sell."
    },
    {
      "name": "get_market_brief",
      "title": "Get today's market brief",
      "description": "Return the same curated market headlines and economic events the Trade Desk News tab shows. Use it for a scheduled morning brief, and filter it to the member's watchlist. Translate the headlines into plain English for their knowledge level and keep it educational, never a trade signal."
    },
    {
      "name": "ask_coach",
      "title": "Ask an SB Advisors Academy coach",
      "description": "Send a question to one of the member's SB Advisors Academy coaches and return the coach's answer. The coach applies the member's personality rules and the academy's guardrails on the server. Use it when the member wants the coach's own voice or a judgement call; use the data tools when you just need their numbers. Each call counts against their coaching usage, so keep questions substantive."
    },
    {
      "name": "get_routine_interview",
      "title": "Questions to ask before scheduling a routine",
      "description": "Get the short interview to run with the member before creating or changing a scheduled Vault routine, plus the follow-up questions to ask after it runs. Call this first whenever a routine is being set up. Ask the questions one at a time in the member's own language, wait for each answer, never batch them, and never assume the answer, especially the paycheck split on a payday plan, which is the member's choice, not the default."
    },
    {
      "name": "list_scheduled_tasks",
      "title": "List my scheduled Vault routines",
      "description": "List the signed-in member's scheduled Vault routines (pre-market brief, bill sweep, weekly review, biweekly payday plan, monthly net-worth snapshot, quarterly blueprint refresh and any custom routine), with their cadence, whether they are active or paused, when each last ran and whether one is due right now. Call this at the start of a scheduled run to find out what to do."
    },
    {
      "name": "create_scheduled_task",
      "title": "Schedule a Vault routine",
      "description": "Create a recurring Vault routine for the signed-in member so a scheduled assistant run knows what to do and when: a daily pre-market brief, a weekly bill sweep or money review, a biweekly payday plan for members paid every two weeks (splits each paycheck across bills, saving, investing and spending), a monthly net-worth snapshot, a quarterly blueprint refresh, a savings goal check-in, brain-dump triage, a watchlist check, a spending reset, or a custom routine. The routine is stored in their account so it survives across sessions, and it can push a notification to their phone each time it runs. Do not guess the setup: call get_routine_interview first and ask the member its questions one at a time, in plain language, then create the routine from their answers and read the result back to them."
    },
    {
      "name": "update_scheduled_task",
      "title": "Update, pause or resume a Vault routine",
      "description": "Change a scheduled Vault routine for the signed-in member: move its time or cadence, change the paycheck split on a payday plan, turn its push alert on or off, pause it, or resume it. Ask before you change anything, confirm the new value in the member's own words first, and read back what changed afterwards. Use pause when the member wants a break. Deleting a routine is a separate tool, delete_scheduled_task."
    },
    {
      "name": "delete_scheduled_task",
      "title": "Delete a Vault routine",
      "description": "Permanently delete one of the signed-in member's scheduled Vault routines. Only use this when the member explicitly asks to delete a routine, and confirm in their own words first. If they only want a break, suggest pausing it with update_scheduled_task instead."
    },
    {
      "name": "complete_scheduled_task",
      "title": "Record a completed Vault routine",
      "description": "Record that a scheduled Vault routine has just been run, with a short summary of what was found, and (when the routine has push alerts on) send the member a push notification so their phone tells them the routine ran even with the app closed. Call this once at the end of every scheduled run, it is what stops the same routine being repeated in the same period."
    },
    {
      "name": "notify_me",
      "title": "Send myself a push notification",
      "description": "Send a push notification to the signed-in member's own devices so it reaches them even when The Vault is closed. Use it to hand off something time sensitive from this conversation: a bill that is due, a market move on their watchlist, a nudge tied to their blueprint. It only reaches devices where they already enabled notifications in the dashboard, and it is rate limited, so keep it to things worth interrupting them for."
    },
    {
      "name": "get_context_pack",
      "title": "Get my full Vault context in one call",
      "description": "Return a single compact snapshot of the signed-in member's Vault: money personality, latest blueprint summary, active savings goals, upcoming bill reminders, net-worth trend, portfolio totals and scheduled routines. Call this once at the start of a session (especially before doing work in the member's other connected apps such as QuickBooks, Stripe, a spreadsheet, calendar or docs) instead of calling the individual read tools one by one. It also returns which of their other tools complement The Vault for their personality type."
    },
    {
      "name": "get_account_status",
      "title": "Which Vault account is connected",
      "description": "Show which Vault account this connection is signed in as (masked email), the active membership tier, and how many items are saved (goals, reminders, net worth snapshots, blueprints). Call this if the member's data looks empty or they ask which account is connected. If counts are zero, the member may have signed in with a different account than the one they use on the dashboard; they can disconnect and reconnect with the right one."
    },
    {
      "name": "import_external_figures",
      "title": "Bring outside figures into The Vault",
      "description": "Record figures the member has in another connected app (QuickBooks, Xero, Stripe, payroll, a bank or brokerage export, a spreadsheet) into their Vault so their plan, reviews and coaches work from real numbers. Saves a dated, sourced entry they can see in the dashboard, and, only when the member confirms the figures are personal rather than business, can also log a personal net-worth snapshot. Use this instead of keeping outside numbers only in the conversation."
    },
    {
      "name": "email_session_recap",
      "title": "Email me a recap of this session",
      "description": "Email the signed-in member a branded recap of this conversation: a short summary in your own words, their action items, and anything you set up in The Vault (routines, reminders, goals, snapshots). It always sends to their own account email and nowhere else. Offer it at the end of any substantive session, and always call it after you create routines or reminders so they have a written receipt of what now exists in their account. Write the summary and action items in their personality voice."
    }
  ]
}
