RoboLedger
Server Details
General ledger built on RoboSystems: close, consolidation, schedules, bank feeds, reconciliations
- Status
- Healthy
- Uptime
- 6.3% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- Repository
- RoboFinSystems/robosystems
- GitHub Stars
- 24
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 118 tools
Most tools have a crisp single purpose and descriptions go out of their way to contrast near-neighbours ("HOW IT DIFFERS FROM financial-statement-analysis / live-financial-statement", preview vs refresh vs list-reconciliations). But the read path alone offers five overlapping statement readers (financial-statement-analysis, live-financial-statement, build-fact-grid, consolidation-worksheet, information-block/disclosures) plus two trial balances, and the block family (get-information-block, list-information-blocks, information-block, create/update/delete-information-block) is easy to misselect. Distinctions exist but require careful reading rather than being obvious from the names.
Overwhelmingly a consistent kebab-case verb_noun pattern (create-/get-/list-/update-/delete-/preview-/record-/set-/resolve-). Deviations are a handful of noun-only read tools (disclosures, information-block, aged-balances) and bare verbs (remember, recall, forget), which break the pattern but stay readable and small in number.
118 tools is far past what an agent can hold in view, and the surface keeps growing by domain (ledger, consolidation, XBRL/SEC, documents, semantic memory, raw graph/Cypher/GraphQL). Every tool earns its place in a full accounting platform, but as a single MCP set the count forces retrieval-by-description rather than recognition, which is the mismatch the scale penalizes.
Coverage is unusually thorough end to end: full CRUD for agents, entities, dimensions, documents, events, handlers, journal entries, mapping arcs, reports and taxonomies; a complete close lifecycle (calendar init, drafts, promote, close, reopen, period status); reconciliations (preview/refresh/list/sign-off/policy); consolidation (propose/preview, acquisitions, deconsolidation, ownership changes, allocations); plus graph and semantic-memory escape hatches. The deliberate gaps (agents never deleted, posted entries immutable, 501 hints redirecting to the right operation) are documented rather than dead ends.
Publisher details
- Operator
- RFS LLC DBA RoboSystems · Publisher source
- Operator website
- https://robosystems.ai
- Vendor relationship
- First-party
- Documentation
- https://roboledger.ai/docs/what-claude-can-do
- Privacy policy
- https://robosystems.ai/pages/privacy
- Trust center
- https://trust.robosystems.ai
- Restrictions
- Requires a RoboSystems account; tools act on the graphs the account can reach.
Available Tools
118 toolsaccept-suggestionsAccept suggestionsADestructiveInspect
Take the suggestion on every open bank line the filters select, oldest first: each is classified to its suggested_element_id through the same update a single line goes through, and posted too with commit: true. Select by source, agent_id, suggestion_source (agent_default for the learned ones), a date range, or explicit event_ids from a multi-select. A line it cannot take — no suggestion to take, already classified or posted, a closed month, a choice the handler refuses — comes back skipped with the reason, never forced. dry_run: true reports the counts without writing; limit bounds a call and truncated says more matched.
Inputs: limit, commit, source, dry_run, +6 more.
aged-balancesAged balancesARead-onlyIdempotentInspect
Receivables or payables aged at a date: who owes the company and how late it is, or whom it owes and when.
WHEN TO USE:
"Who owes us money?", "what's overdue?", "whom do we owe, and when is it due?"
Month-end review: the aging at the month-end date, and each entity's open items tied out to its receivables or payables account
One counterparty's open invoices or bills: pass
agent_id
PARAMETERS:
kind (required):
receivablesorpayablesas_of (optional, YYYY-MM-DD): the date to age at; omit for today. A payment dated after it has not happened yet
entity_id (optional): omit for the group parent
scope (optional, default
entity):groupsums the parent and the members consolidated in full, and sets apart what they owe each otheragent_id (optional): that counterparty's open items instead of the summary
RETURNS: Amounts are in cents.
Without
agent_id:buckets(current, 1–30, 31–60, 61–90 and over 90 days past due, and unapplied credit from overpayments),agents(a row per counterparty, largest first),defaulted_due_date_count(items with no due date of their own, aged as due on receipt), andtie_outs: each entity's open items against its control accounts, withdifference_centsnamed and never plugged;pending_close_centsis what the close will post from documents already counted (a payment committed in an open month), so it is not a difference. For a group,intercompanyholds the items the members owe each other, andpairssets both sides of each pair side by side.With
agent_id:items, oldest first, each with its due date,due_date_basis, days past due and bucket.
RELATED TOOLS:
agent-activity — a counterparty's events and transactions
update-event-block — correct an invoice's or bill's
due_date
Inputs: kind (required), as_of, scope, agent_id, +1 more.
agent-activityAgent activityARead-onlyIdempotentInspect
Fetch recent events and transactions for a counterparty.
WHEN TO USE:
To review a customer's or vendor's event history
To answer "what has happened with this counterparty?"
To find all transactions triggered by events from this agent
AR/AP analysis starting from a specific counterparty
PARAMETERS:
id (required): Agent id (agt_ prefixed ULID)
entity_id (optional): the entity whose dealings with this counterparty to read; omit for the group parent. The group shares the counterparty, and each entity's events with it are its own
limit (optional, default 100, max 1000): max events and transactions returned
RETURNS:
agent: full AgentResponse
entity_id: the entity the lists and counts are scoped to
recent_events: list of EventBlockEnvelopes for this agent (desc by occurred_at)
recent_transactions: list of transactions triggered by those events
event_count: total event count for this agent
transaction_count: total transaction count
Inputs: id (required), limit, entity_id.
assert-metricsAssert metricsADestructiveIdempotentInspect
Writes externally-observed metric values (usage counts, marketing numbers, hand-carried figures) into the period's standing factset_type='metric' FactSet with AssertedProvenance — the observation sibling of compute-metrics. One standing FactSet per (structure, entity, period_end); re-asserting a period replaces its facts. Structures carrying Derive rules are compute-owned and rejected: asserted and derived metric series keep disjoint structures. Observations must resolve to concepts on the structure's presentation catalog. Deterministic and non-AI — no credits consumed.
Inputs: period_end (required), observations (required), structure_id (required), source_system (required), +3 more.
bind-text-blockBind text blockADestructiveIdempotentInspect
Bind a platform Document (markdown) — or one of its sections — to a disclosure element as a text-block fact.
WHEN TO USE:
To attach an accounting-policy or footnote narrative (stored as a document via create-document) to a disclosure structure so it renders in reports
After authoring a text-block disclosure structure via create-taxonomy-block (block_type='regulatory_disclosure', concept_arrangement='text_block')
NOTES:
The document stays the editable source of truth; the bind snapshots its text into a standing 'disclosure' FactSet with document provenance (document_id + section + content_hash)
Reports generated afterward snapshot the standing set, so filed reports stay immutable even if the document is later edited
Re-binding the same element + period replaces the fact and refreshes the content hash (the drift signal)
Use section_id (the slugified heading ids search-documents returns) to bind one section of a larger document; omit it to bind the whole document
The element must be a concrete (non-abstract) concept on the disclosure structure; provide element_qname or element_id
period_start/period_end should span the reporting period the narrative covers
RETURNS: The bound fact's id, the element it was bound to, and the content hash used as the drift signal.
Inputs: period_end (required), document_id (required), period_start (required), structure_id (required), +4 more.
build-fact-gridBuild fact gridARead-onlyIdempotentInspect
Construct multidimensional fact grid from graph data. Retrieves facts based on elements, periods, and optional dimensions. Returns structured data with element names, values, and periods. Use include_summary=true to add per-element statistics: count, min, max for every element, plus total and average for duration elements only — a balance summed or averaged across periods is not a balance, so instants (e.g. total_assets) omit both.
WHEN TO USE:
When the user asks to compare specific financial metrics across periods or companies
To build custom cross-company comparisons (e.g., "compare NVDA and AAPL total assets")
When you need precise control over which elements, periods, and entities to include
For ad-hoc financial analysis that doesn't fit a standard statement format
HOW IT DIFFERS FROM financial-statement-analysis / live-financial-statement:
financial-statement-analysis returns ALL line items for a standard statement from the graph-backed XBRL hypercube (SEC or materialized tenant)
live-financial-statement returns ALL line items for a standard statement from the tenant's live OLTP ledger
build-fact-grid returns SPECIFIC elements you choose, across any combination of periods and entities
PARAMETERS:
elements: XBRL qnames (e.g., 'us-gaap:Assets'). Use resolve-element to find qnames.
canonical_concepts: Cross-filer concept ids (e.g., 'revenue'), set on standard us-gaap and ifrs-full elements only. A filer that reports the line under its own extension is missing, and a filer can report two of a concept's elements (a total and a line), so return the qname with each value.
periods: End dates in YYYY-MM-DD format
entity/entities: Filter by ticker, CIK, or name. Use 'entities' array for multi-company.
period_type: 'annual', 'quarterly', or 'instant'. Important for duration elements (revenue, net income).
form: SEC filing type ('10-K', '10-Q')
fiscal_year/fiscal_period: Filter by report fiscal context
RETURNS:
Deduplicated facts with element qnames, names, values, periods, units, and entity ticker/name — one record per fact, not a pivot table
Only consolidated totals (dimensional breakdowns excluded)
truncated: truewhen more facts matched thanlimitallowed; the ones returned are the most recent by periodA figure a filer reports in two units (its own currency and a US-dollar translation) comes back once per unit, and
units_notesays so — never put two units in one seriesOn a tenant graph, a value a period's close stamped carries
presentation: 'as_closed'andstamped_at: the month as it closed, which a live read of the books (live-financial-statement) can differ from once a mapping was reclassified after the close
NOTES:
On shared repositories (e.g. SEC) entity or entities is REQUIRED — those graphs host thousands of filers, so an unscoped query returns an arbitrary slice of arbitrary companies. On a tenant graph the filter is optional: without it a ledger returns its own entities' facts, the group parent and its subsidiaries, each row naming its entity. A company whose report the graph received (an issuer, or the sender of a shared report) is returned only when named in entity or entities.
On a tenant graph select by elements with periods or period_type: canonical_concepts, form, fiscal_year and fiscal_period exist only on shared repositories and are refused there rather than answered with nothing.
For income statement items (revenue, net income), always specify period_type='annual' or 'quarterly' to avoid mixing duration types. Companies may tag the same concept differently: for a cross-company comparison, run resolve-element per company (with its ticker), check the labels, and pass each company's qnames as elements.
Inputs: form, rows, limit, entity, +9 more.
change-calendar-startChange calendar startADestructiveIdempotentInspect
Move where an entity's fiscal calendar starts — allowed only before its first close.
WHEN TO USE:
Bank-feed or imported history predates the calendar's first month: its lines can only post through a close of their month, so the calendar has to reach back to them. Move the start earlier, then close forward in order
The calendar was set up starting too early and its leading months are empty: move the start later
PARAMETERS:
first_open_period (required): YYYY-MM, the new first month (open)
entity_id (optional): the entity whose calendar to move; omit for the group parent
note (optional): kept on the audit event
RETURNS: the calendar (same shape as get-fiscal-calendar) with
periods_created and periods_removed.
NOTES:
Earlier adds open months from
first_open_periodup to the current start; later removes the leading months before it, refused when they hold any journal entry (drafts included) or unposted source line. Each move records astart_changedaudit eventRefused once any month of the calendar has closed (
calendar_start_locked— history behind the close boundary is reopen-period territory, or is compiled as plan history), when moving later would drop activity (calendar_start_blocked, with the counts), and for a future month (invalid_period)
Inputs: first_open_period (required), note, entity_id.
change-reporting-styleChange reporting styleADestructiveIdempotentInspect
Switch the reporting entity's Reporting Style — how its statements are laid out (equity-form, close-target concept, per-statement Networks). Validates that the target Style has a complete composition in the tenant schema, then flips entities.reporting_style_id. Omit entity_id to target the graph's primary entity. A group's consolidation entity follows the parent's Style: changing the parent's changes both, and it cannot be set on its own. Filed Reports are unaffected (their FactSet rows pin their structures at create-time); new reports use the new Style. Idempotent on the same id.
Inputs: reporting_style_id (required), entity_id.
close-periodClose periodADestructiveInspect
Close a fiscal period: post its drafts, lock it, and save its statements.
WHEN TO USE:
Month-end: the step that posts a period's drafts and locks the period
WHAT IT DOES (atomic):
Validates closeable gates (sequence, period complete, sync current)
Bulk-transitions all draft entries in the period to status='posted' (under a 'shadow' QuickBooks connection: to 'shadowed' instead — nothing posts or publishes, and the gates that would have blocked are returned as gate_findings rather than enforced)
Validates the BS equation balances for the period
Transitions the FiscalPeriod from open → closed
Advances closed_through; auto-advances close_target if reached
Pivots the posted ledger and stamps the period's canonical statement FactSets (balance sheet / income statement / cash flow) — closing IS the act that persists the month's statements. Re-closing replaces them. Soft-skipped (statements_stamped=false with a note) when the tenant has no CoA mapping yet.
Auto-runs the rule engine for every schedule Structure with facts in the closed period, and the statement rule corpus against the stamped sets. Rule outcomes ride on the response as
rule_summary/evaluated_structure_ids/statement_rule_summary, per schedule and statement.Emits a period_closed audit event
PARAMETERS:
period (required): YYYY-MM format (e.g., "2026-03")
entity_id (optional): the entity whose period to close; omit for the group parent. Each entity closes on its own calendar, so a subsidiary's close leaves its siblings open
allow_stale_sync (optional): lifts the sync-current gate, closing on QuickBooks data older than the freshness window.
allow_stranded_obligations (optional): lifts the stranded-obligation gate, closing without adjusting entries for matured classified obligations that have none drafted. promote-obligations (dispatch_handlers=true) drafts them.
allow_reconciling_items (optional): lifts the reconciling-item gate, closing with posted events still flagged as changed in the source system. resolve-reconciling-item settles each one.
allow_unposted_source_events (optional): lifts the unposted-source-event gate, closing without bank-feed lines or QuickBooks transactions dated in the period that were never committed; they stay out of the period.
allow_unreconciled_accounts (optional): lifts the reconciliation gate, closing although a reconciliation the close waits on is not reconciled for the period. refresh-reconciliations reports what does not tie.
allow_unexplained_residuals (optional): on the consolidation entity, lifts the group close's residual gate; each difference stays in the consolidated statements and is named in the audit note.
allow_held_bank_lines (optional): lifts the held-bank-line gate, closing although bank lines a sync held out of an earlier closed month are undecided; each is recorded as decided by this close and none posts.
RETURNS:
Two shapes. Usually the receipt below, returned once the close lands. If the
close is still running when this call's budget runs out, you instead get
status: "in_progress" with an operation_id and worker_started (see
NOTES). That is not a failure and not a timeout: the close is running on
the worker and is atomic.
The receipt:
period: the period that was closed
entries_posted: TOTAL drafts transitioned to posted, across both post paths; entries_published_to_qb / entries_posted_locally carry the split (drafts published to QuickBooks are promoted at publish time, before the local bulk transition)
target_auto_advanced: true if close_target moved forward after this close
fiscal_calendar: updated calendar state (same shape as get-fiscal-calendar)
rule_summary: aggregated rule-eval tally across every schedule Structure with facts in the closed period — keys: pass / fail / error / skipped. null when no schedules had facts in the period.
evaluated_structure_ids: ids of schedule Structures whose rules were evaluated. Pairs with rule_summary.
statements_stamped / statement_stamp_note: whether the close stamped the period's canonical statement FactSets (note carries the soft-skip reason, e.g. no_coa_mapping).
stamped_statement_sets: structure_id -> fact_set_id for the minted canonical sets; get-information-block renders them.
statement_rule_summary: verification tally across the stamped statements (pass / fail / error / skipped); null when no rules exist.
GATES (a 422 error names the gate):
the period is out of sequence
the period is the current, still-open month
the QuickBooks sync is stale (lifted by allow_stale_sync)
stranded obligations: matured and classified, with no drafted entry (lifted by allow_stranded_obligations)
unresolved reconciling items: posted events whose source payload changed afterwards (lifted by allow_reconciling_items)
source events dated in the period that were never committed: inbox lines, QuickBooks transactions whose automatic posting failed (lifted by allow_unposted_source_events)
a reconciliation the close waits on is not reconciled for the period, or was never compared for it (lifted by allow_unreconciled_accounts)
bank lines a sync held out of an earlier closed month, undecided (lifted by allow_held_bank_lines)
on the consolidation entity, the group close: every entity the month consolidates closed it; its consolidating entries posted or drafted; no residual or intercompany disagreement left (lifted by allow_unexplained_residuals); the consolidated statements pass
the balance sheet equation does not balance for the period
NOTES:
The close is dispatched to the worker and this call waits ~18s for it. An
in_progressresponse means it is running; get-period-close-status shows period_status closed and a filled close_receipt once it lands, and get-fiscal-calendar shows has_close_receipt on the period row.worker_started: falsemeans it is queued behind a busy worker. A repeat call within 30s returns the same operation (deduplicated: true).Posted entries cannot be re-drafted; reopen-period undoes a close
Manual entries (drafted via create-event-block event_type='journal_entry_recorded') are posted alongside schedule drafts
Which drafts write back to QuickBooks follows the event's source (schedule/manual publish; system posts locally), unless metadata.publish_to_source overrides it per entry. list-period-drafts previews the split
After close, close_target auto-advances to the next period
The close runs on the worker, so a slow QuickBooks publish can outlast this call. The work is unaffected by that — only who is waiting for it
Inputs: period (required), note, entity_id, allow_stale_sync, +6 more.
complete-document-uploadComplete document uploadAIdempotentInspect
Store a file uploaded with create-document-upload as a document.
WHEN TO USE: After the upload command succeeded.
RETURNS: The new document's id, title, folder and its stored file (name,
size, SHA-256). Name it as an event's evidence by passing document_id to
create-event-block (an invoice, a vendor bill, a receipt) or
record-statement-balance (a statement); read the file's text with
read-document-file.
NOTES: The file is checked (a real PDF, within the size cap) and hashed; a file that fails is discarded. Completing the same upload twice returns the same document. A stored file is not searchable with search-documents.
Inputs: title (required), upload_id (required), tags, folder.
compute-forecastCompute forecastADestructiveIdempotentInspect
Walks a forecast block's driver cascade month-by-month forward from its anchor (with base_anchor='seam', the default, the newest closed month inside the horizon; with 'fixed', the block's base_period): lever-driven rs-driver Derive rules in dependency order, carry-forward for unmodeled income-statement lines, calc-DAG subtotals — upserting per forward month a scenario income-statement FactSet, a balance-sheet set (the full roll when the anchor month has an actual balance sheet, else only the rule-driven working-capital instants) and a derived cash-flow set when an actual one exists, all keyed by the block's scenario_id (NULL = actuals; scenario reads pass it as a filter). Re-running replaces each month's values. Rules with missing lever months or unbound operands are skipped with a reason (their targets fall back to carry-forward). Each month's sets are verified; a month that fails halts the walk there (halted_at), since every later month would be derived from it. Deterministic and non-AI — no credits consumed.
Inputs: structure_id (required), months, entity_id.
compute-metricsCompute metricsADestructiveIdempotentInspect
Resolves the Derive rules scoped to a metric block (block_type='metric'), binds each rule's operands to the entity's most recent persisted report facts at period_end, evaluates, and upserts the period's standing factset_type='metric' FactSet — one per (structure, entity, period_end), so successive runs accumulate the time series and re-running a period replaces its values. Metrics with missing operands or undefined ratios are skipped with a reason, never errored.
Inputs: period_end (required), structure_id (required), entity_id, scenario_id, +1 more.
confirm-mapping-associationConfirm mapping associationADestructiveIdempotentInspect
Confirm a CoA → reporting-concept mapping edge: a person reviewed it and it is right. Stamps approved_by and approved_at, which clears an AI-suggested edge flagged for review (confidence below 0.90). The edge itself does not change, so a confirmation goes through in a closed month. Confirming again restamps it. Through an AI client it is refused (403): a person confirms what an AI proposed, in the app or the API. Library-seeded edges cannot be confirmed (403).
Inputs: mapping_id (required), association_id (required).
consolidation-worksheetConsolidation worksheetARead-onlyIdempotentInspect
The group's statement for one window with each entity as a column, live from the ledger — the worksheet a controller checks a consolidation against.
WHEN TO USE:
"Show me the consolidation worksheet", "how does each company contribute to the group's balance sheet", "what do the eliminations take out"
Checking the consolidating entries: each member's own number, the combined sum, the adjustments, the consolidated result, side by side
For the group's statement alone,
live-financial-statementwithscope: consolidatedis smaller
PARAMETERS:
statement_type(required) — income_statement, balance_sheet, cash_flow_statement or equity_statementperiod_start/period_end, orperiod_type+fiscal_year— the window, as forlive-financial-statement
RETURNS:
columnsin order: the group parent, each member consolidated in full,combined(their sum, nothing eliminated), the consolidation entity (kind: adjustments, when the group has one),consolidated, then each equity-method or cost member (kind: not_summed,in_sum: false) — shown for reference, never added in; its effect reaches the group through the adjustmentsrows— every line in the parent's Reporting Style order,valuesaligned withcolumns; a line zero in every column is left outvalidation— the guard rails on the consolidated column; read it before quoting a numberA member outside its membership interval for the window has no column;
unmapped_entity_idsnames any entity with no mapping yetomitted_periods— a window the live statement would leave out (before a summed entity's books begin, or a cash flow or equity statement a member joined or left within) is named here and not totalled; when it is the worksheet's own window,rowsis empty
Inputs: statement_type (required), period_end, fiscal_year, period_type, +1 more.
create-agentCreate agentAInspect
Create a counterparty record (customer, vendor, employee, etc.). The (source, external_id) pair is a dedup key — a second insert with the same pair returns 409. Use update-agent to patch fields.
Inputs: name (required), agent_type (required), lei, duns, +10 more.
create-dimensionCreate dimensionAInspect
Add a member to a management dimension: a department, class, location or project (or an axis of your own) that ledger lines can carry, one member per axis per line. value is the member's stable key within its axis, a slug of the name when omitted; a second member with the same key returns 409. Tag lines with its id through dimension_ids on a journal line, and read the income statement by it with live-financial-statement's dimension.
Inputs: name (required), dimension_type (required), value.
create-documentCreate documentAInspect
Create a markdown document in the graph's document store.
WHEN TO USE:
To save accounting policies, procedures, or reference documents
To record observations, analysis notes, or research findings (use folder="memory")
To create any persistent document that should be searchable via search-documents
PARAMETERS:
foldergroups the document: "policies" for accounting policies, close procedures and depreciation methods; "memory" for analysis, observations and findings; omit it for general documentscontentis markdown. Use## Sectionheadings — sections are split on them and become individually searchableYAML frontmatter sets title, tags and folder inline
RETURNS: The created document's id and metadata.
NOTES:
Stored in PostgreSQL and indexed in OpenSearch, so it is reachable via search-documents once created
Tags and folders are the filters available to list-documents
Inputs: title (required), content (required), tags, folder.
create-document-uploadCreate document uploadAInspect
Start uploading a file to keep as a document: a bank statement, an invoice or a receipt.
WHEN TO USE: You can run shell commands and the file is on the local disk (Claude Code, an agent). Without a shell — a chat with the PDF attached — you cannot send its bytes: ask the user to upload it in the RoboLedger app, then find it with list-documents.
WORKFLOW:
Call this with the file's name (and its local path, to get a ready command).
Run the returned
upload_command. It PUTs the file; nothing passes through you.Call complete-document-upload with the
upload_idand a title.
RETURNS: upload_id, upload_url, expires_in and upload_command.
NOTES: A PDF, PNG or JPEG, at most 25 MB; the type is taken from the file's extension. Nothing is recorded until the upload completes, and an upload never completed expires. Stored files are not indexed for search.
Inputs: file_name (required), file_path.
create-entityCreate entityAInspect
Add an entity to the graph's reporting group: a subsidiary under parent_entity_id (default the group parent) that keeps its own books, chart of accounts and close, on the group's fiscal cadence. A graph created without an entity gets this one as its group parent. Creates the entity row only — give it a chart next (initialize-chart-of-accounts with entity_id) and a calendar (initialize with entity_id); from then on every ledger operation takes entity_id to act in its books, and omitting it means the group parent. The Reporting Style follows entity_type unless reporting_style_id names one. ticker prefixes the entity's account names and must be unique in the graph (409). There is no cap on entities: a graph is one reporting group, and everyone with access to it sees every entity. ownership_pct implies the consolidation_method (50 and above full, 20 to 50 equity, below 20 cost) unless one is given; entity_role: consolidation makes this the group's entity for consolidating entries, read by the consolidated statements only; joined_on dates an acquired subsidiary's membership. industry is an id from the industry classification, at any level (technology, health-care/biotechnology); an unknown value is refused (422) with the closest ids.
Inputs: name (required), cik, lei, sic, +20 more.
create-event-blockCreate event blockADestructiveInspect
Persist a real-world business event. apply_handlers=False (default): capture-only, status='captured'. apply_handlers=True: resolves an event_handler, fires the template, creates GL entries atomically, status='classified'. Use preview-event-block to dry-run before committing. For journal_entry_recorded, whether the entry writes back to a connected source system follows source (schedule/manual publish; system does not) unless metadata.publish_to_source says otherwise — set it false for an alignment entry mirroring a change already made upstream, which would otherwise be applied twice. An invoice_issued or bill_received takes due_date, or terms_days (net N from occurred_at); with neither it is due on receipt. A later due date is a field correction on update-event-block.
Inputs: source (required), event_type (required), occurred_at (required), event_category (required), +21 more.
create-event-handlerCreate event handlerAInspect
Define a rule that fires GL transactions when a matching event block is created with apply_handlers=True. Match criteria (event_type, event_category, match_source, match_agent_type, etc.) act as AND-joined filters — null fields match anything. The highest-priority matching handler wins. A handler created through an AI client is the AI's suggestion (suggested_by='ai'): it takes no part in matching until a person approves it in the app or the API.
Inputs: name (required), event_type (required), transaction_template (required), origin, +9 more.
create-information-blockCreate information blockAInspect
Generic Information Block construction entry. block_type selects the registered block type; payload is validated against that type's creation schema at dispatch. Only schedule and forecast are constructed here; the other block types raise 501 with a hint naming their own operation (statements: create-report; disclosure and metric structures: create-taxonomy-block). Authoring schedules for a close? Call get-close-playbook (mode='initiate') first — one schedule is a single debit/credit element pair, so multi-line entries become multiple schedules, and element ids must be real (discover via get-graph-schema / get-unmapped-elements / suggest-mapping).
Inputs: payload (required), block_type (required).
create-mapping-associationCreate mapping associationADestructiveIdempotentInspect
Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use auto-map-elements for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass replaces_association_id (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and reclassified_periods names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
Inputs: mapping_id (required), to_element_id (required), from_element_id (required), reason, +6 more.
create-reportCreate reportBInspect
Generates report facts from the ledger and marks the report as published. The report is the entity's whose chart mapping_id maps from; made from the consolidation entity's mapping it is the group's consolidated statements: every member summed in full with the consolidating entries, under the group parent's Reporting Style. A consolidated column cannot span a member joining or leaving the group.
Inputs: name (required), mapping_id (required), period_end (required), period_start (required), +5 more.
create-taxonomy-blockCreate taxonomy blockAInspect
Create a taxonomy block atomically: one envelope carrying the taxonomy row plus its structures, elements, associations, and rules. Dispatches by taxonomy_type — chart_of_accounts (declarative tenant CoA), reporting_extension, and custom_ontology are supported; reporting_standard is library-origin (501). reporting_extension / custom_ontology authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. A reporting_extension structure with extends_network adds rows to the entity's balance sheet, income statement, cash flow or equity statement: its arcs layer onto that Reporting Style network, anchored and checked when authored (refused with a reason, 422). Prefer an rs-gaap concept for a row — any library concept may be named, including ones not yet in this graph — and give a tenant concept a parent_ref to the rs-gaap concept it refines. NOT the path for a functional close schedule: a structure with block_type='schedule' here is a bare ontology row with none of the schedule machinery (per-period facts, schedule_entry_due obligations, closing-entry generator). To create a working schedule use create-information-block(block_type='schedule').
Inputs: name (required), taxonomy_type (required), rules, version, +9 more.
delete-documentDelete documentADestructiveIdempotentInspect
Delete a document by ID from the graph's document store.
WHEN TO USE:
To remove an outdated or incorrect policy/procedure document
To clean up a memory note that is no longer relevant
RETURNS: Confirmation of the deletion.
NOTES: Removes the document from PostgreSQL and its indexed sections from OpenSearch. Permanent — read it with get-document first.
Inputs: document_id (required).
delete-information-blockDelete information blockADestructiveIdempotentInspect
Generic Information Block deletion entry. Returns a thin confirmation (deleted / structure_id / block_type / name). Only schedule and forecast blocks delete here; statement, disclosure, metric and reconciliation blocks surface 501 with a hint naming the operation that manages them.
Inputs: payload (required), block_type (required).
delete-journal-entryDelete journal entryADestructiveIdempotentInspect
Hard-delete a draft journal entry. Posted entries are immutable and must be reversed instead.
Inputs: entry_id (required).
delete-mapping-associationDelete mapping associationADestructiveIdempotentInspect
Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then create-mapping-association the right one. The association id is list-element-arcs over MCP and the libraryElementArcs GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with create-mapping-association and replaces_association_id instead.
Inputs: mapping_id (required), association_id (required).
delete-reportDelete reportADestructiveIdempotentInspect
Delete a report that has not been filed, with its generated facts.
WHEN TO USE:
To remove a draft or under-review report that is wrong or no longer needed
To clear an abandoned draft before creating a new report for the same period
NOTES:
Refused for a filed or archived report: filing makes it a record, and a record is archived, not deleted. Archiving and unarchiving are done by a person
A generated draft can be deleted; generation does not lock a report, filing does
A report's open columns follow the ledger on their own; to change its periods, use regenerate-report instead
Refused while the report is shared to other graphs; revoke the shares first
Only the report's author can delete it
RETURNS: deleted: true and the report id.
Inputs: report_id (required).
disclosuresDisclosuresARead-onlyIdempotentInspect
The map of a report's sections: one row per disclosure family — a note with its policies, tables and details, a statement with its parenthetical, the cover page — with block counts by level, fact counts and text-block counts, in filing order. With topic, one family's blocks: each block's id, level, name, fact count, axes and text blocks. Cheap. Call it first, then information-block for the one block you need.
WHEN TO USE:
"What does this filing disclose about leases / debt / segments / taxes?" — the map, then the family
Before
information-block: to find the block idTo see which sections carry dimensional breakdowns (
dimensional_facts) or text blocks
PARAMETERS:
ticker/report_id— which one is required depends on the graph: SEC needsticker(auto-resolves the latest 10-K;fiscal_yearandperiod_typenarrow it) or areport_id; a tenant graph needsreport_idtopic— a family's name, or part of it ("leases", "income taxes"); omit for the whole map
RETURNS:
Without
topic:disclosures— one row per family:disclosure,blocks,levels(note / policies / tables / details / statement / parenthetical / document),facts,text_blocks, andcategorywhen the family is not a noteWith
topic:blocks— each withid(whatinformation-blocktakes),level,name,facts,dimensional_facts,axes,has_calc,text_blocksresolved_reportwhen the report was resolved from a ticker, withlinkson SEC:vieweropens the filing in the xbrlkit viewer — give the user that URL to show the filing — besideholon,tavi,edgar
NOTES:
Families are read off the filer's own role titles, so the map is the filing's complete section index — statements and the cover page included
The whole map is a few thousand characters; one family about 1.5K.
information-blockis the expensive call, so narrow here firstThe same tool
xbrlkit serveoffers over a loaded filing: same name, same shape
RELATED TOOLS:
information-block— one block read wholefinancial-statement-analysis— the primary statements as flat fact rowsget-information-block/list-information-blocks(tenant graphs) — one authored block's envelope, with its rules and verification; this tool maps the report's sections as the ledger holds them
Inputs: topic, ticker, report_id, fiscal_year, +1 more.
evaluate-rulesEvaluate rulesAInspect
Runs every rule targeting the given structure (plus element- and association-scoped rules for the structure's atoms), binds $Variable references to in-scope facts via qname lookup, writes one VerificationResult row per rule, and returns the results plus a status-keyed summary. Decoding mode, 6 patterns (EqualTo, RollUp, RollForward, SumEquals, Exists, CoExists).
Inputs: structure_id (required), entity_id, period_end, fact_set_id, +1 more.
execute-event-blockExecute event blockADestructiveIdempotentInspect
For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the event's draft GL entries to the source-of-truth system (QuickBooks), each as its own JournalEntry. Records the QuickBooks ids per entry on event.metadata.qb_entry_ids and promotes the published entries to 'posted'; the event goes 'fulfilled' once no draft remains. On rejection what landed is kept, the status is unchanged and the error is stamped on event.metadata.last_outbound_error (and returned as qb_error). Events on 'native' or 'shadow' books pass through with no QB write. Only the group parent's books are QuickBooks': an event on a subsidiary's books is refused.
Inputs: event_id (required), connection_id.
financial-statement-analysisFinancial statement analysisARead-onlyIdempotentInspect
Return a structured financial statement from the graph-backed XBRL hypercube.
WHEN TO USE:
SEC shared repository: "show me NVDA's latest 10-K income statement"
RoboLedger tenant graph post-materialization: historical analytical queries against the materialized ledger
Use when you want cross-period or cross-entity analytical views rather than the current live books (use live-financial-statement for the latter)
NOTES:
Shared-repo (SEC):
tickerREQUIRED. If noreport_id, auto-resolves the latest matching filing by form type (10-K/10-Q/20-F/40-F).Tenant graph:
report_idREQUIRED.
PARAMETERS:
statement_type(required) — one of income_statement, balance_sheet, cash_flow_statement, equity_statementperiod_type— annual (10-K/20-F/40-F, duration facts), quarterly (10-Q plus annuals for international filers, duration facts), or instant (point-in-time facts; the balance-sheet default). Unset on an annual form it defaults to annual, so a 10-K's quarterly note figures stay outperiods— how many period end dates to keep, newest first (default 2 for the balance sheet, 3 for the flow statements — the columns a filing presents). Raise it for a longer seriesticker/report_id— which one is required depends on the graph; see NOTES
RETURNS:
Deduplicated facts (canonical_concept, qname, value, unit, start_date / end_date, period_type, duration_type; null fields omitted;
nameonly when it is a label rather than the qname's local part) ordered by end_date DESCA line a filer reports in two units (its own currency and a US-dollar translation) comes back once per unit, and
units_notesays so — read one unit down the statement, never a mixperiods— the period keys the facts span, newest first, andperiods_omittedwhen older end dates were cut by the capresolved_report info when auto-resolution was used, with
linkson a shared repository:vieweropens the filing in the xbrlkit viewer — give the user that URL to show the filing — besideholon,tavi,edgarDimensional/segment breakdowns are filtered out (consolidated totals only)
Inputs: statement_type (required), limit, ticker, periods, +3 more.
forgetForgetADestructiveIdempotentInspect
Delete a semantic memory by its id.
WHEN TO USE:
To remove an outdated or incorrect memory
To correct one instead, prefer
update-memory, which keeps the id and its history
PARAMETERS:
memory_id: from a prior
rememberorrecall
RETURNS: Confirmation of the deletion.
Inputs: memory_id (required).
get-account-registerGet account registerARead-onlyIdempotentInspect
One account's posted lines, oldest first, each with the balance it leaves and the entry and event behind it.
WHEN TO USE:
"Why is this account's balance what it is?": the lines that make it up
After
live-financial-statement(include_sources=true)names the accounts behind a figure: open one of them hereChecking what posted to an account in a month before closing it
PARAMETERS:
account_id (required): the chart account (element id)
start_date / end_date (optional, YYYY-MM-DD): the window, both inclusive; omit for the first or last line
entity_id (optional): omit for the group parent
dimension_type + dimension_member_id (optional, together): only the lines that carry that member;
unallocatedfor the lines no member of the axis tagsflow_element_id (optional): only the lines tagged to that cash flow or equity row
include_drafts (optional, default false): also return the window's draft lines, outside every balance
after (optional): the
next_cursorof the page beforelimit (optional, default 200): lines per page, 1 to 1000; anything else is refused
RETURNS:
account, the window, opening_balance, total_debits, total_credits, closing_balance, line_count, page_opening_balance and lines: each with its entry, posting date, memo, debit, credit, the balance after it, and the event that wrote it. Amounts are in dollars, in the account's natural sign. next_cursor is set while more lines follow. An income or expense account's opening counts from the fiscal year's start.
RELATED TOOLS:
live-financial-statement — the statement whose figure the account feeds
get-event-block — the event behind a line
Inputs: account_id (required), after, limit, end_date, +6 more.
get-agentGet agentARead-onlyIdempotentInspect
Fetch a single counterparty (agent) by id.
WHEN TO USE:
To look up a customer, vendor, or employee record
To check an agent's contact info and source linkage before creating an event
To verify whether a counterparty exists before assigning agent_id on an event
PARAMETERS:
id (required): Agent id (agt_ prefixed ULID)
RETURNS: An AgentResponse with id, agent_type, name, legal_name, contact fields, source/external_id provenance, and is_active status.
RELATED TOOLS:
list-agents — browse agents with filters
agent-activity — events and transactions for an agent
create-event-block — record a business event with this agent as counterparty
Inputs: id (required).
get-classification-statsGet classification statsARead-onlyIdempotentInspect
How one month's bank-feed lines were classified: taken as suggested, overridden, split, or chosen with no suggestion, and the share that needed a person's choice.
WHEN TO USE:
"How much of the month did the suggestions get right?" after an
accept-suggestionsrunMonth-end review of the inbox: what is still open, and where suggestions were overridden
PARAMETERS:
period (required): the month,
YYYY-MM, over the lines' own datesentity_id (optional): omit for the group parent
RETURNS:
lines (committed lines that recorded an outcome), accepted, overridden, unsuggested, split, unstamped (committed before outcomes were recorded, outside the share), human_choice_share (null when no line recorded an outcome), open_lines (still captured or classified), and by_source: the same counts per suggestion source (such as agent_default, open_item, or tier0 for the bank's own category; none for lines with no suggestion), largest first.
RELATED TOOLS:
list-event-blocks — the lines themselves
accept-suggestions — take the open suggestions in bulk
Inputs: period (required), entity_id.
get-close-playbookGet close playbookARead-onlyIdempotentInspect
Get the canonical month-end close playbook — the tool sequence, the setup decisions, and the gotchas that no single tool's schema makes obvious. Call this FIRST when setting up or running a close (or whenever you're unsure what to call next). Guidance only — no data, no side effects, safe on read-only graphs. Version-locked to this build, so it never drifts from the actual tools.
WHEN TO USE:
Before authoring recurring schedules (depreciation/amortization/prepaid) for the first time → mode="initiate"
Before running a monthly close → mode="recurring"
Any time the close workflow is unclear → mode="overview" (default)
RELATED TOOLS: call search-documents for this company's own "close procedures" document — it captures tenant-specific accounts/quirks and references this generic playbook.
RETURNS: the close overview, the ordered tool sequence for the chosen mode, schedule-authoring rules (incl. one-schedule-per-debit/credit-pair), and key gotchas (period-identifier shapes, amounts-in-cents, which block types 501, close blockers).
Inputs: mode.
get-documentGet documentARead-onlyIdempotentInspect
Get the full content of a document by ID.
WHEN TO USE:
To read a complete policy document or procedure
To review a document before updating it
When you know the document ID (from list-documents or a previous interaction)
RETURNS: The full document — content, title, tags, folder and metadata;
for a stored file its file (name, type, size, SHA-256) and evidence_for,
the live events (an invoice, a bill, a statement balance) that name it.
RELATED TOOLS:
get-document-section returns one search-indexed section from OpenSearch; use it to drill into a search hit. This tool reads the whole document from PostgreSQL, which is the source of truth, so use it for reading and editing
Inputs: document_id (required).
get-document-sectionGet document sectionARead-onlyIdempotentInspect
Read a document section by ID, a window at a time. Use this after search-documents to read the text behind a hit before answering from it.
WHEN TO USE:
After search-documents returns results, use the document_id from a hit to read the section
When you need the text of an MD&A, risk factor, or business description
To read the full context around a search snippet
PARAMETERS:
document_id(required) — from a search-documents hit, or the next_document_id of a partoffset— character offset to start from (default 0)length— characters to return (default 4000, max 8000)
RETURNS:
content— the requested window.content_lengthis the whole part, andnext_offsetis present when more of it follows: call again with it asoffsetto read on rather than answering from a partial readEntity, filing, and section metadata
A long section is stored in parts of about 25K characters: the result is one part (part of part_count, section_label like "MD&A (2/6)") and carries next_document_id — call again with it to read the next part; parent_document_id is shared by the section's parts
content_url for the CDN-hosted clean text (when available)
For iXBRL disclosures: xbrl_elements, the XBRL fact tags in this section — use resolve-element or read-graph-cypher to cross-reference with the knowledge graph
Inputs: document_id (required), length, offset.
get-event-blockGet event blockARead-onlyIdempotentInspect
Fetch a single Event Block envelope by id.
WHEN TO USE:
To inspect an existing business event (invoice, contract, bank transaction, …)
To check an event's current status and audit chain
Before updating or voiding an event
PARAMETERS:
id (required): The event id (evt_ prefixed ULID)
RETURNS: An EventBlockEnvelope with:
event_type, event_category, status
REA primitives: agent_id, resource_type
Occurrence: occurred_at, effective_at, and due_date on an invoice or bill
Provenance: source, external_id
Economic value: amount, currency
metadata (event-type-specific payload)
dimension_ids, correction chain (replaced_by_event_id, replaces_event_id)
RELATED TOOLS:
list-event-blocks — browse events with filters
create-event-block — record a new business event
update-event-block — transition status or correct fields
Inputs: id (required).
get-event-handlerGet event handlerARead-onlyIdempotentInspect
Fetch a single event handler rule by id.
WHEN TO USE:
To inspect what a specific handler books before an event commits through it
To verify whether a handler is active or approved
To check the transaction_template DSL for a handler
PARAMETERS:
id (required): EventHandler id (hdl_ prefixed ULID)
RETURNS: EventHandlerResponse with match criteria, transaction_template, priority, is_active, origin, and AI provenance fields.
RELATED TOOLS:
list-event-handlers — browse handlers with filters
preview-event-block — dry-run to see which handler fires for an event
create-event-handler — define a new rule
update-event-handler — patch or approve a handler
NOTES:
An AI-suggested handler takes no part in matching until a person approves it
Inputs: id (required).
get-example-queriesGet example queriesARead-onlyIdempotentInspect
Get example Cypher queries for this graph database.
WHEN TO USE:
When starting to explore a new graph
When you need query patterns for specific node types
When learning the relationship structure
After getting errors to see correct syntax
RETURNS: List of example queries with explanations, tailored to the actual schema present in this graph.
NOTES:
The examples are real working queries for this specific graph, so they carry its actual property names and relationships
Copy and modify them rather than writing a traversal from scratch
⚠️ QUERY PATTERN NOTE: When joining multiple relationships from the same node, use comma-separated patterns in a SINGLE MATCH clause (not multiple MATCH clauses):
✅ GOOD:
MATCH (f:Fact)-[:R1]->(a), (f)-[:R2]->(b)❌ BAD:
MATCH (f:Fact)-[:R1]->(a) MATCH (f)-[:R2]->(b)(may timeout)
📅 PERIOD.period_type VALUES: Period nodes classify time context into three types:
instant- Point-in-time (balance sheet dates)duration- A date range (income statement periods) — useduration_typefor subtypeforever- Unbounded period (rare)
📅 PERIOD.duration_type VALUES (only when period_type = 'duration'):
quarterly- ~3 months durationsemi_annual- ~6 months durationnine_months- ~9 months durationannual- ~12 months durationother- Non-standard durations Note: Element.period_type indicates the expected period type for that metric - different from Period.period_type!
Inputs: category.
get-fiscal-calendarGet fiscal calendarARead-onlyIdempotentInspect
Get the current fiscal calendar state — what period is next to close, what's blocking it.
NEW TO THE CLOSE? Call get-close-playbook first — it lays out the full tool sequence, the schedule-setup decisions, and the gotchas this tool's output assumes you know.
WHEN TO USE:
At the START of every close session — check what period you're working on
Before calling close-period — verify it will succeed (check
closeable_now)To check catch-up state when a user is behind ("close the books — I'm 3 months behind")
PARAMETERS:
entity_id (optional): the entity whose calendar to read; omit for the group parent. Each entity of the group closes on its own calendar
RETURNS:
entity_id: the entity this calendar belongs toclosed_through: latest period actually closed (YYYY-MM) or null if never closedclose_target: the period the user wants closed through (YYYY-MM)gap_periods: number of periods between closed_through and close_targetcatch_up_sequence: ordered list of periods a close run would processcloseable_now: true if the next period can be closed right nowblockers: list of blocker codes if closeable_now is false:sequence_violation: trying to close a non-sequential periodperiod_incomplete: the month hasn't ended yet (current month)sync_stale: QB sync is older than the period endcalendar_not_initialized: fiscal calendar not yet set uppending_obligations: matured schedule obligations not yet promoted (count + sample ride on the response)stranded_obligations: matured obligations already classified but with no drafted closing entry — adjusting entries a close would silently omit (count + sample ride on the response)reconciling_items: posted events whose source payload changed afterwards and that nobody has dispositioned — resolve each with resolve-reconciling-item (count + sample ride on the response)unposted_source_events: source events dated in the period were never committed (inbox lines still captured or classified, or a QuickBooks transaction whose automatic posting failed) and cannot post into it once it closes — commit or void each (count + sample ride on the response)unreconciled_accounts: a reconciliation the close waits on is not reconciled for the period, or was never compared for it — run refresh-reconciliations (count + sample ride on the response)unmapped_accounts: an account with postings through the period that the chart's mapping does not map to a concept, so its balances are in no statement — map it with suggest-mapping and create-mapping-association; nothing lifts this one (count + sample ride on the response)held_bank_lines: bank lines a sync held out of an earlier, closed month (dated there, arriving after it closed) that no close has decided on — reopen that month, which gives them back to post, or close over them with allow_held_bank_lines (count + sample ride on the response)On the consolidation entity, whose close is the group's (each names its items in the matching
group_*list):entity_open— an entity the month consolidates has not closed it;adjustments_unposted— the month's consolidating entries are neither held nor drafted, run propose-consolidation-entries;residual_unexplained— a residual or intercompany disagreement is left;consolidated_does_not_foot— the consolidated balance sheet or equity statement fails its checks
last_sync_at: most recent QB sync timestamp (null if no QB connection)periods: list of all fiscal period rows with status
WORKFLOW:
Call this first to orient yourself
If
closeable_nowis true, proceed with draftingIf blocked by
sync_stale, tell user to sync QB firstIf blocked by
period_incomplete, tell user the month hasn't endedIf blocked by
pending_obligationsorstranded_obligations, run promote-obligations (dispatch_handlers=true) — it reaches both — then re-check 5b. If blocked byreconciling_items, work each with preview-reconciling-item then resolve-reconciling-item, then re-checkIf
gap_periods > 1, the user is behind — acknowledge and plan a catch-up
NOTES: Read-only — safe to call repeatedly, no side effects.
Inputs: entity_id.
get-graph-infoGet graph infoARead-onlyIdempotentInspect
Basic facts about private graph kg1a1e72efb317f7f0e470: graph id, approximate node count, node labels, relationship types, whether it is read-only, and on a ledger graph its entities — the reporting group, the group parent first, each with the entity_id the ledger tools take, how the group treats it (consolidation_method) and whether it is the group's consolidation entity (entity_role).
WHEN TO USE:
To confirm which graph you are connected to and what it holds before
get-graph-schemaTo size a query from the node count and label list without reading the full schema
To learn the entities of the group before naming one
RETURNS: A small JSON object. Takes no arguments.
Inputs: no named parameters.
get-graphql-schemaGet graphql schemaARead-onlyIdempotentInspect
Return the GraphQL schema for the extensions endpoint, in the size you need.
WHEN TO USE:
Before query-graphql, to discover fields, arguments and types
When a query fails on an unknown field — the schema is per-deployment and depends on which extensions (roboledger, roboinvestor) are enabled
PARAMETERS:
format:index(default) lists every Query root field with its arguments and return type, one per line — start here.sdlis the whole schema as Schema Definition Language, and is large: ask for it only when the index andtypesare not enough.introspectionis the full JSON introspection result, for tooling that consumes the standard format.types: names of types to read in full, with their fields and descriptions, e.g.['TrialBalance', 'TrialBalanceRow']. Takes the return types the index names.formatis ignored with it.
RETURNS: schema, the text asked for. With types, unknown_types names any that the schema does not have.
Inputs: types, format.
get-graph-schemaGet graph schemaARead-onlyIdempotentInspect
GRAPH: private graph kg1a1e72efb317f7f0e470.
Get the graph schema: each node table with its property names, and each relationship table with its source and target node.
WHEN TO USE:
Start here to understand the data structure
Before writing queries, to check property names and relationship directions
When exploring what data is available in the graph
RETURNS: A list of tables, nodes first, then relationships:
Node:
label,properties(names only; the core node types list their key properties), and adescription/commentwhen one existsRelationship:
label,from_node,to_node,propertieswhen it carries any, and adescription/commentwhen one exists
Property data types, keys and row counts are not included.
NOTES:
Check relationship direction: ->() vs <-()
Property names are case-sensitive
Inputs: no named parameters.
get-graph-sync-statusGet graph sync statusARead-onlyIdempotentInspect
Check data freshness on BOTH sync edges: source system → OLTP (per-connection health + last sync outcome) and OLTP → LadybugDB graph (staleness / materialization).
WHEN TO USE:
Before querying financial data, to verify the graph is current
After OLTP writes, to check if rematerialization is needed
After sync-connection, to verify the sync finished and see what it did (captured / updated / reconciling_items / dispatch_failed counts)
When the user asks about data freshness or a connection's health
RETURNS: sync_status (fresh/stale), stale_since, stale_reason, stale_duration_minutes, last_materialized_at, hours_since_materialization, materialization_count, and connections: per source connection — provider, status (connected / needs_reauth = operator must re-OAuth / error), last_sync_at, and last_sync_result (the most recent attempt's outcome summary: status, window, counts, errors — failed status means the last attempt raised and last_sync_at did NOT advance).
Inputs: no named parameters.
get-information-blockGet information blockARead-onlyIdempotentInspect
Fetch a single Information Block envelope by id.
WHEN TO USE:
To inspect an existing block (schedule, statement, disclosure, …) — full detail
To see the block's atoms (elements, connections, facts) and typed mechanics
Before drafting work that depends on the block's current state
PARAMETERS:
id (required): The Information Block's structure id
scenario_id (optional): A forecast block's structure id — binds that scenario's FactSet slice instead of actuals (statement envelopes show the latest computed forecast month; metric envelopes extend the series with the scenario's forward columns, labeled "(forecast)")
series (optional): Render a statement block as its whole report-set time series — one column per period; combined with scenario_id the columns cross the actuals/forecast seam (forecast columns carry periods[].forecast = true). Non-statement block types ignore it
series_history / series_forecast (optional): Window the series to its seam-adjacent columns — the last N actual columns and the first N forecast columns. Omitted = unbounded. Prefer a window on deep-history tenants: an unbounded series envelope grows with the ledger's age
entity_id (optional): Whose books a block shared by the group reads (statements, metrics, disclosures). Omitted = the scenario's entity, else the group parent. A schedule, reconciliation or forecast always reads its own entity's; the envelope's entity_id names the entity it read
RETURNS: A typed envelope with:
block_type, name, display_name, category
information_model (concept + member arrangement)
artifact (topic, mechanics — typed per block_type)
elements, connections, facts (bundled atoms)
rules, fact_set, verification_results (empty when the block has none)
dimensions — always empty; the dimension catalog is not wired up yet, so an empty list here says nothing about the block
RELATED TOOLS:
list-information-blocks — browse available blocks
create-information-block — build a new block
NOTES: This is the generic reader for every block type, schedules included.
Inputs: id (required), series, entity_id, scenario_id, +3 more.
get-mapped-trial-balanceGet mapped trial balanceARead-onlyIdempotentInspect
A trial balance rolled up to reporting concepts: each rs-gaap concept's posted debits, credits and net over a window, summed from the accounts a chart-of-accounts mapping sends to it.
WHEN TO USE:
Checking a mapping: does each reporting concept carry what its accounts do?
Reading the books at the level the statements present, before or without generating a report
PARAMETERS:
mapping_id (required): the mapping structure (
list-mapping-structureslists them, one per entity's chart)start_date / end_date (optional, YYYY-MM-DD): the posting window, both inclusive
RETURNS:
mapping_id and rows: each concept's reporting_element_id, qname, reporting_name, trait, balance_type, total_debits, total_credits and net_balance. Amounts are in dollars. An account the mapping does not reach is in no row: get-unmapped-elements lists those. An id that is not one of this graph's mappings answers not_found.
RELATED TOOLS:
get-trial-balance — the same window by account
live-financial-statement — the statements built from these concepts
Inputs: mapping_id (required), end_date, start_date.
get-mapping-summaryGet mapping summaryARead-onlyIdempotentInspect
Get coverage statistics for account rollups (CoA → GAAP mapping).
WHEN TO USE:
To check progress during a mapping session
To verify account rollups are complete before closing the books
To see how many accounts are mapped vs unmapped
To review confidence distribution of AI-suggested mappings
RETURNS:
Total CoA elements, mapped count, unmapped count, coverage percentage
Confidence distribution: high (0.90 and up), medium (0.70 to under 0.90), low (<0.70)
Inputs: mapping_id (required).
get-period-close-statusGet period close statusARead-onlyIdempotentInspect
Get an overview of what schedule-derived work has been done for a fiscal period.
WHEN TO USE:
At the start of a close session to see what's pending
After creating entries to verify progress
To generate a close summary for the user
To read the receipt after close-period — including when it handed back
status: "in_progress"and the close is still finishing on the worker
PARAMETERS:
period_start / period_end (required): The fiscal period dates
entity_id (optional): the entity whose schedules to read; omit for the group parent
RETURNS:
Period status (open/closed)
close_receipt: what the close recorded about itself — entries posted, the QuickBooks/local split, statements stamped, rule outcomes. Null while the period is open, and for months closed before receipts were persisted
List of schedules with their status (pending/drafted/posted) and amounts
Count of draft and posted entries
Inputs: period_end (required), period_start (required), entity_id.
get-trial-balanceGet trial balanceARead-onlyIdempotentInspect
One entity's trial balance from the live ledger: each account's posted debits, credits and net over a window.
WHEN TO USE:
Month-end review: does the ledger foot, and what does each account carry at the month's end?
Checking a balance against a bank statement or the source system before reconciling
One department's or project's figures:
dimension_typewithdimension_member_id
PARAMETERS:
start_date / end_date (optional, YYYY-MM-DD): the posting window, both inclusive; omit the start for inception to date
entity_id (optional): omit for the group parent
dimension_type + dimension_member_id (optional, together): only the lines that carry that member;
unallocatedfor the lines no member of the axis tags
RETURNS:
rows: each account's account_id, account_code, account_name, trait, account_type, total_debits, total_credits and net_balance (debit-positive), with total_debits and total_credits for the whole. Amounts are in dollars; only posted entries count. sliced is true for a dimension slice, which need not foot.
RELATED TOOLS:
get-mapped-trial-balance — the same balances rolled up to reporting concepts
get-account-register — the lines behind one account's balance
Inputs: end_date, entity_id, start_date, dimension_type, +1 more.
get-unmapped-elementsGet unmapped elementsARead-onlyIdempotentInspect
List Chart of Accounts elements that are not yet mapped to US GAAP reporting concepts.
WHEN TO USE:
At the start of a CoA → GAAP mapping workflow
To check which accounts still need mapping
To track progress during an iterative mapping session
RETURNS:
List of unmapped CoA elements with id, code, name, classification, balance_type
EFS trait (asset/liability/equity/revenue/expense) helps narrow the target reporting concept
On a group, one entity's chart:
entity_idnames it (ormapping_iddoes, through the entity whose chart it maps); default the group parent'sliquidity (current/noncurrent, assets/liabilities only) narrows further to the right BS section
nets_against, on a contra-asset account: the concept its one gross sibling under the same parent maps to. Map the contra there: it nets against that balance
WORKFLOW:
Call this tool to see unmapped elements
For each element, use suggest-mapping to find matching reporting concepts
Use create-mapping-association to write confirmed mappings
Call get-mapping-summary to check overall coverage
To move an account that is already mapped, create-mapping-association with replaces_association_id (its current arc): one write, judged as a reclassification when closed months are involved
Inputs: entity_id, mapping_id.
information-blockInformation blockARead-onlyIdempotentInspect
One section of a report read whole — THE EXPENSIVE CALL (4–30K characters): rows in presentation order with depth and label; values = the consolidated fact per period column; members = the same row broken out by the block's own axes; axes with the members that carry facts; calculation = every total's children with weights and a footing check per period; text = the section's text blocks. Call disclosures first to find the block id, then call this once per block — not once per question.
WHEN TO USE:
A derived question about one section: "which line items make up operating expenses", "how does long-term debt break down by instrument", "does the tax rate reconciliation foot"
Segment, maturity, roll-forward and reconciliation tables — the breakdowns a statement view hides
Never for a whole filing: one block per call
PARAMETERS:
block(required) — the blockidfromdisclosures; a role name or its last segment also resolvesticker/report_id— as fordisclosuresperiods— period keys to keep, from a previous call'scolumns; the default keeps the budgeted set, year and balance columns first on an annual formmember— keep only breakdowns whose member key contains this text (a segment name)max_rows(default 400) /max_members(up to 200) — explicit caps when you want less than the budgetoffset— rows to skip: thenext_offseta truncated response returned
RETURNS:
block— id, role, name, disclosure, level;siblings(the rest of the family);merged_roleswhen a second drawer of the same section folded incolumns— the period keys shown;rows— depth, concept, label,valuesand/ormembers,abstracton headers;members_omitted/periods_omittedon a row a cut touchedaxes(each with the members that carry facts and its default),calculation(foots/checkedcounts per total;differencesonly where |reported − computed| exceeds half a unit at the stated precision),texttruncatedwhenmax_rowscut the walk, withnext_offsetfor the next page (a later page addsancestorsand leaves out axes, calculation and text);resolved_reportwhen a ticker was resolved, withlinkson SEC (vieweropens the filing in the xbrlkit viewer — give the user that URL to show it)
NOTES:
Budgeted, not counted: breakdowns and columns are kept most-reported / most-recent first up to about 16K characters of cells each; a small table is never cut, and a row is never left blank by a cut
A footing difference is usually the filer's own tagging (an element swap, a fact in the wrong context) — read the section's text before calling it an error
On the SEC repository the report is the published filing; a filing processed before its artifacts existed answers "not published yet" until the repository is reprocessed. A
textentry markedexternalis a text block whose fragment could not be read; read it withsearch-documentsandget-document-section
RELATED TOOLS:
disclosures— the map; call it firstfinancial-statement-analysis— the primary statements as flat rows, cheaper when no breakdown is neededbuild-fact-grid— a slice of facts across reports and entitiesget-information-block(tenant graphs) — one authored block's envelope with its rules and verification; this is the section read whole from the ledger's report
Inputs: block (required), member, offset, ticker, +6 more.
initialize-chart-of-accountsInitialize chart of accountsAIdempotentInspect
Create the graph's chart of accounts from a shipped template — the fresh-company path to native books. Use when the graph has NO chart (a QuickBooks-synced tenant never needs this: its chart arrives with the sync and stays after a sever) and before connecting a bank feed, which needs a chart to resolve against. Templates: saas (subscription software), services (professional services), product (inventory and COGS), consolidation (a group's consolidation entity — the adjustments column, never an operating company's chart). Creates the chart, its coa_mapping structure and the template's CoA → rs-gaap mapping associations in one transaction, with the equity rows mapped by the entity's legal form (entity_type, defaulting to the entity's). Each entity of the group keeps its own chart: entity_id names a subsidiary, omitted means the group parent. One-time per entity: 409 once that entity has a chart — a chart is never replaced. Customize afterwards with update-taxonomy-block; accounts that carry activity are never deleted.
Inputs: template (required), name, entity_id, entity_type.
initialize-fiscal-calendarInitialize fiscal calendarAIdempotentInspect
Set up an entity's fiscal calendar — the one-time step before its first close.
WHEN TO USE:
get-fiscal-calendar returns
calendar_not_initializedfor the entityA new subsidiary (create-entity) is about to keep books: after its chart (initialize-chart-of-accounts), before recording its opening balance
THE DECISION — pass exactly one (ask the user if it is not clear):
first_open_period: the first month THESE books will close. Every month from it through the current month is created open, and the first close is that month. Use for new books, and for books cut over from another system at a month-end: the books start the month after the cutover, and the balance sheet on the cutover date is recorded with record-opening-balance, which dates it the day before the first month (e.g. balances as of 2026-09-30 → first_open_period '2026-10'). Never earlier than needed: every open month before the one you want to close must be closed first, in order.closed_through: the last month already closed ELSEWHERE (QuickBooks, a prior system). Months on or before it are created closed — nothing can post into them — and the first close is the month after. Use when history is already in the ledger and was closed outside RoboLedger.
PARAMETERS:
entity_id (optional): the entity whose calendar to set up; omit for the group parent. Each entity keeps its own calendar
first_open_period / closed_through: YYYY-MM, exactly one (above)
fiscal_year_start_month (optional, 1-12, default 1): every entity of a graph shares the group's month; a mismatch is refused
note (optional): kept on the audit event
RETURNS: the new calendar (same shape as get-fiscal-calendar) and
periods_created.
NOTES: One-time — a second call returns already_initialized with the
existing calendar. To move the start afterwards, before the first close, use
change-calendar-start. Confirm the month with the user before calling.
Inputs: note, entity_id, closed_through, first_open_period, +1 more.
learn-classification-defaultsLearn classification defaultsADestructiveIdempotentInspect
Seed each counterparty's default account from the bank lines already committed to the books, one for each entity whose lines it has: the account most of those lines went to becomes the default, with the lines that agreed counted as confirmations. A default already there is kept. Its still-open lines are then suggested from the default. Run it once on books that were classified before defaults were learned; after that, every commit teaches the default by itself. dry_run reports what would be learned without writing it.
Inputs: dry_run.
link-bank-accountLink bank accountADestructiveIdempotentInspect
Point a bank feed's account at a chart account. Name element_id for an existing active account, or entity_id alone to create one in that entity's chart. The chart the account is in decides whose books the feed's lines go into, so this is also how a feed account is bound to a subsidiary. Lines still in the inbox move with it (across an entity change their suggestion is resolved again on the new chart, and a classification that named the old entity's account is dropped); posted entries stay where they were posted. An account another connection already feeds is refused, as is an entity whose books QuickBooks keeps (the group parent, while QuickBooks is connected). An account the feed created and then left stays on its chart as an ordinary account. A sync already in flight when the link moves can still land a line or two on the old account; running this again moves them. The group's accounts are list-bank-accounts over MCP and the bankAccounts GraphQL field.
Inputs: account_id (required), connection_id (required), entity_id, element_id.
link-entity-taxonomyLink entity taxonomyADestructiveIdempotentInspect
Link an entity to a taxonomy. Idempotent — returns the existing linkage if it already exists. CoA blocks auto-link at create time; use this to switch an entity's primary chart of accounts. Only the chart_of_accounts basis changes behavior: a reporting, mapping or schedule link records the association and nothing reads it. Statements render from the entity's reporting style (change-reporting-style), and custom statement rows come from a reporting extension of that style.
Inputs: taxonomy_id (required), basis, entity_id, is_primary, +1 more.
list-accountsList accountsARead-onlyIdempotentInspect
One entity's chart of accounts as it stands in the books, by code: each account's id, code, name and classification.
WHEN TO USE:
Finding an account's id before a journal entry, a mapping, a register read or a schedule
"What accounts do we have?", or every expense account (
classification='expense')
PARAMETERS:
classification (optional):
asset,liability,equity,revenue,expense,gainorlossis_active (optional): true for active accounts only, false for retired ones; omit for both
entity_id (optional): omit for the group parent
limit (optional, default 100, 1 to 1000) and offset (optional, default 0): one page
RETURNS:
accounts: each with id, code, name, description, trait (its classification), sub_classification, balance_type, parent_id and depth (the chart's hierarchy), currency, is_active, is_placeholder, account_type, and the source system's external_id and external_source. pagination gives the total and whether more follow.
RELATED TOOLS:
get-account-register — one account's lines
get-trial-balance — every account's balance over a window
Inputs: limit, offset, entity_id, is_active, +1 more.
list-agentsList agentsARead-onlyIdempotentInspect
List counterparty agents with optional filters.
WHEN TO USE:
To find all customers or vendors
To search for agents from a specific source (quickbooks, xero, plaid)
To list inactive agents when reviewing counterparty records
PARAMETERS:
agent_type (optional): 'customer' | 'vendor' | 'employee' | 'owner' | 'supplier' | 'government' | 'lender' | 'self' | 'other'
source (optional): 'quickbooks' | 'xero' | 'plaid' | 'native'
is_active (optional, default true): pass false to include inactive agents
limit (optional, default 50, max 1000)
offset (optional, default 0)
RETURNS: List of AgentResponse objects ordered by name.
Inputs: limit, offset, source, is_active, +1 more.
list-bank-accountsList bank accountsARead-onlyIdempotentInspect
The group's bank and card accounts: every chart account a bank feed books to, or that a source system types as a bank or card account, with the entity whose chart it is in and the health of the connection that writes to it.
WHEN TO USE:
"Which bank accounts do we have, and which feed writes to each?"
Before
link-bank-account: find the chart account a feed account should book toBefore
record-statement-balance: find the account a statement covers
PARAMETERS:
entity_id (optional): one entity's accounts; omit for every entity in the group
RETURNS:
accounts, by code then name: each account's id, code, name, kind (bank or credit), entity_id and entity_name, source (plaid, mercury, quickbooks, or null for one kept by hand), connection_id, feed_account_id (the provider's id, which link-bank-account takes), the institution, and the connection's status and last sync. total counts them.
RELATED TOOLS:
link-bank-account — point a feed account at a chart account
get-graph-sync-status — each connection's last sync in full
Inputs: entity_id.
list-dimensionsList dimensionsARead-onlyIdempotentInspect
The graph's management dimensions — departments, classes, locations, projects — and their members, the tags a ledger line can carry.
WHEN TO USE:
"What departments do we have?", "show the P&L by location": find the axis and its members first
Before tagging a journal line (
dimension_idson a line of ajournal_entry_recordedevent, orline_dimensionsonupdate-journal-entry): a line takes a member's id, one per axisBefore
create-dimension, to check the member is not there already
PARAMETERS:
dimension_type (optional): one axis, e.g.
department; omit for allinclude_inactive (optional, default false): also list retired members, which stay on the lines that carry them
RETURNS:
dimensions: each member's id, dimension_type, name, value, source (native or quickbooks), is_active and line_count, by axis then name. types: the axes the graph has members on. An untagged line reads as its axis's Unallocated.
RELATED TOOLS:
live-financial-statement —
dimension: {type}for an income statement with a column per membercreate-dimension / update-dimension — add, rename or retire a member
Inputs: dimension_type, include_inactive.
list-discharge-candidatesList discharge candidatesARead-onlyIdempotentInspect
The open invoices or bills a payment or bank line may settle, best match first.
WHEN TO USE:
Before committing a bank line that pays a bill or collects an invoice: a person picks the items it settles from these
"Which invoice does this deposit pay?"
PARAMETERS:
event_id (required): the payment or bank line
RETURNS:
event_id, kind (receivables for money in, payables for money out), amount_cents, classified_to_control (whether the line is classified to a receivables or payables account), and candidates: the open items of the line's own entity and counterparty at its date, an exact amount match first, then the oldest due date, each with its open_cents, due date and days past due.
NOTES:
Settling is a person's choice: record it on the commit with
discharge_allocations: [{obligation_event_id, amount}]onupdate-event-block, several for a split. A line with no pick commits as it is, and its bill stays open
RELATED TOOLS:
update-event-block — commit the line with its settlement
aged-balances — every open item, aged
Inputs: event_id (required).
list-documentsList documentsARead-onlyIdempotentInspect
List documents in the graph, optionally filtered by folder or source type.
WHEN TO USE:
To browse what documents exist before searching
To find a specific document by title when you don't have the ID
To see all policy documents (folder="policies") or memory notes (folder="memory")
RETURNS: Document ids, titles, folders and tags — metadata, not content.
RELATED TOOLS:
search-documents ranks by content using hybrid search (BM25 + KNN) and returns only matches. This tool browses PostgreSQL directly with no ranking and lists every document, including empty ones
Inputs: folder, source_type.
list-element-arcsList element arcsARead-onlyIdempotentInspect
The mapping arcs an element is an end of: an account's arc to its reporting concept, and the cross-taxonomy arcs of a concept, each with its association id.
WHEN TO USE:
Before
delete-mapping-association, orcreate-mapping-associationwithreplaces_association_id: the id of the account's current arc"What does this account map to?" or "which accounts map to this concept?"
PARAMETERS:
element_id (required): the account or concept (element id)
RETURNS:
arcs: each with id (the association id), direction (outgoing when this element is the source, incoming when it is the target), association_type, arcrole, the structure and taxonomy it belongs to, and peer, the element at the other end with its qname, name and trait.
RELATED TOOLS:
create-mapping-association / delete-mapping-association — move or remove an arc
suggest-mapping — candidate concepts for an account
Inputs: element_id (required).
list-event-blocksList event blocksARead-onlyIdempotentInspect
List Event Block envelopes with optional filters.
WHEN TO USE:
To find events of a specific type (e.g., all invoice_issued events)
To review events by status (e.g., all captured events awaiting classification)
To see a counterparty's event history (filter by agent_id)
To audit events from a specific source (quickbooks, plaid, etc.)
Close workflow: find unposted bank and source lines (status=captured or classified). Committed events are already posted or are evidence, not work
Post-sync reconciliation: is_reconciling_item=true lists reconciling items — committed events whose upstream payload changed after posting, so the local GL no longer mirrors the source. Each awaits an explicit disposition: preview-reconciling-item shows the difference, resolve-reconciling-item carries out a restate / catch_up / acknowledge and clears the flag (until it does, the item re-flags on every sync). The stashed incoming payload is in the event's metadata.drift_payload (fetch via get-event-block or include_metadata=true)
PARAMETERS:
event_type (optional): e.g., 'invoice_issued', 'contract_signed', 'bank_transaction'
event_category (optional): 'sales' | 'purchase' | 'financing' | 'payroll' | 'treasury' | 'adjustment' | 'recognition' | 'other'
event_class (optional): 'economic' (business activity) | 'support' (evidence: a bank feed's daily balance readings, statement balances, reconciliation sign-offs) | 'operational' (schedule obligations). A
balance_observedevent's amount is the account's balance, not a flow, so pass event_class='economic' when listing activity on a bank feedstatus (optional): 'captured' | 'classified' | 'committed' | 'pending' | 'fulfilled' | 'voided' | 'superseded'
agent_id (optional): Filter to a specific counterparty
source (optional): 'manual' | 'schedule' | 'system', a connected provider name, or a registered external source_name
is_reconciling_item (optional): true → only reconciling items (the reconciliation worklist); false → exclude them; omit for all
occurred_from / occurred_to (optional): YYYY-MM-DD, both inclusive. Give them whenever the question is about one period: one month's events, not the whole history
limit (optional, default 50, max 1000)
offset (optional, default 0)
entity_id (optional): the entity whose inbox to list; omit for the group parent
include_metadata (optional, default false): When false, returns a lean per-event summary (id, event_type, event_category, status, occurred_at, source, agent_id, amount, currency, description, has_discharge_link, is_reconciling_item), plus a waiting bank line's suggestion when it has one (suggested_account_name, suggestion_source, suggestion_basis). When true, includes the full event_block metadata blob —
entries,qb_*fields, connection_id, etc. — same shape as get-event-block. Default is summary-only because bulk metadata across hundreds of events can exceed agent context (1000 events with full metadata ≈ 150 KB / 4600 lines). Fetch full metadata via get-event-block(id) for specific events.
RETURNS:
event_count: number of matching events in the page
mode: "summary" | "full"
events: list of event summaries (or full envelopes when include_metadata=true) ordered by occurred_at descending
Inputs: limit, offset, source, status, +9 more.
list-event-handlersList event handlersARead-onlyIdempotentInspect
List event handler rules with optional filters.
WHEN TO USE:
To see all handlers for a specific event type (e.g., 'invoice_issued')
To find handlers awaiting approval (approved=false)
To audit the active rule set before adding a new handler
To check which event types currently have an active handler set
PARAMETERS:
event_type (optional): Filter by event type (e.g., 'invoice_issued', 'bank_transaction')
is_active (optional, default true): Include inactive handlers by passing false
origin (optional): 'hub' | 'tenant'
approved (optional): true = only approved; false = only unapproved AI suggestions
limit (optional, default 50, max 1000)
offset (optional, default 0)
RETURNS: List of EventHandlerResponse objects ordered by priority descending then name.
Inputs: limit, offset, origin, approved, +2 more.
list-flow-candidatesList flow candidatesARead-onlyIdempotentInspect
The cash flow rows a ledger line may be tagged with: the flow that overrides its account's default on the cash flow and equity statements.
WHEN TO USE:
Before setting a bank line's
classified_flow_qnameor a journal-entry line'sflow_qname: a loan drawn or repaid, capital put in or taken out, an asset bought or soldTo see which investing and financing rows this company's cash flow statement offers
PARAMETERS:
entity_id (optional): the entity whose statement the rows come from; omit for the group parent
RETURNS:
flows: each row's element_id, qname (the value the line takes), name as the statement labels it, and activity (operating, investing or financing), by section then name. These are the rows the write path accepts, so a flow picked here is never refused.
RELATED TOOLS:
update-event-block —
classified_flow_qnameon a bank lineupdate-journal-entry —
line_flowson a posted entry's lines
Inputs: entity_id.
list-information-blocksList information blocksARead-onlyIdempotentInspect
List Information Block envelopes, optionally filtered.
WHEN TO USE:
To discover what blocks exist for a graph
To filter by block_type (e.g., all schedules, all statements)
To browse by category (e.g., all Close-category blocks)
PARAMETERS:
block_type (optional): Filter by block type id (e.g., 'schedule')
category (optional): Filter by registry category (e.g., 'Close')
limit (optional, default 50): Max results to return (1-1000)
offset (optional, default 0): Pagination offset
scenario_id (optional): A forecast block's structure id — each envelope binds that scenario's FactSet slice instead of actuals (list blocks with block_type='forecast' to discover scenarios)
entity_id (optional): List the blocks shared by the group plus this entity's own schedules, reconciliations and forecasts, never another entity's; shared blocks read its books. Omitted = the scenario's entity, else the group parent
include_atoms (optional, default false): When false, returns a lean summary per block (id, type, name, display_name, category, taxonomy_id, taxonomy_name, entity_id, fact_count, connection_count), read in one query. When true, returns the full envelope including elements, connections, facts, rules, dimensions, fact_set, verification_results, and view projections — same shape as get-information-block. Default is summary-only because the full envelope can run ~40 KB per block; a 50-block list call with full atoms exceeds typical agent context. Use the default for browsing; fetch full atoms via get-information-block(id) for the specific blocks you need.
RETURNS:
block_count: number of matching blocks in the page
blocks: list of block summaries (or full envelopes when include_atoms=true)
mode: "summary" | "full" — echoes which projection was returned
RELATED TOOLS:
get-information-block — fetch a single block by id (always full envelope)
create-information-block — build a new block
Inputs: limit, offset, category, entity_id, +3 more.
list-journal-entriesList journal entriesARead-onlyIdempotentInspect
One entity's journal entries with their line items, newest first, read from the live ledger.
WHEN TO USE:
"What did the close post?" (
provenance='schedule_derived'), "what drafts are waiting?" (status='draft')Reviewing a month's entries before closing it, or the entries under one transaction (
transaction_id)Confirming a write landed: the ledger, not the materialized graph, which lags it
PARAMETERS:
start_date / end_date (optional, YYYY-MM-DD): the entry-date window, both inclusive
status (optional):
draft,postedorreversedtype (optional):
standard,adjusting,closingorreversingprovenance (optional): what created the entry;
schedule_derivedis what the close postedtransaction_id (optional): only the entries under one transaction (from
list-transactions)entity_id (optional): omit for the group parent
limit (optional, default 50, 1 to 1000) and offset (optional, default 0): one page of entries; each entry carries its lines, so a page is larger than its count suggests
RETURNS:
entries: each with id, number, transaction_id (null for a standalone entry), type, status, posting_date, memo, provenance, the schedule it came from, the event that wrote it, reversal_of, line_items (account, debit and credit amounts, description, flow and dimension tags), total_debit, total_credit and balanced. Amounts are in dollars. pagination counts entries.
RELATED TOOLS:
update-journal-entry / delete-journal-entry — correct a draft
get-account-register — one account's lines across entries
Inputs: type, limit, offset, status, +5 more.
list-mapping-structuresList mapping structuresARead-onlyIdempotentInspect
List the coa_mapping Structures on the tenant graph.
WHEN TO USE:
At the start of any mapping workflow, to discover the active mapping structure id without dropping out of the typed MCP surface
Before calling
get-mapping-summary,get-unmapped-elements, orcreate-mapping-association— each of those takes amapping_idthat you get from here
RETURNS:
List of mapping structures with id, name, block_type, taxonomy_id and
framework — the reporting framework each maps the chart into. A chart
holds one mapping per framework; the book mapping (rs-gaap) is listed
first. On a group, the mappings of one entity's chart: entity_id names
it, default the group parent.
Inputs: entity_id.
list-period-draftsList period draftsARead-onlyIdempotentInspect
List all draft closing entries in a fiscal period with full line item detail.
WHEN TO USE:
After drafting closing entries, BEFORE calling close-period
When the user asks "what's pending" or "show me the drafts"
To review exactly what will be committed on close
WORKFLOW:
Draft entries come into being two ways — there is no
create-closing-entrytool:Schedule-derived (depreciation, amortization, prepaid roll-off): call
promote-obligationsto draft every matured schedule entry for the period in one sweep (the on-demand form of the background promoter), orcreate-event-block(event_type='schedule_entry_due')to draft a single schedule's entry.Manual adjustments:
create-event-block(event_type='journal_entry_recorded').
Use this tool to review every draft with DR/CR detail
Summarize to the user — total debits/credits, balance check, per-schedule amounts
close-periodposts these drafts and closes the period atomically
PARAMETERS:
period: YYYY-MM format (e.g., "2026-03")
entity_id (optional): the entity whose drafts to list; omit for the group parent
RETURNS:
draft_count, total_debit, total_credit, all_balanced
drafts: full list with entry_id, posting_date, memo, source schedule name, line items (element name/code, debit/credit in cents), per-entry balance check
will_publish_to_qb (per draft): whether closing the period will publish this draft to QuickBooks (vs. post locally only)
qb_publish_count / local_only_count: how many drafts publish to QuickBooks on close vs. post locally only
qb_writeback_connection_id / qb_write_policy: the QB connection close would publish to, or null when the graph has no qb_authoritative/hybrid QB connection
NOTES:
Read-only — no side effects, safe to call repeatedly
Returns an empty list if no drafts exist for the period
This tool's line amounts are integer cents (divide by 100 for dollar display). Graph queries (
read-graph-cypher) return dollars; never apply this conversion to themThis is the close-review outbox: surface will_publish_to_qb + the qb_publish_count/local_only_count summary so the user sees what close will write to QuickBooks before committing
Inputs: period (required), entity_id.
list-reconciliationsList reconciliationsARead-onlyIdempotentInspect
Every reconciliation's standing at a period end for one entity, as last recorded: the ledger against the source system, an account against its statement or its schedules.
WHEN TO USE:
Before closing a month: which reconciliations the close waits on, and which are not yet reconciled
Before
sign-off-reconciliation: the reconciliation's id and whether it reconcilesReading the standing without comparing again (
refresh-reconciliationscompares and records)
PARAMETERS:
period (required): the month,
YYYY-MMentity_id (optional): omit for the group parent
RETURNS:
period, as_of (its last day) and reconciliations: each with structure_id, name, scope (ledger or account), method (source_ledger, schedule_register or statement), the account for an account-scope one, required_for_close, materiality, status (not_started, stale, unreconciled, reconciled or reviewed), unreconciled_difference, and the balances or account counts of the last comparison. Amounts are in dollars.
RELATED TOOLS:
refresh-reconciliations — compare again and record the result
record-statement-balance — record the statement an account reconciles to
sign-off-reconciliation — a reviewer's sign-off
Inputs: period (required), entity_id.
list-reportsList reportsARead-onlyIdempotentInspect
List one entity's reports, newest first: each report's id, name, periods and where it stands.
WHEN TO USE:
"What reports do we have?", or finding a report's id before reading, regenerating or deleting it
Checking whether a report finished generating, or has been filed
PARAMETERS:
lifecycle (optional, default
current):currentleaves out archived reports,archivedreturns only those,allreturns every reportentity_id (optional): omit for the group parent, whose list also carries reports shared in from other graphs
RETURNS:
reports: each with id, name, taxonomy_id, generation_status (generating, published, failed), filing_status (draft, under_review, filed, archived), period_type, period_start, period_end, periods, entity_id and entity_name, and when it was created and last generated. The renderable structures each report's taxonomy offers are left out.
RELATED TOOLS:
create-report / regenerate-report — generate a report, or re-run one against the latest ledger
disclosures — a report's sections, read by its id
Inputs: entity_id, lifecycle.
list-transactionsList transactionsARead-onlyIdempotentInspect
One entity's transactions as the ledger holds them: invoices, bills, payments, deposits and the rest a source system or the ledger recorded.
WHEN TO USE:
Last month's invoices or bills (
type), or every transaction in a windowFinding the transaction behind an entry, then its entries with
list-journal-entries(transaction_id)
PARAMETERS:
type (optional): the transaction type, as its source names it
start_date / end_date (optional, YYYY-MM-DD): the transaction-date window, both inclusive
entity_id (optional): omit for the group parent
limit (optional, default 100, 1 to 1000) and offset (optional, default 0): one page
RETURNS:
transactions: each with id, number, type, category, amount, currency, date, due_date, merchant_name, reference_number, description, source and status. Amounts are in dollars. pagination gives the total and whether more follow. A standalone journal entry (what the close and the handlers post) has no transaction: read those with list-journal-entries.
RELATED TOOLS:
list-journal-entries — a transaction's entries and lines
Inputs: type, limit, offset, end_date, +2 more.
live-financial-statementLive financial statementARead-onlyIdempotentInspect
Generate a live financial statement directly from the current tenant's OLTP ledger data using the active CoA→GAAP mapping.
WHEN TO USE:
When the user asks for their books — "show me my income statement", "my balance sheet for Q1"
Live, up-to-the-minute data (no materialization required)
Only available on RoboLedger tenant entity graphs (not SEC shared repo)
PARAMETERS:
entity_id(optional) — the entity whose books to render; omit for the group parentscope(optional, defaultentity) —entityis one entity's own books. On the group parent,combinedsums every member consolidated in full under the parent's Reporting Style, per rs-gaap concept, for the months each was a member — the pre-adjustment total, nothing eliminated;consolidatedadds the consolidation entity, whose eliminations and noncontrolling interest are the adjustments column, so a group that posts its consolidating entries there reads its consolidated statement. An equity-method or cost member (itsconsolidation_method) is never summed. A question about "the group" readsconsolidated;combinedis the worksheet's first total.combined_entity_idson the response names who was summed, and an entity with no mapping yet is left out.consolidated: trueis the older spelling ofscope: consolidateddimension(optional, income statement only) — a management slice:{"type": "department"}returns the current window with one column per department, thenUnallocated(lines no department tags), thenTotal, anddimension.ties_outsays whether every row's members plus Unallocated equal its Total;{"type": "department", "member_id": "<id>"}reads one member's lines, current and prior (member_id: "unallocated"the untagged ones).list-dimensionsnames the axes and members. A consolidation entity's lines are untagged, so onscope: consolidatedthe eliminations read as Unallocatedinclude_sources(optional, default false) — "why is this number what it is?": each row gainsorigin(accounts,subtotalorcomputed) and, per column, the accounts its figure was summed from with each one's value and theentity_idwhose books hold it. Open one withget-account-register(account_id, start_date, end_date, entity_id). Ask it for the statement you are explaining, not for every read: it multiplies the responsestatement_type(required) — one of the four belowincome_statement — Revenue, expenses, net income
balance_sheet — Assets, liabilities, equity (instant periods)
cash_flow_statement — Operating (indirect: net income + non-cash add-backs + working-capital deltas), investing, financing. Cash flows proper — every investing and financing line, and an operating receipt that is neither net income nor a working-capital change (a distribution from an equity-method investee) — resolve from each line's explicit flow tag when present, else from the mapped rs-gaap element's default-flow derivation arc, so untagged QB data renders too, provided the relevant accounts are mapped at the grain the arcs key on (e.g. PP&E Gross for capex). Each column measures its working-capital deltas from its own opening balances.
equity_statement — The roll-forward of the Reporting Style's capital (stockholders' equity, partners' capital or members' equity): beginning balance, net income, contributions, distributions or dividends, and other changes, to the ending balance. Every equity line counts, cash or not — an owner paying a company bill directly is a contribution. The two balance rows share the capital concept's qname and are told apart by
period_role(start,end). On a group with outside owners the noncontrolling interest rolls forward after it the same way (rs-gaap:MinorityInterest): its share of income, contributions, and distributions to the outside owners.Explicit
period_start/period_end(YYYY-MM-DD) win over everything elseperiod_type="annual"+fiscal_year=2025→ window anchored on the graph's FiscalCalendarperiod_type="quarterly"→ current calendar quarterperiod_type="instant"/ unset → current calendar month
RETURNS:
Facts with element qnames, names, classifications, and values aligned with periods — current + prior (equal duration) for every statement type. Abstract scaffolding rows and all-zero rows are filtered out; subtotals are kept and flagged is_subtotal. Capped at limit rows (default 1000 — the whole statement).
validation is the guard-rail outcome for the rendered columns (status: passed | failed | inconclusive; failures; warnings). Read it before quoting a number: a failed status means the statement does not foot or balance, and a warning about 'Other operating capital, net' means the cash flow was made to foot by a reconciling plug — say so rather than presenting the figure as clean. On the equity statement a failure means beginning balance + changes does not reach the ending balance.
Inputs: statement_type (required), limit, scope, dimension, +7 more.
preview-consolidation-entriesPreview consolidation entriesARead-onlyIdempotentInspect
The consolidating entries a group's month needs, computed from the books. Posts nothing.
WHEN TO USE:
"What consolidating entries does August need", "are the eliminations up to date", "why does the consolidated balance sheet still show the investment"
Before posting a consolidating entry by hand: see what the engine would post, and whether a hand entry of the same kind already covers it
After a member's month changes: what moved in the eliminations and the noncontrolling interest
PARAMETERS:
period(required) — the month, YYYY-MM
RETURNS:
proposals— one entry per kind and member, each the difference between what that adjustment should hold at the month end and what the consolidation entity already holds:elimination_investment(the parent's investment against the member's capital, the outside owners' share as noncontrolling interest),elimination_intercompany(the balances the companies owe each other, and the month's intercompany income against the matching expense),nci_allocation(the outside owners' share of the month's result),equity_method_pickup(the parent's share of an equity-method member's result). Each has itslinesin the consolidation entity's accounts and abasissaying how it was computedresiduals— the parent's investment in a member that differs from its share of the member's capital; that member's investment elimination is withheld until it is explained, never pluggedreconciling_items— intercompany figures the two sides disagree on; the lower amount is eliminatednotes— what was left out and why, e.g. a cost one company recharged to another at cost, which stays in the group's resultup_to_date— nothing withheld, and the month's needs are posted or already drafted (drafted_entry_ids); drafted, they wait for the consolidation entity's close
Inputs: period (required).
preview-event-blockPreview event blockARead-onlyIdempotentInspect
Dry-run: resolve the matching handler and evaluate the transaction template without writing any rows. Returns the matched handler + planned debit/credit lines + any validation errors. Use this before create-event-block(apply_handlers=True) to confirm the GL plan.
Inputs: source (required), event_type (required), occurred_at (required), event_category (required), +21 more.
preview-reconciliationsPreview reconciliationsARead-onlyIdempotentInspect
Compare the ledger at a period end with something outside it, without recording anything. method picks the check. source_ledger (the default) reads QuickBooks' own trial balance for the period end and sets it beside the ledger's, account by account: balance-sheet accounts cumulatively, income and expense accounts from the start of the fiscal year. A difference there means the ledger's copy of the books has drifted from the source (a transaction deleted or back-dated there after it was synced, or activity not yet synced), so run it before trusting any other figure on a synced ledger; it needs a connected QuickBooks ledger. schedule_register compares each asset account a schedule carries a balance on (a prepaid, accumulated depreciation, a fixed-asset cost account) with what its schedules say it holds, and lists the schedules behind each figure. A difference there is a balance with no schedule behind it, or a scheduled amount the ledger does not hold. Each row carries both balances, the difference, and whether the account ties.
Inputs: period (required), method, entity_id, include_tied.
preview-reconciling-itemPreview reconciling itemARead-onlyIdempotentInspect
Read what changed on a reconciling item — an event whose source-system payload changed after it was posted (list them with list-event-blocks is_reconciling_item=true). Returns the posted entries against the accepted payload, the per-account net difference, which disposition applies by default, and anything blocking the others. Writes nothing. Run this before resolve-reconciling-item and agree the treatment with the user — restate moves prior months' figures, catch_up does not.
Inputs: event_id (required).
preview-schedulePreview scheduleARead-onlyIdempotentInspect
Generate a schedule from a definition without keeping it: the same generator and guards as creating one (block_type='schedule' on create-information-block), run and rolled back. Returns the envelope create would leave (its ids provisional) and the period-by-period roll-forward: the balance the schedule carries on the account it credits (a loan's: the note), opening, the period's amount, closing, and for a loan the interest, payment, principal and current portion. Show it to the person before asking to create. A definition create would refuse (a roll-forward that climbs where it should fall, legs that do not balance) is refused here with the period that breaks. warnings names any active schedule already posting the same accounts in the same months. With replaces_structure_id, replaces says what the schedule being edited or recreated has posted, by month, and the path the change takes: rebuild (the schedule regenerated in place from the new definition) while nothing has posted, terminate_and_succeed after.
Inputs: name (required), period_end (required), element_ids (required), period_start (required), +8 more.
promote-obligationsPromote obligationsAIdempotentInspect
Promote matured pending schedule obligations (schedule_entry_due events whose period boundary has passed) to 'classified', and — when dispatch_handlers=true (default) — draft their closing entries in the same transaction. Also reaches stranded obligations: events already 'classified' (by an earlier flip-only sweep) whose closing entry was never drafted are dispatched in the same pass, and reported via stranded_count. This is the on-demand form of the background obligation-promotion sweep; run it before close-period when a schedule was just created or when you can't wait for the Dagster sensor. Idempotent: re-running skips already-classified obligations and reconciles to existing drafts.
Inputs: dispatch_handlers.
propose-consolidation-entriesPropose consolidation entriesADestructiveIdempotentInspect
Draft a month's consolidating entries in the group's consolidation entity: what preview-consolidation-entries computes, written as drafts that the consolidation entity's close posts. Proposing the month again replaces the drafts it wrote before, so it can be run after any member's books change; a person's own entries are never touched. Lines that eliminate a cash flow carry the row they offset. A residual or a disagreement is returned beside the drafts, never plugged; a month the consolidation entity has closed is left as posted.
Inputs: period (required).
query-graphqlQuery graphqlARead-onlyIdempotentInspect
Execute a read-only GraphQL query against the extensions endpoint.
WHEN TO USE:
For typed reads of extensions data (roboledger, roboinvestor)
After get-graphql-schema, which lists the fields to query and returns any type in full
PARAMETERS:
query: the GraphQL query string. Mutations and subscriptions are rejected.graph_id is set from context — never pass it as a query argument. The schema already reflects the graph_id from the URL.
RETURNS: The query result, shaped by the fields requested.
NOTES: A minimal query looks like { fiscalCalendar { closedThrough closeTarget } }.
Inputs: query (required), variables, operationName.
read-document-fileRead document fileARead-onlyIdempotentInspect
Read the text of a stored document file, such as a bank statement PDF, page by page.
WHEN TO USE: To read a statement's ending balance, closing date and lines
before recording it with record-statement-balance. Find file documents with
list-documents (they carry a file object).
RETURNS: page_count and the requested pages as text, at most
10 per call; read further with first_page.
NOTES: Reads a PDF's text layer. A statement a bank generates has one; a scanned PDF does not, and its pages come back empty, and a photo (PNG, JPEG) has none to read — ask the user for the figures then. For a text document use get-document.
Inputs: document_id (required), max_pages, first_page.
read-graph-cypherRead graph cypherARead-onlyIdempotentInspect
GRAPH: private graph kg1a1e72efb317f7f0e470.
Execute read-only Cypher queries against the graph database.
WHEN TO USE:
To traverse the graph directly when no typed tool covers the question
Call
get-graph-schemafirst to discover node types and relationships
RETURNS: The rows the query RETURNs, as records. Read-only: the write verbs are rejected before execution, and query complexity is monitored.
NOTES:
Always include LIMIT clause for large result sets
Use WHERE clauses to filter data effectively
Check for NULL values: WHERE n.property IS NOT NULL
Use CONTAINS for text search: WHERE n.name CONTAINS 'keyword'
When joining multiple relationships from the same node, use comma-separated patterns in a SINGLE MATCH clause:
MATCH (n)-[:R1]->(a), (n)-[:R2]->(b)(not separate MATCH clauses)
WORKFLOW:
// Count nodes by type
MATCH (n)
WITH labels(n) AS label, count(n) AS count
RETURN label, count ORDER BY count DESC
// Explore node properties
MATCH (n:Entity) RETURN keys(n) LIMIT 1
// Find relationships between node types
MATCH (a)-[r]->(b)
RETURN DISTINCT labels(a)[0] AS from_type, type(r) AS rel_type, labels(b)[0] AS to_typeRELATED TOOLS: get-graph-schema for what is in the graph, and
get-example-queries for patterns that already work against it.
⚠️ THE GRAPH LAGS THE BOOKS: this tool reads the materialized
graph, which a write reaches only at the next materialization. For current state (an entry,
schedule or classification just written, or "did my write land") use the typed reads
(get-information-block, get-event-block, list-event-blocks, get-account-register);
they read the live ledger. Use Cypher for traversal and analysis the typed reads cannot
express, and check get-graph-sync-status when freshness matters.
⚠️ LEDGER TRAVERSAL ANCHOR — start at Entry, not Transaction:
Transaction is NOT the top of the ledger and NOT a layer every entry passes through.
It exists only where a source system had a record of the thing (QuickBooks, a bank feed)
or where a manual journal entry minted one. Entry.transaction_id is nullable by
design, and the schedule engine and event handlers create entries with NO parent
Transaction at all — every depreciation, amortization, accrual and other period-close
adjusting entry is parentless.
So this pattern silently loses data:
❌
MATCH (t:Transaction)-[:TRANSACTION_HAS_ENTRY]->(e:Entry)-[:ENTRY_HAS_LINE_ITEM]->(li)✅
MATCH (e:Entry)-[:ENTRY_HAS_LINE_ITEM]->(li:LineItem)
It returns rows, raises no error, and omits every parentless entry. On a real tenant this dropped 30 of 77 entries in a month, and a depreciation-expense question anchored on Transaction returned zero rows against a real non-zero answer.
The rule:
Amounts, balances, "what was posted", anything accounting → anchor at
EntryorLineItem. Join UP toTransactionwith OPTIONAL MATCH only if you need it.Source-system attributes (merchant name, due date, reference number, connection) →
Transactionis the right node, because those fields live nowhere else.Business occurrences ("how many X happened") → anchor at
Event. Events are the canonical layer; transactions are derived from a SUBSET of them. Many events legitimately have no Transaction and no Entry.
Fact queries are unaffected — the hypercube is generated from posted entries already.
⚠️ LEDGER STATUS FILTERING (Event / Entry / Transaction / LineItem): The graph is a faithful mirror of the ledger and KEEPS cancelled and replaced rows — voided/superseded events and draft/reversed entries are NOT removed (they are real audit history). When you COUNT or AGGREGATE ledger-spine data you MUST restrict to live rows, or cancelled amounts inflate the result.
Use the materialized is_live boolean — one rule on EVERY spine node:
(e:Entry) WHERE e.is_live, (li:LineItem) WHERE li.is_live,
(ev:Event) WHERE ev.is_live, (t:Transaction) WHERE t.is_live. It is the safe default;
prefer it over hand-writing per-node status filters (which differ by node and are easy to
get wrong).
What is_live means per node (the equivalent status filter, if you need finer control):
Entry.is_live⇔status IN ('posted','reversed')(∈ {draft, posted, reversed}). Both have landed in the books. Areversedoriginal KEEPS its line items: the reversing entry that corrects it is an ordinarypostedrow, so the pair nets to zero only if you sum both halves — drop the original and the balance is off by the entry, with the sign flipped.draftis excluded and covers entries of voided events.LineItem.is_live⇔ its parent Entry has landed. LineItem has no status of its own; the flag is denormalized so you can filter without joining back to Entry.Event.is_live⇔status NOT IN ('voided','superseded')(∈ {captured, classified, committed, pending, fulfilled, voided, superseded}). It KEEPS open obligations (pending/committed/fulfilled) — for a specific realized set, filterstatusexplicitly. It also keeps support events (event_class = 'support'): evidence about the books, not activity in them — a bank feed's daily balance readings and statement balances (event_type = 'balance_observed', whoseamountis the account's BALANCE on that day, not a movement) and reconciliation sign-offs. When counting or summing activity, addev.event_class <> 'support', or an account's daily balances are added to its flows.Transaction.is_live⇔status <> 'void'. (Thependingboolean is also still exposed.)Factnodes (the XBRL hypercube / published statements) have NO status and are already filtered at generation time — always safe to aggregate. This note applies ONLY to the ledger spine, not to Fact queries. Scope a Fact aggregate by entity ((f)-[:FACT_HAS_ENTITY]->(ent:Entity)) all the same: each entity of the group has its own facts, and a company whose report the graph received has facts under the same concepts. That company's Entity hasis_parentfalse and noparent_entity_id.
⚠️ LEDGER AMOUNTS ARE IN DOLLARS, NOT CENTS:
LineItem.debit_amount, LineItem.credit_amount, Transaction.amount and
Event.amount are decimal amounts in the ledger's currency: 2835000.0 is
$2,835,000.00. Report them as returned and never divide by 100. Only the close
and schedule tools (list-period-drafts, schedule and allocation inputs) work in
integer cents; that convention does not apply to graph queries.
Inputs: query (required), parameters.
recallRecallARead-onlyIdempotentInspect
Recall stored semantic memories for the active graph by meaning rather than keywords.
WHEN TO USE:
Before answering, to retrieve remembered context
When the user refers to something established in an earlier session
RETURNS: The top-k most relevant memories with their ids and similarity scores.
Inputs: query (required), k, memory_type.
record-acquisitionRecord acquisitionADestructiveIdempotentInspect
Record a member the parent bought from its outside owners, for a member that joined mid-life (joined_on set) with its balance sheet at acquisition recorded by record-opening-balance. Give the consideration paid to the sellers in cents and the basis (the purchase agreement, a valuation); optionally the fair value of the outside owners' interest (nci_fair_value, for goodwill on the whole business) and fair-value step-ups (allocations). It writes a draft in the consolidation entity, dated the join, that its close posts: the excess of the consideration over the parent's share of the member's equity at acquisition goes to the step-ups and the rest to goodwill. preview-consolidation-entries then reads the consideration as the parent's investment, so the pre-acquisition residual clears. A bargain purchase is refused until confirm_bargain_purchase is set after the reassessment ASC 805 asks for. Recording again replaces the draft; a posted acquisition is reversed first.
Inputs: basis (required), entity_id (required), consideration (required), allocations, +2 more.
record-deconsolidationRecord deconsolidationADestructiveIdempotentInspect
Record a member's leaving the group, once left_on is set on it: what the parent received for its shares in cents (0 for a dissolution) and the basis. It writes a draft in the consolidation entity, dated the first day of the month after the member's last, that its close posts: what the consolidation entity still holds for the member on its balance-sheet accounts and as the outside owners' interest is taken off (goodwill, step-ups, the price above book of the investment, the outside owners' accumulated share), a member in full has the results it earned in the group put back into the group's equity as they leave with its books, and the difference is the gain or loss on its leaving: the group's adjustment to the gain the parent's own books took, so the consolidated gain is the consideration less the carrying amount of what left (ASC 810). The investment and intercompany eliminations go back on their own in that month's proposals. The parent's own sale entry stays on its books. Recording again replaces the draft; a posted deconsolidation is reversed first. A retained interest is not supported yet.
Inputs: basis (required), entity_id (required), consideration (required).
record-opening-balanceRecord opening balanceADestructiveIdempotentInspect
Record the balance sheet an entity's books start from, when its history does not come with them: one balance per balance-sheet account (assets, liabilities, equity), in cents, debit or credit in the account's normal direction. It posts as one opening entry dated the day before the entity's first fiscal month, so every month's opening balances include it and no month's activity does: the cash flow and the equity statement start from it rather than counting it. Name the equity account that takes any difference between debits and credits (equity_element_id, usually Opening Balance Equity); unbalanced balances without one are refused, and an income or expense account is refused, since income before the books begin is in retained earnings. One per entity: recording it again replaces it, until the entity's first close, after which a correction is an adjusting entry in an open month. Set up the fiscal calendar first; moving its start (change-calendar-start) moves the opening with it.
Inputs: balances (required), memo, entity_id, equity_element_id.
record-ownership-changeRecord ownership changeADestructiveIdempotentInspect
Record the parent buying more of a member consolidated in full from its outside owners, or selling some of it to them while keeping control: the share it holds from a month (ownership_pct, staying 50 or more) and the price in cents, with the basis. It sets the member's share from that month and writes a draft in the consolidation entity, dated the month's first day, that its close posts: ASC 810 makes it an equity transaction with no gain or loss. Buying, the price above the book value of the capital bought goes against the investment, the share bought of the member's results since it joined comes out of the outside owners' interest, and the difference is the parent's equity. Selling, the parent's own entry takes the proceeds against the carrying amount of the shares sold and books its gain or loss; the draft reverses that gain, releases the parent's cost above book on those shares, credits the outside owners their larger share of the member's results, and takes the difference to the parent's equity. preview-consolidation-entries then reads the price paid, net of what a sale released, as part of the parent's investment, and the new share from that month. Changes are recorded in order; recording a month again replaces its draft, and a posted one is reversed first. A change across consolidation methods is not supported yet.
Inputs: basis (required), period (required), entity_id (required), consideration (required), +1 more.
record-statement-balanceRecord statement balanceADestructiveIdempotentInspect
Record the ending balance of a statement (a bank, card or loan statement) for one balance-sheet account, and reconcile the account to it. Give the balance as the statement shows it, as a positive number in the account's normal direction, with the statement's ending date. The ledger's balance at that date is set beside it, counting the drafts the close will post, and the result is recorded on the account's statement reconciliation for the period the statement ends in. On an account a bank feed keeps, ledger lines that did not come from the feed and are dated on or before the statement are listed as outstanding and adjust the statement balance, since the bank had not cleared them; one dated before the statement's own cycle is listed as stale_outstanding and does not, since the bank should have cleared it by now, so the difference stays until it clears, is voided or is re-dated; a statement ending before the period's last day is carried to it by the feed's own lines (roll_forward). Attach the statement as evidence by passing the document_id of its stored file (create-document-upload, then complete-document-upload); recording it again with another document lapses a sign-off, and recording it again without one keeps the document already attached (an empty string detaches it). Writes no books. The first statement recorded for an account creates its reconciliation, which does not hold the close: turn required_for_close on with set-reconciliation-policy to make every period's close wait for a statement on that account. Recording the same account and date again replaces the earlier balance; when more than one statement ends in a period, the one with the latest date stands. Recording a balance that differs from one already signed off lapses that sign-off. A difference left after the outstanding lines is activity one side has and the other does not yet, or an error on either. Returns the reconciliation's standing for the period.
Inputs: as_of (required), balance (required), element_id (required), note, +2 more.
refresh-reconciliationsRefresh reconciliationsADestructiveIdempotentInspect
Run every reconciliation that applies at a period end and record each result on its block. A ledger synced from QuickBooks is compared with QuickBooks' own trial balance, on one block for the whole ledger. Each asset account a schedule carries a balance on is compared with what its schedules say it holds, on a block of its own. Each account with a statement covering the period (record-statement-balance; the latest within its statement cycle) is compared with that balance. A block reconciles for the period when its difference is within its materiality. Running it again replaces the period's comparison, so the answer is always as of the last run. A block is created the first time its check applies, and from then on the period's close waits on it until set-reconciliation-policy releases it. The one exception is an account block whose first comparison does not tie: it is created without holding the close, so a difference found on first contact is reported and becomes a close requirement only when you turn it on. Returns every reconciliation's standing for the period. Use preview-reconciliations to see a comparison without recording it.
Inputs: period (required), entity_id.
regenerate-reportRegenerate reportADestructiveIdempotentInspect
Rewrites a Report's live columns from the latest ledger state. A column whose period the books have closed is frozen and keeps its facts; an open column already follows the ledger on every read, so pass period_start/period_end/periods to change the reporting window, which drops the frozen facts of any window no column states.
Inputs: report_id (required), periods, period_end, period_start.
rememberRememberAInspect
Store a durable semantic memory for the active graph.
WHEN TO USE:
For facts, decisions, preferences and context worth persisting across sessions
When something learned in this session should survive it
RETURNS: The stored memory's id, for later update-memory or forget.
RELATED TOOLS:
recallretrieves what this stores
NOTES:
This is vector memory: it puts nothing in the graph
Inputs: text (required), tags, memory_type.
reopen-periodReopen periodADestructiveInspect
Reopen a closed fiscal period so adjustments can be made.
WHEN TO USE:
A missed entry was discovered after a period was closed
A correcting entry is needed for a prior period adjustment
The user wants to re-run the close workflow for a closed period
NOTES:
Transitions FiscalPeriod from 'closed' → 'closing' (drafts may still exist)
Only the latest closed period (closed_through) can be reopened; closed_through retreats one month
Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them fresh)
Does NOT modify close_target — that's a separate user decision
Does NOT modify existing posted entries — they stay posted
Emits a period_reopened audit event with the required reason
Period must be in 'closed' status (422 otherwise)
Reason must be non-empty (422 otherwise)
Posted entries stay posted. To "undo" a posted entry, create a reversing entry via create-event-block(event_type='journal_entry_recorded', metadata.type='reversing'), or reopen + correct + re-close.
To reach an earlier month: reopen latest-first, one month at a time, down to the target (each with its own reason), make the fix, then close-period forward. An out-of-order reopen is refused (error=reopen_order) with the ordered list — every later closed month carries statements stamped from the earlier month's numbers, and a reopen would leave those stamps outliving the numbers.
PARAMETERS:
period (required): YYYY-MM format
reason (required): Why the reopen is needed — captured in the audit log
entity_id (optional): the entity whose period to reopen; omit for the group parent
RETURNS:
Updated fiscal_calendar state
statement_sets_retracted: how many canonical statement FactSets the reopen deleted (0 for months whose statement sets were never stamped)
held_bank_lines_restored: bank lines a sync held out of the month while it was closed, given back as captured to classify and commit
Inputs: period (required), reason (required), note, entity_id.
resolve-reconciling-itemResolve reconciling itemADestructiveInspect
Dispose of one reconciling item and clear its flag. Three treatments: 'restate' regenerates the event's entries from the accepted payload in place (prior months' figures change — right when nothing external binds them); 'catch_up' leaves history alone and posts the difference as an alignment entry in an open period, local-only so it cannot travel back to the source system and apply the change twice; 'acknowledge' records that the difference was handled elsewhere and clears the flag without touching the ledger (a note is required, and reference_event_id should name the entry that handled it: a standing entry on the item's books, other than the item, and not already counted for something else such as a catch-up or another settlement). An alignment entry authored by hand can name the items it settles in metadata.resolves_reconciling_items instead, each as {event_id, expected_drift_detected_at} carrying the preview's stamp, and each is acknowledged against it as it is recorded — an item left flagged would be caught up a second time. What an acknowledged entry booked counts toward the item's next change; voiding or reversing that entry, or a catch-up, flags the item again, and superseding it by a correction that books exactly the item's difference hands the settlement to the correction. An entry that settles a QuickBooks change has to stay local, as a catch-up does: create it with metadata.publish_to_source false, booking only the differences it settles; one that would publish or books more is refused, and so is a later patch setting it to publish. Omit disposition to take the default from preview-reconciling-item. Clearing the flag means the item stays cleared: the event's payload is set to the accepted one, so the next sync no longer sees a difference.
Inputs: event_id (required), note, status, disposition, +3 more.
search-documentsSearch documentsARead-onlyIdempotentInspect
Search across documents. Keyword (BM25) by default; set semantic=true to add KNN. Covers SEC filing narratives, user-uploaded documents (policies, procedures, notes), and any other indexed content.
WHEN TO USE:
To find accounting policies, close procedures, or reference documents
To search SEC filing narratives (MD&A, risk factors, disclosures)
To discover any document content by topic or keyword
For cross-company topic search on shared repositories (e.g., "which companies mention tariff risk?")
PARAMETERS:
query(required) — the search textsemantic— adds KNN to the BM25 pass; defaults to false, so a plain call is keyword-onlyentity,form_type,section,element,fiscal_year,size— filterssnippet_chars— approximate snippet budget per hit (default 400, max 1500); raise it when the snippets are too short to choose between hits
RELATED TOOLS:
get-document-section / get-document — read what a hit points at
search-text — once you know the filing, search INSIDE its whole text (cover page, footnotes, anything between the indexed sections); pass a hit's accession_number as
accessionwith its entity_ticker (a CIK for a filer with no ticker)read-graph-cypher — structured data (numbers, relationships), not prose
list-documents — browses by metadata; does not search content
resolve-element — takes a qname from get-document-section's xbrl_elements on to its structured values
RETURNS:
Ranked hits, each with document_id, score, source_type, section_label, section_id, snippet, content_length and content_url (element_qname for an iXBRL disclosure)
Filing fields every hit shares (entity_ticker, entity_name, form_type, filing_date, fiscal_year, accession_number) appear once at the result root; when the hits span filings they stay on each hit
The same section from a filer's successive filings comes back once, as its best-ranked (then newest) filing;
also_in_filingscounts the other filings folded into it. Withentityset nothing is folded, so pass a ticker or CIK to see one filer's filings of a section side by sidetotalcounts matching documents before any folding (OpenSearch stops counting at 10,000), not the distinct results a page can showA snippet is an excerpt around the match, not the passage — read the section with get-document-section before quoting a figure from it
A long section (an MD&A, a commitments note) is indexed in parts of about 25K characters; a hit carries part / part_count and the parts share a parent_document_id. get-document-section returns one part and its next_document_id
For user docs, use get-document to retrieve the complete document
NOTES:
Searches user-uploaded documents (created via create-document), SEC filing text blocks and narrative sections, and iXBRL disclosure sections
To tie narrative back to reported numbers: get-document-section returns an iXBRL disclosure's xbrl_elements (e.g. us-gaap:Goodwill); look one up with resolve-element, then read-graph-cypher for its structured values. Note resolve-element is only published on graphs with semantic enrichment
Natural language queries work well ("depreciation policy", "month end close procedures")
Use entity filter to focus on one company's filings. Only a CIK selects exactly one filer. A company name is a loose word match that takes in other filers sharing a word ("Acme Holdings" also matches every filer with "Holdings" in its name), and so is a ticker that is also a word ("ON" also matches filers with "On" in their names) — pass the CIK when it matters
Use section filter (item_1a, item_7) to target specific filing sections, or an element qname (us-gaap:CommitmentsAndContingenciesDisclosureTextBlock) to target one iXBRL disclosure across filings; the
elementfilter finds the disclosures that contain a given fact
Inputs: query (required), size, entity, element, +5 more.
search-library-elementsSearch library elementsARead-onlyIdempotentInspect
Find taxonomy elements by a phrase or a qname: reporting concepts (rs-gaap and the other standards) and this graph's own accounts, matched against qname, name and label.
WHEN TO USE:
Turning a qname (
rs-gaap:ProceedsFromIssuanceOfLongTermDebt) or a phrase ("deferred revenue") into an element id for a mapping, a flow or a scheduleChecking which reporting concept an idea is called before mapping to it
PARAMETERS:
query (required): one or more words; each must appear in the qname, name or label text
source (optional): one standard only, e.g.
rs-gaapwhole_library (optional, default false): search every concept the reporting library has, not only the ones this graph already holds. Use it to name a line of a report being received with
ingest-report; a mapping or a schedule needs a concept this graph holdsbrief (optional, default false): return one short row per concept (
id,qname,label,balance_type,period_type,trait,is_abstract) without documentation and references. Use it when choosing among many candidateslimit (optional, default 50, 1 to 500)
RETURNS:
elements, closest name first (the exact name, then names that start with the query, then names that contain it, shorter names first): each with id, qname, namespace, name, trait, balance_type, period_type, is_abstract, is_monetary, element_type, source, taxonomy_id, parent_id, labels and references; with brief, the short row.
RELATED TOOLS:
suggest-mapping — ranked concepts for one account
list-element-arcs — what an element maps to
Inputs: query (required), brief, limit, source, +1 more.
set-allocation-overrideSet allocation overrideADestructiveIdempotentInspect
Set the outside owners' share of a member's result for one month in place of the pro-rata share its ownership percentage gives: a preferred return, a waterfall, a special allocation. Give the share as an amount in cents (negative for a share of a loss) or as a percentage of the month's result, with the basis; clear removes it. preview- and propose-consolidation-entries then use it for that month, and their basis says so. Only for a member consolidated in full, and refused in a month the consolidation entity has closed.
Inputs: period (required), entity_id (required), basis, clear, +2 more.
set-reconciliation-policySet reconciliation policyADestructiveIdempotentInspect
Change how much the close cares about one reconciliation: whether the period's close waits on it (required_for_close); its materiality, the difference up to which it still counts as reconciled; whether the close also waits for a sign-off (review_required); and whether the reviewer must be someone other than the person who ran the comparison (separate_reviewer, which can only be turned on while the graph has at least two members who can write; if it later has one, turn it off or add a member). For a statement reconciliation, statement_cycle says how often the statement is issued (monthly, quarterly or annual): a period is covered by the latest statement ending within the cycle that ends with it, so a quarterly statement still covers the months between statements. Omitted fields keep their value. The next refresh-reconciliations uses the new materiality; comparisons already recorded are not re-judged.
Inputs: structure_id (required), materiality, review_required, statement_cycle, +2 more.
sign-off-reconciliationSign off reconciliationAIdempotentInspect
Record your review of a reconciliation for a period. Only a period that reconciles can be signed off, and only by a member of the graph: access that comes from an organization role is not enough. The sign-off records who ran the comparison and who reviewed it, and says so when they are the same person; a reconciliation with separate_reviewer set refuses that case instead. The sign-off stands for the balances as they were compared: if any of them changes afterwards, the period goes back to reconciled or unreconciled and needs signing off again, unless the balances return to the ones already signed. Signing off a period already reviewed changes nothing. Returns the reconciliation's standing for the period.
Inputs: period (required), structure_id (required), note.
suggest-mappingSuggest mappingARead-onlyIdempotentInspect
Find matching rs-gaap reporting concepts for a CoA element.
WHEN TO USE:
When deciding which reporting concept a CoA account should map to
Narrows by classification (asset→Assets subtree, revenue→Revenues subtree, etc.)
RETURNS: Candidate rs-gaap concepts with element id, qname, label and depth. Every candidate appears in at least one rs-gaap-presentation Network, so any target picked from here is guaranteed to render on the standard BS / IS / CF / SE reports under the active Reporting Style.
NOTES:
Candidates are filtered by the EFS trait (FASB elementsOfFinancialStatements) matching the source element's classification, which narrows by roughly 80%.
Statement-level subtotals are excluded (e.g. rs-gaap:Assets, rs-gaap:LiabilitiesCurrent) — the calc DAG computes those, not a leaf fact.
Depth 1 is high-level line items; depth 2+ is detail.
rs-gaap is the only render target, so there is no target_taxonomy parameter.
Inputs: element_id (required), liquidity, classification.
sync-connectionSync connectionADestructiveInspect
Pull fresh data from this graph's connected source system (e.g. QuickBooks) into the ledger. Async — dispatches the provider's sync pipeline and returns immediately.
WHEN TO USE:
Before a period close when
get-fiscal-calendarreports thesync_staleblocker (source sync older than period end) — sync first instead of passingallow_stale_sync=trueWhen the user says the source system has new transactions
After a code-level chart-of-accounts / mapping change that must back-propagate: set
full_rebuild=true
PARAMETERS:
connection_id: Omit to auto-resolve the graph's single sync connection; needed only when the graph has several (the error lists them).
provider: Optional auto-resolution filter (e.g. 'quickbooks').
full_rebuild: EXPENSIVE — re-ingests the entire source history and resets captured/classified state. Use only after a code-level CoA/mapping change that must back-propagate; the default incremental refresh is the common case.
since_date: Bounded incremental window (YYYY-MM-DD); ignored when full_rebuild=true.
RETURNS: status: accepted with a task_id once dispatched; the sync runs in the background. A push-based connection has nothing to pull and returns status: no_op with a null task_id — that is a normal answer, not a failure, and there is nothing to poll for.
NOTES: After a dispatch, poll get-fiscal-calendar until last_sync_at advances past the dispatch time (and any sync_stale blocker clears) before proceeding with a close. A sync_in_progress error means a sync is already running — wait and poll rather than retrying. A bank feed never captures a line dated in a closed period; last_sync_result counts them under skipped.closed_period. To bring one in, reopen the period, then sync with since_date set to its first day.
Inputs: provider, since_date, full_rebuild, connection_id.
terminate-scheduleTerminate scheduleADestructiveIdempotentInspect
End a schedule early at a month-end cutoff without booking any entry. In one transaction: deletes forward facts past the cutoff (refusing when posted entries exist past it; stale drafts past it are deleted), voids the remaining obligation chain past the cutoff (pending and classified rows), and rewrites the SumEquals rule to prove the truncated curve. History at or before the cutoff is untouched, so open months the schedule still covers close normally. Use this when the termination's GL effect is already booked (an asset transferred via a manual entry, a prepaid refunded in the source system) or none is wanted; when the derecognition entry still needs to be booked, use create-event-block(event_type='asset_disposed') instead — the disposal handler posts it atomically with the same obligation void. Run BEFORE promote-obligations at close so terminated periods are never drafted.
Inputs: reason (required), new_end_date (required), structure_id (required).
update-agentUpdate agentADestructiveIdempotentInspect
Patch counterparty fields. Only supplied fields are updated. Set is_active=false to deactivate (agents are never deleted — they are reference data referenced by events and transactions). classification_element_id sets the account this counterparty's bank lines are suggested (an empty string clears it), and classification_mode='always_ask' stops suggesting one for a counterparty whose lines go to different accounts; its still-open lines are re-suggested at once. Each entity of a group keeps its own default, on its own chart: classification_entity_id names the one these fields are for, omitted the group parent. A default is also learned as lines are committed, so set one by hand only to correct it.
Inputs: agent_id (required), lei, duns, name, +11 more.
update-dimensionUpdate dimensionADestructiveIdempotentInspect
Rename a management dimension member, or retire it with is_active=false. Members are never deleted: a retired member stays on the lines that carry it and goes on no new ones. A member synced from QuickBooks keeps QuickBooks's name.
Inputs: dimension_id (required), name, is_active.
update-documentUpdate documentADestructiveIdempotentInspect
Update an existing document's content, title, tags, or folder.
WHEN TO USE:
To edit a policy document after reviewing it
To append notes to an existing memory document
To update tags or folder for organization
RETURNS: The updated document's metadata.
NOTES: Only provided fields are updated — omit fields you don't want to change. Content changes are re-indexed in OpenSearch.
Inputs: document_id (required), tags, title, folder, +1 more.
update-entityUpdate entityADestructiveIdempotentInspect
Update an entity of the graph's reporting group. Only provided fields are updated; an explicit null clears a descriptive field (legal name, identifiers, legal form, contact, address, industry) or a membership date. Omit entity_id to target the group parent; name a subsidiary's id to edit it. ownership_pct is refused on the group parent (422), and ticker must stay unique in the graph (409). consolidation_method overrides the treatment the share implies (a new share re-derives it unless both are given), entity_role: consolidation marks the group's entity for consolidating entries, and joined_on / left_on bound its membership by month — set left_on when a subsidiary leaves the group and its history stays readable under it. industry is an id from the industry classification, refused (422) with the closest ids when unknown; an explicit null clears it.
Inputs: cik, lei, sic, name, +21 more.
update-event-blockUpdate event blockADestructiveInspect
Apply a status transition (captured → classified | committed | voided) and/or field corrections (description, effective_at, metadata_patch) to an existing event block. Only supplied fields are updated. captured → classified records an account choice without posting — for a bank-feed line, patch metadata.classified_element_id (or accept_suggestion: true) in the same call. When the transition is captured/classified → committed, the registered Python handler (else the matching event handler's template) fires against the captured metadata to produce the GL rows, unless it already wrote them when the event was created; an event with a handler cannot skip to pending or fulfilled without rows. A bank-feed line with no account chosen and no matching rule is refused. Errors from the handler (validation, element resolution, closed period, unbalanced lines) surface as 422 here so the inbox UI can display the failure reason without retry. A bank line's flow is a second classification beside its account, overriding the account's default flow on the cash flow and equity statements: patch classified_flow_qname (or flow_qname on each classified_allocations part) with an rs-gaap flow concept such as rs-gaap:ProceedsFromIssuanceOfLongTermDebt. On a line that has already posted, this re-tags its lines in place, in a closed month too, since no balance moves; an empty string clears it. A payment or bank line records the invoices or bills it settles with discharge_allocations (positive cents per document, together at most its amount) or one discharges_event_id; each is checked: an invoice for money in, a bill for money out, on its own entity, not voided.
Inputs: event_id (required), due_date, description, document_id, +9 more.
update-event-handlerUpdate event handlerADestructiveIdempotentInspect
Patch an event handler's match criteria, template, priority, or active state. Pass approve=true to approve an AI-suggested handler; approve=false to revoke approval. Only supplied fields are updated. Through an AI client, approve=true is refused, and a change to what the handler matches or books makes it a suggestion again, out of matching until a person approves it.
Inputs: event_handler_id (required), name, approve, priority, +10 more.
update-information-blockUpdate information blockADestructiveIdempotentInspect
Generic Information Block update entry. Dispatches by block_type to the registered mutation handler. Only schedule and forecast blocks update here; the statement family (library-seeded and immutable), disclosure, metric and reconciliation blocks surface 501 with a hint naming the operation that changes them.
Inputs: payload (required), block_type (required).
update-journal-entryUpdate journal entryADestructiveIdempotentInspect
Update a draft journal entry, or re-tag any entry's flows or management dimensions. If line_items is provided, existing line items are replaced atomically, the new set must balance, and a line on a retired (is_active=false) account is refused. line_flows sets the cash flow row of the named lines in place, on a posted entry too, closed month included, since a flow moves no balance; the lines on the other side of the entry that were in step with it follow. line_dimensions sets the department, class, location or project members the named lines carry, in place, on a posted entry and a closed month too, since a dimension moves no balance either. Posted entries accept nothing else and are corrected via create-event-block(event_type='journal_entry_reversed').
Inputs: entry_id (required), memo, type, line_flows, +3 more.
update-memoryUpdate memoryADestructiveIdempotentInspect
Update a stored semantic memory in place by its id.
WHEN TO USE:
To correct or refine a memory — prefer this over forget plus remember, which mints a new id and drops the memory's history
PARAMETERS:
memory_id: from a prior
rememberorrecallOnly the fields supplied change; the memory is re-embedded when
textchanges
RETURNS: The updated memory.
Inputs: memory_id (required), tags, text, memory_type.
update-taxonomy-blockUpdate taxonomy blockADestructiveInspect
Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored taxonomy_type. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with elements_to_update[].is_active=false (history stays, new postings are refused, pickers hide it; true reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (reporting_standard) surface 501. reporting_extension / custom_ontology authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a balance_type / period_type / trait change on such an account, is refused (422, protected_facts) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
Inputs: taxonomy_id (required), name, version, description, +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Zero-auth Double-Entry Ledger, XBRL, RAG Citation/Table Grounding, DORA, SOX 404, GB 45438 & TC260.
A double-entry ledger built from your invoices, bank lines, expenses, deposits and assets.
AI-native general ledger for SaaS: read the books, draft journal entries for a person to approve.
Governed financial statements, metrics, and General Ledger detail from QuickBooks and NetSuite.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAutomates month-end close reconciliation tasks including bank statement matching, GL account reconciliation, intercompany balance checking, and close task tracking.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceDouble-entry accounting ledger MCP server for autonomous agents that enables creating accounts, posting journal entries, and generating financial reports.MIT

Ekwo OS — open sourceofficial
AlicenseNot gradedqualityAmaintenanceDouble-entry books an agent keeps as the user, on your own Postgres or Supabase: invoices, VAT returns, bank reconciliation, financial statements and 130 country packs.43AGPL 3.0- AlicenseNot gradedqualityCmaintenanceEnables agents to perform financial operations including categorization, reconciliation, and reporting on a tamper-evident, self-hosted ledger.AGPL 3.0
Glama MCP Gateway
Add one secure layer between your agents and this server.