Skip to main content
Glama

Trial Balance

trial_balance
Read-onlyIdempotent

Trial balance — every GL account's debit/credit activity and ending balance.

Runs RM's TrialBalanceActivity (report 617) with a built-in balance check (total debits = total credits; ending balances sum to ~0 for a full scope). Use for "show the trial balance", "ending balance per GL account", "are the books in balance / do debits equal credits". Scopes via PropOwnerIDs (portfolio or property_ids). Defaults to YTD; override with start_date/ end_date (MM/DD/YYYY). Filter with account_filter; nonzero_only hides no-activity zero-balance accounts. Pairs with list_gl_accounts. For transaction-level GL detail, download report 51 (GeneralLedger) via run_report.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

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": "trial_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
locationNo
portfolioNo
start_dateNo
nonzero_onlyNo
property_idsNo
account_filterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavioral context beyond them: the built-in balance check, the YTD default, the multi-Location fan-out with per-Location labelling, and the fact that unreachable Locations are reported as skipped rather than failing. That last detail is exactly the kind of behavior an agent needs to interpret partial results.

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

Conciseness4/5

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

Front-loaded with purpose and trigger phrases, then scoping, then the location caveat, which is the right order. The location paragraph is long relative to the rest but earns its space by explaining default and skip behavior. Minor redundancy between the opening line and the trigger-phrase list.

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?

For a 7-parameter, zero-required reporting tool with an output schema already documenting return values, the description covers everything an agent needs: what is computed, default time window, scoping precedence, filter effects, and multi-Location edge cases. Nothing essential is left to inference.

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 0%, so the description carries the full burden, and it does most of it: portfolio vs. property_ids scoping, start_date/end_date with MM/DD/YYYY format, account_filter for narrowing, nonzero_only semantics (hides no-activity zero-balance accounts), and a thorough explanation of the location parameter including the 'all' and blank defaults. It stops short of documenting the accepted syntax for account_filter and property_ids (single vs. comma-separated), which is the only meaningful gap.

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?

States a specific report (RM TrialBalanceActivity, report 617) over a specific resource (every GL account's debit/credit activity and ending balance), and explicitly distinguishes itself from siblings: list_gl_accounts for account lists and run_report with report 51 for transaction-level GL detail. An agent can tell exactly what this returns 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 Guidelines5/5

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

Gives concrete trigger phrases ('show the trial balance', 'ending balance per GL account', 'are the books in balance') and names the alternative route for transaction-level detail (report 51 via run_report). It also states default scope (YTD) and how to override it, so when-to-use and when-not-to-use are both covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources