Skip to main content
Glama

Octobooks

Upload the old books

switch_in

Bring the old books in (round 334): upload the export of the old accounting system as it gave it, one file per request or several in files ([{filename, content_base64}], each at most 5 MB): DATEV (Buchungsstapel with Debitoren/Kreditoren and Kontenbeschriftungen, and the ZIP of document images whose document.xml the bookings' Beleglink names), Xero, QuickBooks, sevDesk, Lexware Office, FreeAgent, Sage. The files wait beside the books; the answer says which system they are from and what was found (accounts, contacts, trial balances, bookings, open items, notes), or what is missing. what=status shows the same without a new file; what=clear starts over. what=documents takes the old receipts and invoices (PDF, XML, pictures, or a ZIP of them, as the old system or a folder holds them) and puts each on its posted booking where exactly one fits by number, or by amount and date; the rest are listed with the reason. documents_came_across says, per way in (the switch, Xero, QuickBooks), how many documents sit on their bookings and which wait, with the reason. Nothing goes into the books with add: Bring it in does that, and Octobooks then compares its trial balance with the files'. Round 891: what=bring_in with kind (the mode, one of can_bring_in) and ref (the cutover day, cutover_proposed) proposes Bring it in under the owner's switch ai_pairs_old_payees (on until the owner switches it off): an ask on Home naming the files and the count of each kind of write (journals, suppliers changed and new, accounts, registrations, tax codes, the year end); a person confirms it with one tap and the import runs in that person's session on the files the ask named, then stands on Home with Undo. Round 947: kind=master_data with only new suppliers, customers and accounts on a company with no posted journal runs at once (state brought in), with Undo on Home. After the switch (round 615): what=old_books lists the periods done in the old books (months, VAT returns, years up to the cutover: no job asks for them), the bank accounts that may move onto the old books' bank ledger account, the payees paired and the lines Octobooks found under another spelling (by amount, date and rhythm). what=reopen (kind month_close, vat_return or year_end, ref as listed) brings a period's job back; what=done_in_old_books undoes it. what=link_bank (bank_account, account) moves a bank account onto the old ledger account while nothing is booked on its own. what=pair (bank_line_id) confirms the payee found for the line; what=refuse_pair says not this; what=unpair (bank_text) takes a pair back. A confirmed pair carries the receipt source over; Octobooks posts on the old books' precedent only where a person confirmed it. After a switch from Xero (round 674): what=xero_new brings in what is new from Xero (a parallel run, late items): Octobooks reads only what Xero created or changed since the last read, holds it against the books by Xero's ids and puts only new and changed entries forward (a change as a correcting entry naming the entry it corrects), released as the owner's switches allow; what=xero_status says what the last read proposed and the trial balance against Xero month by month. Read only towards Xero. Mirror Xero (xero_status says mirror_xero): on, set by the owner on the Xero card, books every new or changed Xero booking on each sync (a changed or voided one reversed and booked again); what=xero_mirror ref=off ends the sync and the company moves to Octobooks. Migration (round 1246): what=move says where the migration stands, as the Migration page: stages, counts, every month of Identical history Xero beside Octobooks, the entries with documents and the days they take, the held entries 50 at a time (held_total; ref=<held_next> for the next 50); while a migration is open, what=xero_mirror answers with that state and the cut over stays on the Migration page. what=move_propose (kind: the held entry's ref from what=move, ref: one of the company's tax codes per held rate, "TAX008=DE_IN_7,TAX013=DE_IN_19", or one code where the entry holds one rate; each of the document's direction and valid on its day) proposes the codes of an entry held for a Xero tax rate or for a code not valid on its day (EC goods before 2021: the nearest code valid then); a reverse charge code books its VAT pair; a person accepts it on the page. what=move_draft_list (files: [{item, in_xero: a count or "Not read"}]) keeps the list of what to set up again (bank rules, repeating invoices, the asset register, budgets, payroll). BuchhaltungsButler the same way: what=bb_status says the postings held against the books (already in the books, new, differing, only in Octobooks) and the last sync; what=bb_mirror ref=off ends Mirror BuchhaltungsButler. Replay proof before the switch (round 694): what=replay rebooks the months the owner picks (months, e.g. '2026-03,2026-07'; default the last 6 the old books hold) from the complete Xero read or the export files handed in, with Octobooks' own rules (recognise transfers and payments of invoices, the company's rules, the precedent of each payee, VAT worked out again at the old system's own rates) and lists line by line where Octobooks would book otherwise (agrees, differs, asks, kept); kind xero or files picks the old books where both wait. Writes nothing. Parallel run (round 1083): what=parallel_run sets Xero's month end figures beside the books' (revenue, cost of sales, stock, debtors, creditors, VAT, bank, other accounts), with the accounts and entries that explain a difference. Coming from Unleashed (round 1107): what=unleashed_stock brings in products, warehouses, suppliers, customers, bills of materials, opening stock per warehouse and batch at average land cost and the open purchase and sales orders, through the Unleashed connection (GET only) or from files, Unleashed's export files (ref: the stock day, YYYY-MM-DD), as a stock approval request released as the owner's switches say; what=unleashed_tie: stock against Unleashed to the penny, per warehouse, with every product that differs. Move my books for me (round 744): what=move_for_me (kind: the old system's name, ref: a note) records a request that Octobooks runs the switch, in Octobooks' own queue; what=move_status: asked, running or done with the replay proof; what=move_withdraw takes it back while it is only asked. what=xero_disconnect or qbo_disconnect (round 909) disconnects Xero or QuickBooks as Disconnect on Settings, Apps: under the owner's setting for settings changes by the AI, set to apply at once it ends now, Ask me (default) it waits for the owner's one tap; what was brought in stays; a Xero disconnect also revokes Octobooks' access at Xero (needs the right propose). rounding_account (with add or status): a journal of the old books out by up to 0.05 is balanced on this account of the chart when brought in ('' takes it back). Sales invoices from a file (round 1193): what=sales_invoices with files (one CSV or Excel file, one row per invoice line, as Unleashed, Xero or a sheet export it) reads the columns from the headings and checks each invoice: the customer (on file by code or full name, else new), the VAT rate and account of each line, the totals against the file's; nothing is written and the answer carries confirm. rates lists each VAT text of the file once with the home sales tax code it maps to; a text that is no code or full name of one is mapped with rates ({text: code}, '' for rows without a rate), as Xero's import maps tax rates. The same request with ref= issues the ready invoices with their own numbers and dates in number order, posted to the ledger, debtors and the VAT return, as the owner's switch for the issue of invoices allows; a Type column saying Credit, or minus amounts, makes a credit note; a number in the books already is skipped. Needs the right upload.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "switch_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
kindNo
whatNoadd
filesNo
ratesNo
monthsNo
accountNo
companyNo
bank_textNo
bank_accountNo
bank_line_idNo
rounding_accountNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses file size limits, supported formats, approval flows, owner-switch gating, undo behavior, read-only aspects such as 'Read only towards Xero' and 'Writes nothing', and what happens to brought-in data after disconnect. These are substantial behavioral details that the annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a very long, dense paragraph with semicolon-chained clauses and repeated 'round' references. It is front-loaded with the main import purpose, but the bulk is difficult to scan and much of the operational detail could be structured or moved to a reference.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a highly complex 12-parameter migration tool with an output schema, the description covers almost all modes and side effects, including approvals, reversals, status checks and disconnect behavior. It is substantially complete, though the missing explanation of 'company' and the overwhelming density keep it from being fully adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage across 12 parameters, the description carries the full burden and explains most of them: what modes, files structure, kind/ref context, months, rates, account, bank_account, bank_text, bank_line_id and rounding_account. The 'company' parameter is not explicitly described, and the many context-dependent meanings of kind and ref make the semantics less complete than they could be.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: uploading exports of an old accounting system, with named systems such as DATEV, Xero, QuickBooks and sevDesk. It is clearly about migration/import rather than generic uploads, though it does not differentiate itself from siblings like upload_bank_statement or upload_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives extensive mode-specific guidance: what=status checks without a new file, what=clear starts over, what=bring_in proposes posting, and replay/parallel-run/migration modes are described with their conditions. The guidance is clear in substance but buried in dense prose rather than organized as explicit when-to-use rules.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources