> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tool reference

> The MCP tools Zeno Budget serves to assistants, what each does, and the decisions that have no tool.

Zeno Budget serves its tools over MCP (streamable HTTP) at `https://app.zenobudget.com/mcp`.
Clients connect with OAuth 2.1, dynamic client registration and PKCE; discovery is at
`/.well-known/oauth-authorization-server`. A person approves the connection for the
organization they are working in or, if they belong to more than one, for all of their
organizations. The token acts as that person: their memberships and role are read again on
every call, so a tool refuses what the console would refuse.

For a person setting up Claude or ChatGPT, see [Connect your assistant](/docs/guides/assistant.md).

## Conventions

* Amounts are integer cents unless a tool says otherwise.
* A change to a forecast carries its `version` (the `updatedAt` you read). If someone changed
  it since, the tool answers `changed_since`: read it again before changing it.
* Inside a locked cycle, a forecast write answers `budget_locked`. Propose the same change with
  `propose_forecast_change` instead.
* Actuals are as fresh as the last sync. Read `quickbooks_status` before relying on one.
* A change request's `kind` is worked out from its lines: `new_spending`, `new_funding`,
  `reallocation`, `timing` or `reduction`. For a reallocation, `from` and `to` name programs
  when it touches more than one, else categories; they are null for any other kind.
* Owner and finance decide a request, never the person who made it while someone else in the
  organization may. A sole approver may decide their own, and the request records it
  (`decidedOwn`). `canDecide` already applies this rule.
* A change request's `number` is given when it is first submitted, so numbers run in the order
  requests went out; a draft's `number` is null. A request may change two adjacent locked
  budgets: `cycles` gives each budget's part, while `netChange` and `kind` describe the whole
  span. A change reaching a third budget, or two budgets with another cycle between them, is
  refused with `spans_cycles`.
* A program's `net` is income less expense everywhere except `cash_flow`, whose program block
  `net` is its cash effect. Where a tool gives them, `otherCash` is the balance sheet forecasts
  (a loan repayment, an asset bought) and `cashEffect` is the two together.
* `balance`, on `cash_flow`, `cash_flow_cell` and `budget_vs_actual`, is the carried balance:
  actual less budget to date, signed as cash, so spending under budget is positive and over it
  negative. An expense carries from the first day of the budget cycle holding the period, or
  from the first period shown where no cycle holds it (`balanceFrom`). Income and the balance
  sheet do not carry: income's balance is the period's own variance, and the balance sheet has none. A bill paid before its
  forecast's date reads over until that date, then settles to zero. Totals are their rows
  added up.
* A balance is "not settled" (`unsettled` on `dashboard`, `budget_cycle_summary` and
  `program_summary`) when it is a spending line's, has stood at least one whole month since it
  last crossed zero, and passes the variance threshold (its dollars and its percent of the
  budget to date over that run). One line per account, a parent only by its own part, largest
  first.
* `netChange` on a change request, and `net` on the forecast list's groups and total, are a
  cash effect: balance sheet forecasts included, not income less expense.
* Long answers come in pages. Every answer with its default arguments stays under 25,000
  characters; nothing is cut silently. A paged tool takes `offset` and `limit` and answers
  with `page` (`total`, `offset`, `limit`, `returned`, and `next` in words: "68 more: call
  again with offset=6.", "This is the last page." or "Nothing matches."); totals and summaries
  cover everything, not just the page. Read on with the next `offset`. After a write that changes the order,
  such as deciding an expectation, read again from `offset` 0.
* Every tool about one organization takes an optional `organization`: its name or id, from
  `list_organizations`. A connection for one organization may leave it out, and is refused
  (`organization_not_connected`) if it names another. A connection for all of a person's
  organizations must name one whenever the person has more than one: without it the call is
  refused with `organization_required`, an unknown name with `unknown_organization`, and a name
  that matches two with `ambiguous_organization`. Each refusal lists the candidates and changes
  nothing. Results then say which organization they are about.

## Organizations and clients

These are about the person, not one organization, and take no `organization`.

| Tool | What it does |
| - | - |
| `list_organizations` | The organizations this connection can work in, with the person's role in each and the firm, if any, they are there through. `reach` is `all` or `one` |
| `clients_overview` | For someone in an accounting firm: every client of their firms they work on, with each client's cash, low point, budget cycle, what is waiting on them, completeness and QuickBooks freshness, as the **Clients** page shows. A connection for one organization lists that one only |

## QuickBooks and cash flow

| Tool | What it does |
| - | - |
| `quickbooks_status` | The connection, the last sync, failures, and whether a reconnect is needed |
| `check_actuals` | Synced actuals against QuickBooks' profit and loss report. Owner and finance |
| `cash_flow` | The grid by period, with forecast, actual, projected and `balance`, and `balanceFrom` saying where each balance starts. A program block's `net` is its cash effect |
| `cash_flow_cell` | The transactions and forecasts behind one figure, over any range of days, a report's whole range included. `forecasts` is `all` (the default), `to_date` (only the budget already due) or `original` (the forecasts as a locked cycle holding the whole range was first locked, naming that cycle; refused with `no_original_budget` when there is none). The detail's `balance` gives `from`, `cycle`, `carries`, `opening`, `actual`, `forecastToDate` and `closing`, always on the live budget; `balanceFrom` matches it to a grid's. An actual reached through a payment carries `settles`, the bill or invoice it settled |
| `adjust_balance` | Move a spending category's carried balance for one program: `action` is `timing` (paid early or late), `cover` (from another category in the program that is under), `later` (raise this period, lower later months by as much, or by your `split`), `raise` or `release`. Call first without `confirm` for the preview: forecast changes, the balance before and after, `cash` in `change_request_impact`'s own figures over the cycle holding the period, and `options` (occurrences for timing, categories for cover). Then, after the person agrees, call with `confirm: true`: in an open budget the forecasts change at once; under a lock the changes go into a draft change request of the adjustment's own, holding only its lines and never added to another request, refused with `pending_in_draft` when the person's open draft already changes those forecasts. It never submits or decides. Program managers act in their own programs; viewers cannot; a parent program, or every program where programs exist, is refused |
| `budget_grid` | The budget as a program manager means it: every income and expense category down, months across, forecasts only, with no actuals and no cash balance. January to December of this year by default (`from`, `count` months). `programId` narrows it; `changedSince` keeps only forecasts created or changed on or after that day, read on the organization's calendar (`today` in the answer). Figures equal `cash_flow`'s forecast for the same months |

## Programs

| Tool | What it does |
| - | - |
| `list_programs` | The programs you may see, and the QuickBooks classes and locations they can map to. Each names its `responsible` person, or null. With `figures: true`, each top-level program carries its spending `budget`, `spent`, `left` (negative is over) and `projected`, and its income budget and income so far, for the first twelve months of the cycle named in `figuresFor`; sub-programs have none |
| `program_summary` | One program in your scope: the responsible person, the cycle, the spending figures and income pair, its net (income less expense), up to five largest variances, up to ten balances not settled with their count, its forecasts' count, total and groups with the first five, and counts and the first five of its open change requests and open expectations, with pointers to the full lists. Another manager's program is refused with `out_of_scope` |
| `save_program` | Create or change a program. Owner and finance |
| `programs_from_quickbooks` | Make programs from classes or locations. Owner and finance |

## Forecasts and templates

| Tool | What it does |
| - | - |
| `forecast_options` | The categories, bank and card accounts, and programs you can forecast with |
| `list_forecasts` | Forecasts with their next date and total over a period, filterable, paged twenty at a time with `offset` and `limit`. Past forecasts with nothing in the range are left out unless `includeEmpty: true`; `leftOut` counts them. `total` and each group's subtotal and counts cover every forecast; a group's `forecastIds` are this page's. Give one period: `from` and `to`, a cycle's `cycleId`, or a calendar `year`. `flow` is `in` or `out`. `groupBy` is `program`, `category` or `payee`, and `groups` then gives each group's `forecastIds`, how many are `past`, and its `subtotal` (`moneyIn`, `moneyOut`, `net`); `total` is the same for the whole list. Income by funder is `groupBy: "payee"` with `flow: "in"`. Each forecast carries `past`. A program manager naming another manager's program is refused with `out_of_scope` |
| `get_forecast` | One forecast with its adjustments, discussion and history, and whether you can edit it |
| `create_forecast` | Add a forecast |
| `update_forecast` | Change a forecast. Needs `version`. An adjustment of amount 0 skips that one occurrence and needs a note saying why; leaving it out of `adjustments` restores it |
| `delete_forecast` | Delete a forecast |
| `delete_forecasts` | Delete 1 to 500 forecasts in one call, each checked for role, program scope and locked budgets as `delete_forecast` checks it. Answers which were deleted and which were refused, each with its code and message; a refusal never undoes the deletions before it, and a forecast outside your programs is refused as `not_found` without its title. Confirm with the person first |
| `forecast_occurrences` | A forecast's dated occurrences, with repetition and adjustments applied. A skipped occurrence is marked `retired`, with its note |
| `forecast_context` | A category's twelve-month history, and forecasts that may duplicate a new one |
| `comment_on_forecast` | Add to a forecast's discussion. Comments cannot be edited |
| `list_forecast_templates` | Saved templates |
| `save_forecast_template` | Save a template |
| `delete_forecast_template` | Delete a template |

## Budget cycles and change requests

| Tool | What it does |
| - | - |
| `budget_cycles` | Cycles, the cash reserve and `varianceThreshold` (`percent`, `amount`). Each cycle's `when` is `current` (holds today), `upcoming` (starts later) or `ended`. `current` is the cycle holding today, else the next to come, else the latest, and its `when` says which. A locked cycle carries `lockReason` when it was locked with expectations open |
| `budget_cycle_summary` | What locking a cycle locks, for a cycle open, in review or locked: income, expense and net (income less expense) by top-level program and `Not in a program`, with `otherCash` and `cashEffect`, and a `total`; a retired program only when it has a figure; for owner and finance, the lowest projected weekly cash to the cycle's end (60 weeks at most) against the reserve, and weeks below the reserve and below zero (`cash` is null for someone who sees only some programs); completeness for the cycle's year, the same figure as `forecast_completeness` with this cycle's `period` (null once its first month has passed); `open`, the largest 20 open expectations, with `openCount` counting them all; and `unsettled`, the largest 20 balances not settled within your programs, with `unsettledCount`; `unrecorded`, the days of the history year not yet recorded when the cycle is judged before it begins; and `requests`, each request on the cycle with this cycle's part (`netChange`) and the other cycle it changes (`otherCycle`). `reasonRequired` says locking now asks for a reason |
| `create_budget_cycle` | Open a cycle. Owner and finance |
| `review_budget_cycle` | Move a cycle to review, or reopen it. Owner and finance |
| `delete_budget_cycle` | Delete a cycle that was never locked. Owner and finance |
| `set_cash_reserve` | Set or clear the reserve. Owner and finance |
| `budget_as_locked` | The budget as it stood at the first lock, `takenAt`, by date and paged (`offset`, `limit`, 60 by default), narrowed by `programId`; `total` covers every occurrence; `cycle.lockedAt` is the latest lock |
| `propose_forecast_change` | Add a create, update or delete line to your draft change request. A change may touch two adjacent locked budgets, and lands in one request naming both |
| `remove_proposed_change` | Remove a line from your draft |
| `submit_change_request` | Submit your draft with a title and reason. Emails owner and finance. `neededBy` is an optional day, today or later (`needed_by_past` otherwise); `null` clears it and leaving it out keeps it |
| `reverse_change_request` | Prepare a reversal of an approved or partly approved request: a new draft whose lines undo what the approval applied, from each forecast as it is now. It changes no forecast; submit and decide it like any request. `reverses` and `reversedBy` link the two. Refused with `not_approved`, `already_reversing`, `already_reversed` (reverse the reversal instead), `not_locked`, `already_pending` (one of your own open requests already holds a forecast it would turn back), `spans_cycles`, `nothing_to_reverse`, `not_found`, `forbidden`, `out_of_scope`, `billing_lapsed`, or a forecast check's own code. Confirm with the person first |
| `withdraw_change_request` | Withdraw your submitted request |
| `list_change_requests` | Change requests you may see, by status, each with its `number`, `kind`, `from` and `to`, `cycles`, `neededBy`, `netChange` (its cash effect) and `canDecide`. `programId` includes the program's sub-programs. A draft with no lines is left out |
| `waiting_on_me` | Requests to decide (not your own while someone else may decide it), soonest `neededBy` first, sent back to you, and your draft. A draft with no lines is left out |
| `get_change_request` | One request with its lines and timeline, its `kind`, `from` and `to`, `canDecide`, `deciders` (who may decide it), `decidedOwn` (its requester decided it), `neededBy`, `cycles`, and `reverses` and `reversedBy`. Each program's impact gives `net` (income less expense), `otherCash` and `cashEffect`; a request decided before November 20, 2026 keeps what its approver saw, with `netMeaning: "with_other_cash_movements"` |
| `change_request_impact` | The request's impact on its programs, and for owner and finance on the organization's cash, with the `kind` of the lines laid. When `lineIds` names only some lines of a pending reallocation, `leaves` gives how much less (negative) or more (positive) cash each program you may see would have over the cycle; it is empty otherwise and for a decided request. Across two budgets, the impact runs over both |
| `comment_on_change_request` | Comment on a request. Emails the other side |
| `remind_approvers` | Email the approvers again, at most once a day per request |

## Reports and the dashboard

| Tool | What it does |
| - | - |
| `budget_vs_actual` | The report for a range of up to twelve months. Each category, section total and net carries `budget` (the budget to date), `actual`, `variance`, `fullBudget` (every forecast in the months; the revised budget under a locked cycle), `remaining` (fullBudget minus actual, signed as cash), `projected`, and `originalBudget` (the budget as first locked, for the cycle named in `original`; null when no cycle that has been locked holds the whole range). With `priorYear: true`, `priorYearActual` covers the same months a year earlier. With `byProgram: true`, `programs` gives each top-level program's section totals and net, then `Not in a program` for someone who sees every program. `balance` is the carried balance at the range's end, and each month's with `byMonth`. `threshold` is the organization's variance threshold and `marked` flags each unfavorable figure over it. `notes` holds the notes on these lines and months that you may read |
| `comment_on_variance` | Note a variance by `accountSourceId`, `programId` and `month`. Anyone who can read the line may, viewers included; the whole organization's line (no `programId`) needs someone who sees every program (`program_required` otherwise). Notes cannot be edited or deleted, and no email is sent |
| `export_budget_vs_actual` | The report as CSV, Excel or PDF. `columns` chooses the figures (`originalBudget`, `fullBudget`, `budget`, `actual`, `variance`, `remaining`, `projected`, `priorYearActual`, `balance`), by default `budget`, `actual` and `variance`; `balance` adds a "Balance in words" column. The file adds an "Over threshold" column when a threshold is set and a "Notes" column when there are notes. Takes `byProgram` as the report does; the file then has each program's section totals and net, without month columns |
| `dashboard` | Home's figures. `reserve` is the organization's cash reserve for every role; `cash.reserve` is null for someone who sees only some programs. `toDecide` leaves out the person's own requests while someone else may decide them, and puts the soonest needed first. `completeness` is for the cycle being built, else the year ahead; `completeness.period` names it. `unsettled` lists the largest 20 balances not settled, with `unsettledCount`, for owner and finance, over the cycle holding today. `programs` is null for owner and finance; for anyone else it has a row per top-level program they see, with the spending figures, `unsettled` (`count` and `largest`) and the open requests touching it. `seesEveryProgram` is true for owner and finance, and for someone assigned every active program; anyone limited to assigned programs, even all of them, gets `cash.today` null and the programs' cash effect, never the bank's balance |

## Completeness

| Tool | What it does |
| - | - |
| `forecast_completeness` | Expectations from the last three years and how each is decided, for the year judged, paged: six at most, open first and largest first. `status` is `open`, `decided` or `all` (the default); `key` returns one expectation in full; `summary` is always the whole year's. `period` is a cycle's id (refused with `cycle_not_judged` once its first month has passed) or `year_ahead`; left out, the cycle being built. The answer names `summary.period`, lists `periods`, and gives `underWay` for a cycle no longer judged. An expectation in the person's own unsubmitted draft stays open, with `inDraft`. `summary.unrecorded` names the days of the history year not yet recorded. Each `decision` gives the year it belongs to (`yearFrom`, `yearTo`) and `ownYear`, false when it carries in from an earlier year whose twelve months hold this year's first month |
| `forecasts_from_history` | Make forecasts from history for open expectations. A payee with a cadence gets its own repeating forecast; every other payee in the category and program is folded into one forecast a month for each bank or card the money went through, and six or more such months on one account, with no two empty months in a row, become one monthly forecast at their average. Pass the `period` you read. An expectation already in your draft is skipped as `in_draft` |
| `mark_expectation` | Mark an expectation covered by a forecast, not this year, or open again, for the `period` you read. Answers with that expectation as it now stands and the year's summary; read `forecast_completeness` with `status: "open"` from `offset` 0 for the next. The decision belongs to that year and replaces only that year's; a decision for another year stands. Reopening stops an earlier year's decision carrying in |

## Cards

Most tools draw a card in clients that support MCP Apps: the QuickBooks connection, forecasts
and a forecast, the cash flow and a figure's drilldown, the budget grid, programs and a program's summary, budget vs
actual, the dashboard, budget cycles and what locking one locks, change requests and a change
request, forecast completeness, and a firm's clients.
Cards only read. A button on a card posts the person's words into the chat, except the
decision buttons on the change request card.

## Decisions kept for people

These have no tool, and the service refuses them from an assistant token:

* approving, rejecting or sending back a change request;
* locking or unlocking a budget cycle;
* people, roles and program assignments;
* accounting firms: making one, its people, linking and ending clients, assigning people, and handovers;
* connecting or disconnecting QuickBooks;
* the variance threshold, a setting owners and finance change in the console;
* share links and assistant tokens.

The change request card carries **Approve**, **Approve ticked lines**, **Send back** and
**Reject** for someone who may decide the request, and otherwise says who decides it. Those buttons call the server with a key signed for that card, so
only the approver's click can use them; the model cannot.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.