Skip to main content
Glama

Multi Books

Read the trial balance

reports_trial_balance
Read-only

Read a company's trial balance - each account by its nominal code and name with its total, a debit positive and a credit negative - from the start of the accounting year to a day, or between two days. On Xero it is Xero's own report: its rows, each with its cells' values in column order and its account once as AccountID; a person whose Xero role does not reach reports stands under unread as xero_role. Xero's trial balance stands at one day, the last, so from is not taken there, its titles naming the day. On Zoho Books it is Zoho's own report, never computed: its rows as Zoho lays them out, each section, group and account by its name with its figure - total, or on a trial balance net_debit_total or net_credit_total, each positive - an account by its account_id, and the rows within each under rows; with the period Zoho read, its basis, cash or accrual, and under compared the days of each earlier period Zoho set beside it, oldest first, whose totals each row carries under previous in that order. On QuickBooks it is QuickBooks' own trial balance, its columns Debit and Credit, never computed: report, from, to, currency, columns - their titles - and rows in QuickBooks' order, each with cells - its values in column order - and id, the QuickBooks record its first cell names, where it names one; a section carries header, its own rows and summary. QuickBooks' trial balance stands at one day too, the last, its income and expense accounts from the start of the financial year, so from is not taken there. For one company or several and at most four at once, read live from FreeAgent, Xero, QuickBooks or Zoho Books. A company that could not be read stands under unread with why, as bank_accounts_list answers it. A Zoho Books organisation whose sign-in Zoho refuses its reports stands under unread as zoho_reports, its note saying to add Zoho Books again signed in to Zoho as the same account.

Tool call template

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

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

Input Schema

NameRequiredDescriptionDefault
toNoThe last day of the period, as 2026-10-31; today where omitted.
fromNoThe first day of the period, as 2026-04-01; the start of the accounting year where omitted.
companiesNoThe ids companies_list gives the companies to read; every company where omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish readOnlyHint=true and destructiveHint=false, and the description goes well beyond them: it discloses provider-specific divergence (Xero and QuickBooks fix the report at a single day so 'from' is ignored; Zoho's rows and period/basis layout; QuickBooks' columns/rows/cells structure), plus failure handling – unread entries with a reason as bank_accounts_list reports them, the xero_role and zoho_reports cases. This is unusually rich behavioral disclosure for a read tool. The one soft spot is that 'read live from FreeAgent, Xero, QuickBooks or Zoho Books' implies outbound calls to external services while openWorldHint is false; the fixed four-provider set makes this defensible rather than contradictory.

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

Conciseness3/5

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

The purpose and the key divisor (debit positive, credit negative) are front-loaded in the first sentence, which is good. But the body is a single dense block that walks through every provider's payload field by field in one paragraph, making it effortful to scan and pushing genuinely important constraints (the four-company cap, the unread handling) to the end.

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

Completeness5/5

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

With no output schema, the description must carry the entire return-shape burden, and it does: it specifies per-provider structures (rows with cells in column order, AccountID once, section/group/account naming, net_debit_total/net_credit_total, compared/previous for Zoho) plus the error envelope. For a multi-provider fan-out read with three optional parameters, nothing an agent needs in order to call it is missing.

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

Parameters4/5

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

Schema coverage is 100%, so 'from', 'to' and 'companies' defaults are already documented in the schema; the baseline would be 3. The description earns a point above that by adding semantics the schema cannot express – that 'from' is silently not taken on Xero and QuickBooks because their trial balance stands at one day, and that up to four companies may be read at once. That is real meaning added beyond the structured fields.

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

Purpose5/5

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

The opening sentence gives a specific verb and resource ('Read a company's trial balance') and immediately defines the shape of what is returned – each account by nominal code and name with a total, debit positive and credit negative – which is what distinguishes a trial balance from reports_balance_sheet or reports_general_ledger. An agent can tell what this tool produces without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: you call it when you want a trial balance for one or more companies, and the description adds the practical limit 'For one company or several and at most four at once'. There is no explicit when-to-use versus the sibling reports (balance sheet, general ledger) and no stated prerequisites, so the routing guidance is inferred from the resource rather than given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.