Skip to main content
Glama
TreeBeam MCP Server

TreeBeam MCP Server

search_unadjusted_balances

Search raw unadjusted balance records in a project and filter by period, account, amount, or modification date to locate a specific subset of balances.

Instructions

Search/list raw unadjusted balance records within a project. Supports filtering — see server instructions for filter syntax. Use this tool to look up a specific subset of balance records by period, account, or amount. DO NOT use this tool to calculate trial balances or summarize financial data — use the pivot_trial_balance_* tools instead, which return pre-calculated totals in a single response with no pagination. Results are paginated — if a continuationToken is returned, pass it in the next call to retrieve more.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collectionId": "<collectionId>"
    },
    "name": "search_unadjusted_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoOnly return records modified after this timestamp
amountNoFilter by amount (numeric filter, default: [eq])
periodIdNoFilter by period ID (ID filter, default: [eq])
accountIdNoFilter by account ID (ID filter, default: [eq])
collectionIdYesThe project ID
interimPeriodIdNoFilter by interim period ID (ID filter, default: [eq])
continuationTokenNoPagination token returned by a previous call. Pass this to retrieve the next page of results.
includeDeprecatedItemsNoInclude deprecated unadjusted balances (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose two real behaviors: results are paginated and a continuationToken must be passed to page, and totals are not computed here. It omits anything about required permissions or whether deprecated records are excluded by default (the latter is only in the schema), so it stops short of a full behavioral picture.

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-loads the purpose, then the exclusion, then the pagination rule — a sensible order for an agent scanning the text. The third sentence ('Use this tool to look up a specific subset...') largely restates the first and could be folded in without loss.

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

Completeness4/5

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

Covers purpose, filter dimensions, the critical anti-use case, and pagination continuation, which are the things an agent needs for an 8-parameter, output-schema-less search tool. The remaining gap is that filter syntax lives only in server instructions, which the description references but does not summarize.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter including since, amount, periodId, accountId, interimPeriodId and continuationToken is already documented with types and filter defaults. The description only names the filter dimensions at a high level and adds no syntax detail beyond the pointer to server instructions, which is the baseline case.

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 verb and resource ('Search/list raw unadjusted balance records within a project') and immediately scopes it to a filtered lookup rather than a single-record fetch. This differentiates it from get_unadjusted_balance and from the pivot_trial_balance_* family named later in the text.

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?

Explicitly gives the use case ('look up a specific subset of balance records by period, account, or amount') and an explicit exclusion with a named alternative ('DO NOT use this tool to calculate trial balances... use the pivot_trial_balance_* tools instead'), including the reason (pre-calculated totals, no pagination). This is the when/when-not/alternative pattern at full strength.

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