# Moola MCP connector: full reference Server URL: https://app.moola-money.com/api/mcp Transport: streamable HTTP. Sign-in: OAuth (the person approves access on a Moola consent screen). Human guide: https://app.moola-money.com/ai-connectors Tool table: https://app.moola-money.com/ai-connectors/tools ## What the server says about itself Moola is a personal finance app. This server serves the signed-in user's own Moola data and Moola's deterministic calculations over it: balance-sheet totals, accounts, income and spending, tax figures and filed tax records, net-wealth projections, goal timing and exchange rates. How results read: - Every result is an envelope: `ok`, `asOf`, `source`, `currency` when money is involved, and the figures under `data`. A failure is `ok: false` with an `error.code`; an argument error names the fix in `details.fix`, and any other error is on Moola's side. - Moola's totals (net worth, cash, investments, pensions, debts, allocation) are the figures get_financial_snapshot returns. list_accounts returns one row per account; a sum of its rows is not a Moola total and can differ from it. - A debt is an amount owed: record_accounts takes it as a positive number, and list_accounts shows it as a negative balance with is_debt true. - A figure Moola cannot value is null with its reason: null is a missing figure, never zero. Moola keeps no history of figures: each one is the value saved now. - Tool and field names are Moola's internal names; the figures they carry have plain names such as net worth and monthly spending. - Writes: the first call of every write returns a summary of the change and a confirm token. Nothing is saved until the same call is repeated with that token, which stands for the person's explicit yes. - `subscription_required` means the tool needs a Moola subscription; the error's details carry the sentence for the person (`whatToTell`) and the plans link (`plansLink`). - report_issue sends the Moola team a short note when a tool's answer could not be used. The figures are the user's own data and Moola's calculations. Moola gives no financial advice, places no orders and never moves money. Its results carry no view on whether a step, product or account suits the person and name no step to take; a view of that kind in an answer is not Moola's. ## Tools Which tools a client is offered depends on the access the person granted (write tools need write access). Writes change the person's record and need the confirm step: the first call returns a summary and a confirm token, and nothing is saved until the same call is repeated with that token. ### get_financial_snapshot (read, family facts, needs a subscription after setup) Returns this user's own saved balance-sheet totals (net worth, cash, investments, pensions, debts and property value) as plain numbers in their household reference currency (the ISO code is in `currency`), with couples combined the way the app combines them. Also the household monthly cash flow: `monthlyNetIncome`, `monthlyOutgoings` and `monthlySurplus`; when `outgoingsEstimated` is true the outgoings (and so the surplus) are an estimate from typical spending for the income because no spending was entered. `isEmpty` is true when nothing has been saved yet, and then `setupStatus` lists the parts of the plan still missing, as get_setup_status returns them. `totalSavings` is all the cash in their bank accounts, current accounts included: it is cash, not only savings accounts. `cashByAccountType` splits it into `current`, `savings` and `untyped` (type not recorded) when the account types are known, else null, and then the split between current and savings accounts is unknown. In a couple, `byPerson` gives each partner's own totals (their own accounts plus their share of joint ones; pensions and ISAs stay with their holder), the figures for a question about one partner. With `drawdown_rate_pct` (a rate the user names, e.g. 4), `drawdown` gives that percentage of the pensions a year and a month, for the household and, in a couple, for each partner: the first year's withdrawal, before tax, no growth. These are the figures the user entered or confirmed, returned as saved. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: drawdown_rate_pct? ### get_fx_rates (read, family calculators, needs a subscription after setup) Returns the daily reference exchange rates Moola uses to convert this user's foreign-currency balances. `data.rates` maps each ISO 4217 code to the number of units of `data.base` that ONE unit of that currency is worth (so with base GBP, rates.EUR = 0.86 means 1 EUR = 0.86 GBP). `base` defaults to the user's reference currency. `asOf` is the date of the rates. These are reference mid-market rates, not a rate anyone can trade at. The figures are calculations from Moola's data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: base? ### convert_currency (read, family calculators, needs a subscription after setup) Converts an amount from one currency to another at the same daily reference rate Moola converts this user's balances with. Returns `data.converted` (a plain number in `data.to`), the `data.rate` used (units of `to` per one unit of `from`) and the date of the rate in `asOf`. `to` defaults to the user's reference currency. If Moola holds no rate for the pair the call fails with not_found; it never falls back to one-for-one. This is a reference mid-market rate, not a rate anyone can trade at. The figures are calculations from Moola's data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: amount, from, to? ### get_tax_breakdown (read, family calculators, needs a subscription after setup) Works out income tax, National Insurance or social contributions and take-home pay on the user's salary or pension, where they live or in another country. Returns the UK income tax and National Insurance on this user's own saved gross annual income, from the same tax engine the Moola app uses: annual income, income tax, National Insurance, their total, net annual and net monthly income (whole units of the currency in `currency`, GBP for almost every UK resident), the effective rate as a percentage, the marginal band, and whether the income falls in the personal-allowance taper. Outside the UK, for a country Moola has tax rules for (Germany, the US, Switzerland in the cantons ZH, GE, VD, BS, ZG, BE, Singapore, Hong Kong), it returns that country's income tax and social contributions on the saved gross salary instead (taxJurisdiction says which). With no arguments it runs on the saved income. Optional what-ifs: annual_income (a hypothetical gross annual income, e.g. a raise or a new job) and salary_sacrifice_amount (annual amount paid into a pension from pay, UK only; the saving includes personal-allowance taper recovery). Outside the UK, income_type 'pension' with annual_income prices an EXTRA pension in payment (a Betriebsrente, a US pension) on top of the pensions already saved, with the pensioner health and care contributions where the country charges them: what it adds and what is left of it (extraNetMonthly), never a salary priced alone. UK PENSION DRAWDOWN: for a UK resident, income_type 'pension' with annual_income = the gross yearly drawdown (flexi-access drawdown or UFPLS, e.g. 4% of a pot) returns the tax-free part (25%, capped by the Lump Sum Allowance), the taxable part, the income tax on it on top of their other saved taxable income (salary, State Pension in payment, other income; other_taxable_income replaces that figure), National Insurance 0 with the reason, net annual and monthly, effective rate, marginal band, the tax year and the assumptions: the engine's answer to "is a drawdown taxable / how much tax on £X from a pension", which get_tax_rules figures alone cannot give. Fails with not_supported for a country with no tax rules in Moola or a salary saved as take-home, and with no_data_yet when no gross income is saved. WHAT-IF ABROAD: with `country` (and `region`: a Swiss canton or US state) it returns the tax the same salary would pay there, from the engine, for a person who does not live there (moving, comparing cantons or states). For Switzerland without `region` it compares every canton the engine models, with the cantonal wealth tax on their net worth. Countries the engine computes: the United Kingdom, the United States, Germany, Switzerland, Singapore and Hong Kong. The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: annual_income?, salary_sacrifice_amount?, income_type?, other_taxable_income?, country?, region?, net_wealth?, amounts_currency? ### draft_salary_sacrifice_request (read, family calculators, needs a subscription after setup) Writes a plain-text request to payroll for a salary sacrifice pension arrangement, from the user's own saved salary and the monthly amount they give. Returns the request text with the take-home pay before and after and the income tax and National Insurance saving, from the same tax engine as get_tax_breakdown (UK only; current tax-year rates). The text is a draft for the user to read, edit and send themselves: Moola sends nothing and contacts no one. Fails with not_supported for a country other than the UK, and with no_data_yet when no gross salary is saved. The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: monthly_amount, start_date? ### get_tax_rules (read, family facts, needs a subscription after setup) Returns statutory tax figures for a country and tax year: allowances, thresholds and rates (e.g. UK Personal Allowance, income tax bands incl. Scotland, starting rate for savings, Personal Savings Allowance, dividend allowance and rates, Capital Gains Tax exempt amount and rates, ISA/LISA/Junior ISA limits, pension annual allowance, MPAA and taper, National Insurance; Germany: Grundfreibetrag, tariff zones, Sparer-Pauschbetrag, Abgeltungsteuer, Solidaritätszuschlag, Riester; France: barème, PFU and social levies, PEA and PER ceilings; Italy: IRPEF bands, 26% and 12.5% rates, impatriati; Netherlands: box 1 brackets, box 3 tax-free assets, rate and deemed returns, the 30% expat scheme; US (federal only): brackets, standard deduction, long-term capital gains, NIIT, 401(k) and IRA limits; UAE: no personal income tax, corporate tax for individuals in business) and rule texts (residence and arrival rules, the UK 4-year foreign income and gains regime, split-year treatment); Switzerland: direct federal tax tariff and deductions, AHV/ALV, BVG, pillar 3a, each modelled canton's multipliers and wealth-tax allowance; Hong Kong: salaries tax bands, standard rate, allowances, MPF; Singapore: resident rates, reliefs, SRS and CPF. Every figure carries its value, unit (money in the currency, percent = 20 for 20%, fraction = 0.08 for 8%), tax year and official source URL. Countries with a table: GB, DE, AE, US, IT, NL, FR, CH, HK, SG. The UK and Hong Kong tax years are written "2026-27"; every other country's is the calendar year, "2026". Topics use the UK names: isa covers tax-advantaged savings wrappers (FR PEA), arrival covers residence and incoming-worker regimes, wealth a tax on net wealth. For another country or tax year it returns status not_covered with the official site and `coverage`: what else Moola has for that country (Moola holds tax rules for every country `coverage` lists). Reads nothing of the user's data. The tax on an amount (a salary, a UK pension drawdown) is computed by get_tax_breakdown, not by these figures. These are published rules, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: country, tax_year?, topic? ### preview_projection (read, family calculators, needs a subscription after setup) Shows what one or more life changes (a new job, a baby, a home purchase, redundancy, an inheritance, a move abroad) would do to the user's net worth over time, without saving anything. Runs Moola's projection engine over the user's plan as their Moola chart draws it (saved finances, saved scenarios, projection assumptions). With no `scenarios` it returns that baseline; with up to 5 `scenarios` it adds the projection with the changes applied together; with `effect_of_saved_scenario`, the effect of one saved scenario. Returns the headline year and age, net wealth then without and with the changes, the `delta`, milestone years, a point every 5 years, and per change its start month (`startsOn`), the figures Moola filled in (`assumptions`) and what the engine applied. Money is rounded, in the user's reference currency (`currency`); `metrics` gives each headline figure's basis (todays_money or nominal); `wealthBasis` says whether the home and its mortgage are counted (includes_property, with `liquidWealthAtHeadline` for the money without them) or not. Net wealth never goes below zero: when money runs out, `runsOutAgeWithoutScenario` / `runsOutAgeWithScenario` (and `liquidRunsOut*` for the money without the home) say when, later figures are null, and if the run without the changes has run out by the headline age, `delta` is null and `runOutShift.text` says how far the changes move the run-out. The `scenario_type` and `config` parameters list the types and settings; describe_scenario_fields gives every field of a type. A preview does not count towards the user's plan limit. The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenarios?, horizon_years?, confirmed_figures?, effect_of_saved_scenario? ### describe_scenario_fields (read, family calculators, needs a subscription after setup) Returns, for one scenario type, every config key it accepts with its meaning: the unit (money a month, one-off money, % a year, months, years, date), whether a money figure is the NEW TOTAL (it replaces the current value) or a CHANGE (it is added to or taken from the current value), the account it is drawn from if any, and its default or that it is required. `required` is true for a key the scenario cannot be built without. The same meanings are returned under `fieldMeanings` when preview_projection or save_scenario refuse a key. Reads nothing of the user's data and changes nothing. This describes settings of a what-if, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenario_type ### calculate_time_to_goal (read, family calculators, needs a subscription after setup) Answers "how long until my savings reach a target?" Calculates how many whole months until this user's savings reach a target amount, paying in their current monthly surplus (money in less money out, from their saved Moola data) and growing at the cash rate Moola's projection engine assumes. Returns `status` (reached, reachable or unreachable), `months` (null when unreachable), the savings counted, the gap, the monthly amount paid in, the balance at the month the target is crossed, `working_line` (one line showing the sum), the target's value in today's money at the stated inflation rate, and `metrics` objects (value, basis: todays_money or nominal, asOf) for the balance at the crossing month and the target's value in today's money. For a what-if, `monthly_amount` (what the user says they will pay in each month) and `starting_amount` (the balance they say they start from) take the place of the saved figures; `monthlyContributionSource` and `currentAmountSource` in the result say which figures were stated and which came from the profile. For a SAVED plan or goal (for example "I adjusted my savings plan, when do I reach my goal?"), `scenario_id` takes that plan's id from list_scenarios: the target and monthly amount are then read from the saved plan itself (returned in `saved_plan`, with `target_source` and `monthly_source` naming where each came from), not from figures given earlier in the conversation. A `target_amount` or `monthly_amount` given in the same call takes precedence over the saved plan's. Money figures are plain numbers in the user's reference currency (the ISO code is in `currency`). The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: target_amount?, scenario_id?, use_existing_savings?, monthly_amount?, starting_amount? ### solve_spending_for_stop_age (read, family calculators, needs a subscription after setup) Answers "how much could I spend each month if I retired or stopped working at a given age?" Finds the highest monthly spending after the user stops working at `stop_age` for which their plan holds, by Moola's earliest-age rule: their spendable savings and investments never fall below 3 years of that spending, from the stop age to the end of the plan. Solved by repeated runs of the projection engine on the plan their trajectory chart draws (saved scenarios and settings included), never estimated. Answers questions such as 'how much could I spend a month if I stopped at 50?' and 'how much less would I need to spend to stop in two years?'. Returns `status`: holds (with `maxMonthlySpending`, `currentMonthlySpending`, `monthlyGap` = max minus current, negative when a cut is needed, `holdsAtCurrentSpending` and `breachAgeAtCurrentSpending`), no_spending_holds (even spending almost nothing after stopping, savings fall below zero around `breachAgeAtZeroSpending`, because of costs the plan keeps such as debt repayments, before pensions can be drawn) or stop_age_out_of_range (the age is not after their current age or is past the plan's end). With `until_age` the test is instead that the money lasts to that age, which may be past the plan's end, with no reserve left (`bufferYears` 0). With `scenarios` (the same what-if changes preview_projection takes, e.g. a sale, an inheritance, a new income) the spending is solved with those changes applied to the plan, and `withoutWhatIfs` and `whatIfsAddMonthly` give the same solve without them and the monthly spending they add. `working_line` is the gap sum in one line. Someone past their retirement age has already stopped: the spending then runs from today. With status holds, `lowerGrowth` is the same solve with investment growth 2 percentage points lower (`sustainableSpendingLowerGrowth`, the growth rates used). Money figures are monthly, on the same basis as the current monthly spending, plain numbers in the user's reference currency (the ISO code is in `currency`). The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: stop_age?, stop_in_years?, until_age?, scenarios?, confirmed_figures? ### check_affordability (read, family calculators, needs a subscription after setup) Answers "can I afford this house, flat or car, and how long until I can?" Checks whether the user can afford a purchase (a home, a car or another item) on their saved Moola figures: the deposit needed, the savings counted towards it, the gap, months to save it at their monthly surplus, the loan, its monthly payment at the user's rate or the official average rate for their country (with its source), and the payment against their surplus. For questions about whether the user can afford to buy something or how long until they can. `horizon_years` covers "in N years" (judged on savings projected to then); `interest_rate` / `term_years` are the loan terms the user gave; `deposit_sources` lists the accounts or amounts the user says they will use (pensions never count). Amounts are returned formatted with their currency, rounded to whole units. With `interest_rate_needed` there is no rate and no payment, because the user has not given one. `coaching` means the purchase is not reachable by the date asked. A home plan comes back as `plan_presets` (scenario_type and config for save_scenario); this tool never saves. The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: item_type, price?, deposit_percentage?, horizon_years?, interest_rate?, term_years?, deposit_sources? ### find_earliest_age (read, family calculators, needs a subscription after setup) Answers "when could I retire, stop working or reach financial independence (FIRE)?" from the user's own Moola plan. Finds the EARLIEST future age at which the user could stop working and their plan holds: their spendable savings and investments never fall below 3 years of their spending, from the stop age to the end of the plan. Solved by the projection engine on the plan their trajectory chart draws (saved scenarios and settings included), the same age the dashboard shows. It answers "when could I stop / retire / be financially free?" and "could I stop at 55?" (`check_age`). It does not answer "what if I stopped today". `monthly_spend` is the spending the user named to live on; without it the age runs on their current outgoings (the dashboard basis). With `scenarios` (the same what-if changes preview_projection takes) the age is solved with those changes. Returns `status`: found (`earliestStopAge`), none_holds (no age up to `searchedUpTo` holds, and no age is given), or spending_unconfirmed (their spending record looks incomplete, so no age is given). `checked` is the verdict for `check_age`; `couple` gives each partner's age in the stop year (one age for each partner). `explanation` is the engine's own wording of how the age was reached. Money figures are plain numbers in the user's reference currency. The figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: monthly_spend?, check_age?, scenarios?, confirmed_figures? ### list_tax_records (read, family tax_records, needs a subscription after setup) Lists the tax records this user has confirmed in Moola: one entry per tax year and country, the latest confirmed version of each. "Confirmed" means a tax return, assessment or year-end certificate that the user uploaded, reviewed and confirmed in the Moola app; uploads still waiting for review are not included. Each entry has the record id, the country (ISO 3166 two-letter code), the tax year label as the filing country writes it, the filed period, the filing currency, total income, tax assessed, tax withheld or prepaid, the balance, the effective rate in percent (tax assessed divided by total income, stored when the record was confirmed) and how many deductions, foreign items, disposals, properties and breakdown lines the record holds. The balance is SIGNED: positive is an amount still owed for that year, negative is a refund. Every money figure is `{ native, reference }`: `native` is the amount as filed, in the filing currency; `reference` is the same amount in the user's reference currency (the ISO 4217 code is in `currency`), converted at that tax year's own exchange rate, never today's: the average of the European Central Bank's daily euro reference rates (via Frankfurter) over the record's filed period. `reference.exchangeRate` says exactly how: `rate` (reference-currency units per one unit of the filed currency, applied as given), `basis` ('average'), the `periodStart` and `periodEnd` averaged, `rateDays` (how many daily rates went in), the first and last rate dates and the `source`. For a tax year still in progress the average runs to the latest rate and `toDate` is true. `fxAsOf` is the date of the last daily rate in the average. `exchangeRate` and `fxAsOf` are null when the amount was filed in the reference currency and nothing was converted. `reference` is null when Moola holds no rate for that currency across that tax year (an amount is never converted one-for-one, or at another year's rate), and `referenceMissingReason` says why ('no_rate_for_tax_year', 'no_rate_for_currency' or 'rates_unavailable'). Converted amounts are rounded to two decimal places. `data.coverage` lists the countries and tax years on file: a country or year that is not listed has no confirmed record in Moola, which is different from a year with zero tax. An empty list is a normal answer, not an error. The full record for an id is returned by get_tax_record. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### get_tax_record (read, family tax_records, needs a subscription after setup) Returns one confirmed tax record in full, by the `record_id` that `list_tax_records` gives. "Confirmed" means a tax return, assessment or year-end certificate that the user uploaded, reviewed and confirmed in the Moola app; uploads still waiting for review are not included. It has the headline figures (total income, tax assessed, tax withheld or prepaid, the SIGNED balance, where positive is still owed and negative is a refund, and the effective rate in percent), income by type, the deductions, allowances and credits as filed, foreign items (the kind, the other country, and whether the filing shows the item as credited), disposals the filing lists per asset, rental properties the filing reports separately, and the filing's own breakdown lines. Storage caps each list: breakdown lines at 40 per record, deductions and foreign items at 20 each, disposals at 30 and properties at 20, so a long return can hold fewer lines here than on paper (`data.storageCaps` repeats the numbers). For a UK record `selfAssessment` restates the held figures under Self Assessment headings (income by heading, total income, tax calculated, tax deducted at source, balance, loss carried forward); a line the record does not hold is null with a reason, never zero. `flags` restates what the filing shows as plain facts: whether a loss is carried forward, with the amount when the filing gives one, and whether foreign withholding tax was creditable and not credited, with those items. Labels are the filing's own wording, in the filing's language. Every money figure is `{ native, reference }`: `native` is the amount as filed, in the filing currency; `reference` is the same amount in the user's reference currency (the ISO 4217 code is in `currency`), converted at that tax year's own exchange rate, never today's: the average of the European Central Bank's daily euro reference rates (via Frankfurter) over the record's filed period. `reference.exchangeRate` says exactly how: `rate` (reference-currency units per one unit of the filed currency, applied as given), `basis` ('average'), the `periodStart` and `periodEnd` averaged, `rateDays` (how many daily rates went in), the first and last rate dates and the `source`. For a tax year still in progress the average runs to the latest rate and `toDate` is true. `fxAsOf` is the date of the last daily rate in the average. `exchangeRate` and `fxAsOf` are null when the amount was filed in the reference currency and nothing was converted. `reference` is null when Moola holds no rate for that currency across that tax year (an amount is never converted one-for-one, or at another year's rate), and `referenceMissingReason` says why ('no_rate_for_tax_year', 'no_rate_for_currency' or 'rates_unavailable'). Converted amounts are rounded to two decimal places. Only the latest confirmed version of a tax year can be read: an id that is not one of this user's current records fails with not_found. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: record_id ### summarise_tax_by_year (read, family tax_records, needs a subscription after setup) Returns tax assessed per tax year and per country from the user's confirmed tax records, with the same year alignment and currency conversion as the by-year chart on Moola's Taxes page. "Confirmed" means a tax return, assessment or year-end certificate that the user uploaded, reviewed and confirmed in the Moola app; uploads still waiting for review are not included. Countries run different tax years (the United Kingdom runs 6 April to 5 April, most others the calendar year), so every record is placed in the tax year of ONE country's convention: the year that holds most of the record's filed period. That country is `align_to_country` when given, otherwise the user's country of tax residency, otherwise the country of the first record on file. `from_year` and `to_year` limit the answer by the calendar year in which the aligned tax year STARTS (both inclusive). For each year and country the answer has tax assessed as `{ native, reference }` and the effective rate in percent. Every money figure is `{ native, reference }`: `native` is the amount as filed, in the filing currency; `reference` is the same amount in the user's reference currency (the ISO 4217 code is in `currency`), converted at that tax year's own exchange rate, never today's: the average of the European Central Bank's daily euro reference rates (via Frankfurter) over the record's filed period. `reference.exchangeRate` says exactly how: `rate` (reference-currency units per one unit of the filed currency, applied as given), `basis` ('average'), the `periodStart` and `periodEnd` averaged, `rateDays` (how many daily rates went in), the first and last rate dates and the `source`. For a tax year still in progress the average runs to the latest rate and `toDate` is true. `fxAsOf` is the date of the last daily rate in the average. `exchangeRate` and `fxAsOf` are null when the amount was filed in the reference currency and nothing was converted. `reference` is null when Moola holds no rate for that currency across that tax year (an amount is never converted one-for-one, or at another year's rate), and `referenceMissingReason` says why ('no_rate_for_tax_year', 'no_rate_for_currency' or 'rates_unavailable'). Here converted amounts are rounded to WHOLE units, as the chart shows them, and `currenciesWithoutRate` names the currencies that could not be converted, and `yearsWithoutRate` the country and tax year of each record left unconverted, with the reason. Each year also has an overall figure: the one rate the chart plots, all tax assessed that year across countries over worldwide income, in the reference currency, with incomeBasis saying how worldwide income was read (single_return; residence_return, one return that already lists the income another country taxed; or summed_returns, which may count the same income twice). A figure is null when a record could not be converted. Income and everything else per record are in the full record from get_tax_record. A year that is absent has no confirmed record, which is different from zero tax. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: from_year?, to_year?, align_to_country? ### get_moola_link (read, family links, works without a subscription) Returns a link to one page in the Moola app where the user does something themselves: see their dashboard, go over everything they have told Moola, edit their details, accounts and debts, income, spending or monthly contributions, connect a bank, upload documents, open their taxes, portfolio or progress pages, or compare the Moola plans. `destination` names the page to link to; `whatYouCanDoThere` says in one line what the page is for. To go back over setup, `review_everything` lists what the user has told Moola with an Edit link beside each part. The link only opens the page: through this connector Moola never connects a bank, moves money, resets setup or deletes anything on the user's behalf, and this tool changes nothing. The page opens for a user signed in to Moola. A page that is switched off for this user returns not_supported instead of a link. Each link carries UTM tags (utm_source ai_connector, utm_medium mcp, utm_campaign the destination) that mark the visit as coming from a connected assistant. A link is a way into the app, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: destination ### list_accounts (read, family facts, needs a subscription after setup) Returns each of this user's own saved accounts (savings and current accounts, investments, pensions, debts, property and other assets), with its `account_id`, category, type, name and balance. Each balance is given in the currency the account is held in (`native`) and in the user's reference currency (`reference`); when there is no exchange rate for it, `reference` is null and `reference_missing_reason` says why, and no figure is substituted. Debts are negative, with `is_debt` true. A mortgage linked to a property carries that property's id in `linked_property_id`. `account_id` identifies the account in record_accounts. Rows carry no owner: whose an account is is not part of this result, and the per-partner totals in get_financial_snapshot (`byPerson`) are sums that name no holder for any account. Figures are returned as the user saved them. When the list is empty (`is_empty`), `setup_status` lists the parts of the plan still missing, as get_setup_status returns them. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### list_scenarios (read, family facts, needs a subscription after setup) Returns the what-if scenarios this user has saved in Moola, oldest first: for each, its `scenario_id`, title, `scenario_type`, start date, its settings (the same fields save_scenario and preview_projection take in `config`) and whether it is switched on in the app (`switched_on`, for information only: the connector never switches a scenario on or off). Amounts are plain numbers in the user's reference currency (the ISO code is in `currency`); a scenario that was switched off when the reference currency last changed keeps the figures it was saved with. `scenario_id` is what change_scenario, remove_scenario and save_scenario's `replaces_scenario_id` take. Settings are returned as saved. `recent_app_changes` (newest first, last 24 hours) lists what the user did to their saved scenarios in the app itself (added, deleted, switched_on, switched_off, edited, with `minutes_ago`): a scenario missing or switched off since an earlier answer was changed there. For "when do I reach my goal" about a saved savings plan, pass its `scenario_id` to calculate_time_to_goal. These are the user's own saved what-ifs, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### get_profile_and_budget (read, family facts, needs a subscription after setup) Returns this user's own profile (first name, year of birth, the country and region they live in, and the currency Moola shows figures in), their income as saved (the salary, before tax a year or take-home a month, with its currency, and other income rows, each in its own currency, with their monthly total converted to the reference currency, as entered: before tax unless a row is marked after tax; in a couple each row says whose it is, `ownedBy`) and their monthly spending by category with the monthly total Moola counts, with `housingTotal` (rent or mortgage payment plus other housing costs) and `shareOfTotalPct` (each category as a % of that total) (in the reference currency, or, when the spending is saved in another currency, named in `spending.currency`, in that currency, with `monthlyTotalInReferenceCurrency` beside it). When nothing has been saved (`isEmpty`), `setupStatus` lists the parts of the plan still missing, as get_setup_status returns them. `data_quality`, when present, lists facts about how the profile is filled in (a placeholder salary, an income row that looks like the partner's, a pension repeated for one person, an asset with a 0 return, income not growing with inflation, a retirement age already passed, cash at one bank above the deposit guarantee). `also_worth_knowing`, when present, lists rules that apply to these saved figures, each with its official `source` (the UK Personal Allowance taper, planned contributions above the monthly surplus, a second Dutch payer of pay or pension, Germany's temporary deposit cover up to 500,000 after life events, the French tax on the gain from selling a property that is not the main home). Each income row and the salary carry `basis`: gross, net or unknown (not stated). `settings` is the projection settings every projection figure runs on. `savedAnswers` is everything else saved in the questionnaire (contributions, housing, per-account detail; in a couple, `partner` holds the year of birth and pay of the partner), without identity or connection details. Figures are returned as the user saved or confirmed them. `editLinks` are the app pages where the user changes these figures themselves (the profile of the user and their partner, income, spending, accounts and debts, monthly contributions): when the user wants to edit or correct one, give that link in the answer. The figures are the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### plan_exit_ladder (read, family calculators, needs a subscription after setup) Calculates an exit ladder: price levels at which a holding of shares, ETFs, funds or other assets could be sold in stages, worked out from the person's own figures, all given in this call: for each holding the entry price, the amount invested or units held, a reference high and the all-time high; one or more plans (architecture A, B or C, a runner share and, for B and C, weights or a named preset); and a trailing drawdown. Returns six rung prices per holding (R1 and R2 from the reference high, R3 to R6 from the all-time high), the sell schedule for each plan, what each plan comes to if the price tops at each rung, and the levels as a list of limit-order prices with the total if every rung fills. Moola fetches no prices, forecasts nothing and places no orders. Rung levels above the all-time high are arbitrary by construction, and the 'tops at' rows are if-cases, not predictions. Money figures are in the currency the inputs are given in and are never converted. The figures are arithmetic on the person's own inputs, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: currency, holdings, plans, trailing_drawdown, rung_multipliers? ### get_setup_status (read, family facts, works without a subscription) Returns which parts of this user's Moola plan hold data and which are still empty: the profile (country and year of birth, plus the partner's first name and year of birth for a couple), income, accounts (savings, investments, pensions, debts, property) and monthly spending, in the order Moola's setup asks for them. `missing` lists the empty parts in that order; each part names the write tool and the Moola app page that fill it in, and accounts also name `connectBankPage` where accounts can come from a bank connection made in the app. `setupFinished` is true once the user has completed Moola's setup, and `isEmpty` is true for a brand-new account with nothing saved. A part counts as done when its details are saved or the user completed that setup step. No figures are returned and nothing is changed. Each part also carries `unlocks`, what Moola can show once that part is saved, and `appUrl`, the full link to its app page. Once a country is saved, the income part carries `salaryAsk`: the salary form Moola works from in that country (the yearly salary before tax where Moola has tax rules for it, the monthly take-home elsewhere), the form record_income takes there. This describes the state of the user's own Moola plan, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### calculate_mortgage_payment (read, family calculators, needs a subscription after setup) Works out mortgage repayments, and the rate or term a target monthly payment needs. Returns this user's home mortgage as Moola's projection services it (`current`: balance, annual rate, the monthly payment, whether the payment was stated or is the default, and the remaining term in months), and the repayment for a balance, a rate and a term computed with the engine's own re-mortgage amortisation (`monthly_payment`, with `working_line`: the sum in one line). Any of `balance`, `annual_rate_percent` and `term_months` left out is taken from `current`. With `target_monthly_payment` it also returns the rate that gives that payment over the term (`rate_percent_for_target`, null with `rate_reason` below_minimum when even 0% costs more, or above_maximum above 30%) and the term in months that payment clears the balance in at the rate (`term_months_for_target`). A re_mortgage scenario keeps the remaining term (`remortgage_term_months`); `matches_remortgage_preview` says whether the term used is that one. Money figures are plain numbers in the user's reference currency (`currency`). Changes nothing. The figures are calculations, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: balance?, annual_rate_percent?, term_months?, target_monthly_payment? ### report_issue (read, family feedback, needs a subscription after setup) Sends the Moola team a short report when a Moola tool's answer could not be used: the result was unclear or looked wrong, an argument was rejected, or no Moola tool does what was needed. `tool` names the Moola tool, `problem` the kind of problem, and `note` says in a sentence what happened. A note carries no balances, no ages and no names; any run of three or more digits is removed before it is stored or sent. One report per person is received every ten minutes; a further report inside that time answers `received: false` with reason `throttled`. It reads and changes nothing in the person's Moola data and returns no figures, so it is not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: tool, problem, note ### check_proposed_action (read, family calculators, needs a subscription after setup) Runs one proposed money move (an ISA or savings top-up, a lump sum off a debt, a pension or ISA withdrawal, cash into an investment account) through Moola's projection engine over this user's saved plan, the same run preview_projection makes, and returns its effect without saving anything: net wealth in the year of the move and at the headline year, without and with it (`netWealth`); the cash held at the end of that month and the lowest month-end in the twelve months after, in money and in months of spending (`cashAfter`, no threshold applied); the income tax and social contributions the engine charges that calendar year, without and with it (`tax`); and `findings`, each a `code` with its `figures`: what the engine could not apply as asked (capped_to_allowance, capped_to_surplus, insufficient_cash, account_not_found), its warnings (cash_reaches_zero, debt_payment_below_interest, liquidation_cascade_triggered, taxable_lump_not_taxed) and money_purchase_annual_allowance_triggered when a UK pension draw first triggers it; a finding with `inBaseline` true is in the plan without the move too. `alreadySaved` names a saved, switched-on scenario that is the same change, so the figures without and with are the same. For a UK ISA top-up, `allowance` gives the ISA allowance before and after it from the use the person has stated (get_allowance_headroom's figures; null with a reason when the use is not stated). `action` names the move; `scenarios` takes any other change in preview_projection's scenario format. Accounts are named as list_accounts returns them. Moola places no orders and moves no money; the figures are calculations from the user's own Moola data, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: action?, scenarios?, horizon_years?, confirmed_figures? ### get_allowance_headroom (read, family facts, needs a subscription after setup) Returns, for each person in the plan and the current tax year of their country of residence, each tax-advantaged allowance: its statutory `limit` (with the official `source`), what the person has stated they used (`used`, basis `user_stated`), and `remaining`. UK: ISA, Lifetime ISA, pension annual allowance (the taper, money purchase annual allowance and carry-forward figures alongside, each with whether it is known to apply), CGT annual exempt amount, dividend allowance and Personal Savings Allowance. US: 401(k) elective deferral and IRA limits. Other countries return supported false. `used` is never estimated: when the person has not stated it for every account the allowance covers, `used` and `remaining` are null with `reason`, and the limit is still returned. Moola places no orders and moves no money; the figures are the user's own Moola data and statutory limits, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### get_upcoming_events (read, family facts, needs a subscription after setup) Returns the dated events in the next 12 months from the data the user has saved in Moola, soonest first: mortgage_fixed_rate_ends (the month after a fixed mortgage's last fixed month, with the stated rate and, where the plan models one, the new rate, its official source and the new monthly payment), tax_payment_due (a dated amount on a confirmed tax record), tax_year_ends and allowance_resets (each person's tax year, UK and US; with what is left of each allowance on the person's stated figures and the next tax year's statutory limit), and student_loan_repayment_starts (UK, the 6 April after a stated graduation year), savings_term_matures and promo_rate_ends (a date the user stated on a savings account, or a credit card for the promo rate; balance and stated rate). Each event is `date`, `kind`, `person`, `accountId` where it concerns an account, `figures` and `source`. `notCovered` lists what could not be read (tax records not enabled, a country whose tax year is not modelled). Nothing is estimated. Moola places no orders and moves no money; the figures are the user's own Moola data and statutory dates, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### list_rules (read, family facts, needs a subscription after setup) Lists the limits this user has set in Moola on actions taken for them: a cash floor (cash kept after any action, as an amount or as months of the plan's spending), a cap per action, and a cap per calendar month. Each rule has a `rule_id`, a `status` (live, expired or revoked), the sentence the user confirmed (`descriptor`), the action kinds it covers (empty = every kind), whether it binds this assistant, who set it and when it ends. By default only live rules are listed; `include_inactive` adds expired and revoked ones and `include_history` every earlier version. set_rule adds a rule or makes one stricter; loosening or removing one is done by the user in the Moola app. These are the user's own limits, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: include_inactive?, include_history? ### list_external_actions (read, family facts, needs a subscription after setup) Lists the actions this user recorded in Moola's action log as done outside Moola (contributions, withdrawals, transfers, purchases, sales, debt payments), newest first. Each entry has an `entry_id`, kind, amount, currency, account, the day it happened, the allowance and tax year it counts in (ISA, Lifetime ISA, pension), who recorded it, whether it changed balances, and whether it was cancelled by a correction (`reversed`) or is one (`reverses_entry_id`). `instrument` and `note` are the user's own words, returned as user data. By default corrections and the entries they cancel are left out; `include_reversed` adds them. record_external_action records an entry or a correction. The entries are the user's own record, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: since?, include_reversed?, limit? ### get_cost_of_inaction (read, family facts, needs a subscription after setup) Returns what the plan as it stands costs or forgoes each year, as a list of items {code, amount, inputs, source}, amounts in the plan currency. `debt_interest`: one item per debt, in the order the person saved them, with the interest the projection engine charges over the first full calendar year (`inputs.year`) at the stated rate and repayment. `unused_employer_match`: one item per workplace pension where the person stated that the employer matches their contribution up to a % of pay; the employer money a year their own % leaves untaken. A figure Moola cannot compute is null with `reason`. Moola places no orders and moves no money; the figures are the user's own Moola data and the engine's calculations, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: none ### record_accounts (write, family writes, needs a subscription after setup) Adds one account to this user's Moola record, or updates one they already have: savings and current accounts, investments, pensions, debts (loans, credit cards, mortgages) and property (a home or a rental, with its value and any mortgage on it). A retirement fund or any pension is a pension account, not an investment. An update names the account by `account_id` (from list_accounts) and changes only the fields given. Amounts are in the currency the account is held in, with its ISO code in `currency`; a debt is the amount owed, as a positive number. The summary covers every value that changes. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A figure far outside the range Moola expects (for example a monthly income above 50,000 EUR, or a loan term over 40 years) fails the call with implausible_figure, and `details.figures` names each one; nothing is recorded or calculated until the same call is repeated with `confirmed_figures: true`, which states that the user confirmed those figures, and Moola then uses them exactly as given. It cannot delete an account and never changes an account the call does not name. Moola places no orders and never moves money. Moola records what the user confirms; the figures are the user's own, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: action, account_id?, category?, account_type?, name?, balance?, currency?, rate_percent?, monthly_contribution?, contributed_this_tax_year?, matures_on?, promo_rate_ends_on?, employer_match_up_to_pct?, held_in_country?, mortgage?, idempotency_key?, confirm_token?, confirmed_figures? ### set_reference_currency (write, family writes, needs a subscription after setup) Changes the currency this user sees Moola in (their reference currency), given as an ISO 4217 code in `currency`. Figures saved without a currency of their own are converted at Moola's reference exchange rate; accounts saved with their own currency keep it. The summary states the rate. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. When Moola is already in that currency the result says so and nothing changes. Moola never moves money. The conversion is arithmetic at a reference rate, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: currency, idempotency_key, confirm_token? ### save_scenario (write, family writes, needs a subscription after setup) Saves a what-if scenario to this user's Moola so it stays on their dashboard projection. It takes the same `scenario_type` and `config` as preview_projection. Saving counts towards the scenarios the user's Moola plan allows, exactly as saving in the app does; previewing does not. At the limit nothing is saved and the result lists the user's options (replace a saved scenario, or see the plans in the app). With `replaces_scenario_id`, the named saved scenario is deleted when this one is saved. When the user already has the same scenario, nothing is saved and the result names it; `allow_duplicate: true` saves a second copy. With no start date the scenario starts today, and the summary says so. `assumptions` lists every figure Moola filled in because the call did not give it (scenarioIndex, scenario_type, field, value, unit, reason 'default' or 'derived_from_profile', meaning): the projection used it. Each is Moola's assumption, not the user's figure; the same call with that field set gives the recalculated figures. Field meanings: a money key may be a NEW TOTAL (e.g. salary_update.newGrossAnnualSalary = the new gross salary a year, replacing the current one) or a CHANGE (e.g. increase_income.amount = the extra a month added to current income); the tool returns them under fieldMeanings when a key is wrong or missing, and `describe_scenario_fields` returns them for any type. A setting the scenario type does not take fails with unknown_config_field, and an account the user does not hold with account_not_found, exactly as in preview_projection. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. `projection_check` (when the projection can run) carries the engine's report for the scenario: `applied` lists, for each scenario and each amount it schedules, what was asked (`requestedMonthly`, `requestedTotal`) and what the engine actually applied (`appliedTotal`), with `shortfall`, `reason` (capped_to_surplus, capped_to_allowance, insufficient_cash, account_not_found, after_horizon, salary_not_paid), the first month affected and how many months. A row with a shortfall or a reason means that scenario was NOT applied as asked: the projection carries `appliedTotal`, not the request, so a result with a shortfall is not what the user asked for. An after_horizon row has zero totals: nothing of it runs inside the projection. `warnings` are engine facts with the first month and age they happen (cash_reaches_zero, debt_payment_below_interest, liquidation_cascade_triggered, taxable_lump_not_taxed: a taxable lump sum credited in full because the engine has no tax model for that country, with its `amount` and `country`; purchase_not_affordable: a purchase that was NOT made, so no property and no loan are in the projection, because the deposit plus purchase tax (`requested`) is more than the cash and investments available that month (`value`), both nominal; deposit_rolled_into_mortgage: the deposit (`requested`) was paid only up to `value`, the rest added to the loan). cash_reaches_zero with liquidation_cascade_triggered means cash is at zero and investments are sold to cover spending from that month, not that the savings have run out. Totals are in the projection's frame (`appliedFrame`). `paymentChanges` lists each debt payment a scenario re-sets (a repayment re_mortgage): the account, the month it starts, `previousMonthly`, `newMonthly`, `newRatePercent`, `termMonths` and the `balance` re-spread, as the engine charges them (money of that month, not deflated). A figure far outside the range Moola expects (for example a monthly income above 50,000 EUR, or a loan term over 40 years) fails the call with implausible_figure, and `details.figures` names each one; nothing is recorded or calculated until the same call is repeated with `confirmed_figures: true`, which states that the user confirmed those figures, and Moola then uses them exactly as given. A scenario models a change and never moves money; the figures are the user's own what-ifs, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenario_type, title?, title_given?, config, target?, replaces_scenario_id?, allow_duplicate?, idempotency_key, confirm_token?, confirmed_figures? ### change_scenario (write, family writes, needs a subscription after setup) Changes a scenario this user has saved in Moola, named by `scenario_id` (from list_scenarios) or by its current title (`scenario_title`): its title (this is how a scenario is renamed), some of its settings, or both. A title that matches several saved scenarios is refused and nothing changes. Only the settings given in `config` change; the rest stay as saved. The changed scenario is checked the same way a new save is: an incomplete setup is refused, naming the fields, and a scenario with no start date starts today, which the summary says. Switching a scenario on or off is not possible here; that stays in the app. The summary lists each value before and after. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A scenario models a change and never moves money; the figures are the user's own what-ifs, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenario_id?, scenario_title?, title?, config?, idempotency_key, confirm_token? ### remove_scenario (write, family writes, needs a subscription after setup) Deletes a scenario this user has saved in Moola, named by `scenario_id` (from list_scenarios). The scenario is deleted, not switched off (switching on and off stays in the app), and it no longer counts towards the scenarios the user's plan allows. The summary names the scenario. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A scenario models a change and never moves money; this is the user's own record, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenario_id, idempotency_key, confirm_token? ### record_profile (write, family writes, needs a subscription after setup) Updates this user's own profile in Moola: first name, year of birth, the country they live in, and the state or canton where the country has them; for a couple, the partner's first name, year of birth and whether they are married; the UK State Pension forecast and qualifying years (own and partner's) and the Swiss AHV start year. Only the fields given change; the others stay as they are. The country decides which tax rules Moola applies, so a country change is described in full. The display currency is not changed here; a `currency` value is refused with reason `use_set_reference_currency`. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A figure far outside the range Moola expects (for example a monthly income above 50,000 EUR, or a loan term over 40 years) fails the call with implausible_figure, and `details.figures` names each one; nothing is recorded or calculated until the same call is repeated with `confirmed_figures: true`, which states that the user confirmed those figures, and Moola then uses them exactly as given. Moola records what the user states; the details are the user's own, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: first_name?, year_of_birth?, country?, region?, state_pension_forecast_weekly?, state_pension_qualifying_years?, ahv_contributing_since?, partner?, currency?, idempotency_key, confirm_token?, confirmed_figures? ### record_income (write, family writes, needs a subscription after setup) Updates this user's own income in Moola: EITHER their salary (`salary`) OR their other income, such as rent received, a pension or dividends (`other_income`), one of the two per call. A salary is taken as stated: before or after tax, a year or a month, and its currency; Moola saves it the way its own income editor does. Where Moola has no tax rules for the user's country, only an after-tax monthly salary is accepted (reason `before_tax_salary_not_modelled_for_country`). get_setup_status names the salary form Moola works from in the user's country (`salaryAsk` on the income part). Other income is in the currency Moola shows figures in (`currency`); a row is matched by its name and updated, or added; rows not named stay as they are, and no row is ever removed. Each other-income row requires `after_tax`, the person's own answer on whether the amount is before or after tax; Moola never fills it in. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A figure far outside the range Moola expects (for example a monthly income above 50,000 EUR, or a loan term over 40 years) fails the call with implausible_figure, and `details.figures` names each one; nothing is recorded or calculated until the same call is repeated with `confirmed_figures: true`, which states that the user confirmed those figures, and Moola then uses them exactly as given. Moola records what the user states; the figures are the user's own, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: salary?, other_income?, currency?, idempotency_key, confirm_token?, confirmed_figures? ### record_spending (write, family writes, needs a subscription after setup) Updates this user's monthly spending in Moola, by category: rent, other housing costs, bills and utilities, food and groceries, transport, childcare, subscriptions, leisure and entertainment, shopping, health insurance, car insurance, life insurance and other spending. Amounts are monthly, in the currency the spending is saved in (the currency Moola shows figures in, or the spending's own currency when get_profile_and_budget names one in `spending.currency`), whose ISO code is given in `currency`; an amount in any other currency is refused. Only the categories given change; the others keep their figures. The summary includes the new monthly total. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A figure far outside the range Moola expects (for example a monthly income above 50,000 EUR, or a loan term over 40 years) fails the call with implausible_figure, and `details.figures` names each one; nothing is recorded or calculated until the same call is repeated with `confirmed_figures: true`, which states that the user confirmed those figures, and Moola then uses them exactly as given. Moola records what the user states; the figures are the user's own, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: currency, rent?, other_housing_costs?, bills_utilities?, food_groceries?, transport?, childcare?, subscriptions?, leisure_entertainment?, shopping?, health_insurance?, car_insurance?, life_insurance?, other?, idempotency_key, confirm_token?, confirmed_figures? ### record_tax_return (write, family writes, needs a subscription after setup) Records a tax return, assessment or year-end certificate the user has already filed, from the figures on the user's own document, so it appears on their Moola Taxes page alongside any others. It takes the country, the tax year as that country writes it, the currency, and the figures the filing shows: total income, tax assessed, tax paid in advance, the balance (positive if still owed, negative if a refund), income by type, deductions, foreign items, disposals, properties and the filing's own breakdown lines; anything the filing does not show is left out. It takes the figures as filed: Moola derives the tax-year period and the effective rate itself. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. The document itself is not attached and Moola keeps no copy of it, only the figures. When a record for that country and tax year is already on file, the call is refused and names it; `replace: true` makes the new figures supersede it. Each record is one country's filing and stands on its own: Moola does not add figures together across countries. This records what was filed: it is not a tax filing, it sends nothing to any tax authority, and it is not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: country, tax_year, period_start?, period_end?, currency, filing_type, total_income, tax_assessed, tax_paid_in_advance?, balance?, income_by_type?, deductions?, foreign_items?, flags?, breakdown_lines?, disposals?, properties?, replace?, idempotency_key, confirm_token? ### duplicate_scenario (write, family writes, needs a subscription after setup) Saves a copy of a scenario this user has saved in Moola, named by `scenario_id` (from list_scenarios), under `title` (default: the original's title with ' (copy)'). The copy has the same settings; change_scenario can then change it. It counts towards the scenarios the user's plan allows, exactly as a save does. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. The result is the new scenario as read back from the user's record. A scenario models a change and never moves money; the figures are the user's own what-ifs, not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: scenario_id, title?, idempotency_key, confirm_token? ### set_rule (write, family writes, needs a subscription after setup) Adds a limit on actions taken for this user, or makes one of their limits stricter (`rule_id` from list_rules). Kinds: `cash_floor` (cash kept after any action: `amount` and `currency`, or `months` of the plan's spending), `per_action_cap` (`amount` per action) and `monthly_cap` (`amount` per calendar month, counting the actions recorded in Moola's action log that month). `action_kinds` limits a rule to some kinds of action (empty = every kind); `applies_to` binds every connected assistant (default) or only this one; `ends_on` sets a last day. On an existing rule, fields left out keep their current values. A change that loosens a rule (a higher cap, a lower floor, fewer actions or assistants covered, an earlier end) is refused with `needs_app` and the app link: loosening and removing rules is done by the user in the Moola app. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. A rule is the user's own limit and never moves money; it is not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: rule_id?, kind?, basis?, amount?, currency?, months?, action_kinds?, applies_to?, ends_on?, idempotency_key, confirm_token? ### record_external_action (write, family writes, needs a subscription after setup) Records in Moola's action log something the user did outside Moola: a contribution, withdrawal, transfer between their own accounts, purchase, sale or debt payment, with its amount, currency, account and the day it happened. By default the plan follows: for a contribution, withdrawal, transfer or debt payment the account balances (`account_id`, and `counter_account_id` when given: the other side of a transfer, or the account the money came from) change by the amount, in the account's own currency. A purchase, sale or other entry changes no balance. Money paid into an ISA, Lifetime ISA or pension is a `contribution` with that account as `account_id` and the account it came from as `counter_account_id`; a transfer or withdrawal into one is refused. `apply_to_balance: false` records the entry without changing balances. A wrong entry is never edited: `reverses_entry_id` (from list_external_actions) records a correction that cancels it, and moves its balances back. The first call returns `confirmation_required` with a plain summary and a `confirm_token`; the change is applied only when the same call is repeated with that token. Nothing is saved before that. Moola places no orders and never moves money: this records what the user says they did. It is not advice. An argument error names the fix in details.fix; any other error is on Moola's side and is not fixed by rewriting the arguments. Inputs: kind?, account_id?, counter_account_id?, amount?, currency?, occurred_on?, instrument?, units?, note?, apply_to_balance?, reverses_entry_id?, balances_after?, idempotency_key, confirm_token? ## Errors A failure is `ok: false` with `error.code`. The codes and what they mean: - invalid_input: The arguments for this tool were not valid, so nothing was calculated. The details name the fields that did not match the tool input schema. - not_found: Moola has no entry for what was asked for, so nothing was calculated. No figure was substituted or estimated. - no_data_yet: This user has not saved the information in Moola that this calculation runs on, so there are no figures to return. They can add it in the Moola app. - not_supported: Moola does not calculate this for this user, so there are no figures to return. No figure was substituted or estimated. - source_unavailable: A data source this tool reads from could not be reached, so nothing was calculated. It is safe to try again shortly. - timeout: The calculation did not finish in time and was stopped, so there are no figures to return. It is safe to try again. - internal: Something went wrong inside Moola while running this tool, so there are no figures to return. It is safe to try again. - not_confirmed: Nothing was changed in Moola: the person did not confirm this change, or the confirmation given could not be used for it. A call without a confirmation returns a fresh summary to confirm. - unknown_config_field: A scenario setting was not one this scenario type takes, so nothing was calculated: the projection would have left it out. The details list the settings this scenario type accepts, under acceptedFields, and what each one means under fieldMeanings. - account_not_found: A scenario names an account that is not among this user's accounts, so nothing was calculated. The details name the setting; use the name or account_id list_accounts returns. - insufficient_cash: The account a scenario draws from holds less today than the scenario would take from it, so nothing was calculated. The details name the settings to change. - implausible_figure: A figure in this call is far outside the range Moola expects, so nothing was recorded or calculated. The details list each figure with its field and the reason, under figures. The same call repeated with confirmed_figures: true, once the user has confirmed them, uses the figures exactly as given. - subscription_required: This Moola account has no active subscription, so this tool returned no figures and changed nothing. get_setup_status and get_moola_link stay available; the Moola plans are on the plans page: get its link with get_moola_link (destination plans_and_pricing) and call it 'the plans page' when you tell the user, never the destination name. ## Prompts Prompts are chosen by the person from the connector menu; their text becomes the person's own message. ### set_up_moola (Set up my Moola plan) Help me set up my Moola plan. First call get_setup_status to see which parts of my plan are already filled in and which are missing. Then go through the missing parts one at a time, in the order it lists them (profile, income, accounts, spending), then the goal it lists under `goal`. For each part, ask me for the details in plain language, a few questions at a time, and save them with the tool get_setup_status names for that part (record_profile, record_income, record_accounts, record_spending or save_scenario). If I have a partner, ask for their first name and year of birth too, and for my state pension forecast if I know it. For the goal, ask me what I want to plan towards and save it as a scenario. Every save shows me a summary first; only save after I confirm it. Skip any part that is already done. For accounts, if get_setup_status names a connectBankPage, offer me the choice of connecting my bank instead of typing them in: give me the get_moola_link 'connect_bank' link, where I approve access in my bank's own app, and once I say it is done, call list_accounts to see what arrived. Use the currency I live in unless I say otherwise. When every part is done, call get_setup_status again, tell me what is complete, and tell me that my first visit to the Moola app opens on a recap of what I saved. Offer me the get_moola_link 'dashboard' link. Do not give financial advice; Moola records my own figures and calculates on them. ### when_can_i_retire (When can I retire?) When is the earliest I could stop working or retire on my Moola plan? Use find_earliest_age on my plan as saved, then solve_spending_for_stop_age at that age to show what I could spend each month. Say which spending figure the answer assumes. These are calculations on my own figures, not advice. ### can_i_afford_a_home (Can I afford a home?) I want to check whether I can afford to buy a home. Ask me the price, the deposit percentage and when I want to buy, then use check_affordability on my saved Moola figures. Show the deposit gap, the monthly loan payment against my surplus and how many months it would take to save. Nothing should be saved. ### tax_if_i_moved (My tax if I moved country) How would my income tax and take-home pay change if I moved to another country? Ask me which country (and canton or state, where it applies), then use get_tax_breakdown for where I live now and for that country. Put the two side by side: tax, social contributions, net pay a month and effective rate. ### savings_goal_timeline (How long to my savings goal?) How long until my savings reach a target? Ask me the target amount, and whether I plan to save a different amount each month, then use calculate_time_to_goal. Show the months, the date that lands on and the monthly amount the answer assumes. ### review_my_plan (Review my Moola plan) Give me a short review of my Moola plan. Use get_financial_snapshot and get_setup_status: my net worth, cash, investments, pensions and debts, my monthly income, outgoings and surplus, and any part of my plan that is still missing, with the get_moola_link page to fill it in. ## Limits Moola gives no financial advice, places no orders and never moves money. Figures are the person's own data and Moola's calculations.