When to use
Usebook_imports_read for list, read. Use book_imports for the companion actions. The live tool list determines availability.
Input
Actions
The tool’s schema combines the fields of every action. Each action accepts only its own fields below; sendaction with them.
Read actions
These actions only read. They change nothing.list
list
The journals and VAT books the company imported, the latest first: each with its id, file name, period and counts.
read
read
Read a journal or VAT book the person gave without saving it, named with attachment_id or upload_id. A journal answers its period, entries, lines and debit total, its kinds (opening, reopening, regularization, closing), how many of Melso’s own entries it replaces, and opening_differences when its opening does not carry the balances the imported books end with. A VAT book answers its period, invoices, those already in Melso (duplicates), the new ones, their totals by kind and rate as the 303 counts them, and the invoices to review. problems and can_save say what keeps it from being saved. A list of subaccounts answers how many it names and with a tax ID, those Melso has no name for yet (new), those it renames (changed), how many the books move (in_books), a sample and the rows it skips (the plan’s own accounts, groups 8 and 9, rows without a name).
Output
read returns what a journal, VAT book or subaccount list holds and the checks that determine whether it can be saved. list returns prior imports, latest first.
The result uses MCP content blocks; JSON payloads are encoded in text and may also appear in structuredContent. Check isError before reading a success payload. When the server declares an outputSchema, it is reproduced below. Check the action result and its declared fields before reporting success.
Example
Use the actions of this tool in the order shown; its companion tool covers the other actions. These are thearguments of each call, in order.
1
Read the journal without saving it