Skip to main content
Glama

Octobooks

Trial balance

trial_balance
Read-onlyIdempotent

Trial balance of posted entries from date_from to date_to (YYYY-MM-DD): every account with its debits, credits and balance, and the totals. Drafts and proposals are not in it. books_as_of (YYYY-MM-DD): as the books stood at the end of that day, entries posted after it left out.

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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "trial_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNo
date_toYes
date_fromYes
books_as_ofNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: only posted entries appear (drafts/proposals excluded) and books_as_of is a point-in-time view that drops entries posted later. This is solid added context, though it says nothing about rounding, currency, or how the totals are computed.

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 the core definition and no filler; every clause adds scope or semantics. The books_as_of explanation is somewhat dense and appended in run-on fashion, but nothing is wasted.

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?

An output schema exists, so return values need not be described, and the annotations cover the safety profile. The description supplies the remaining essentials — inclusion rules (posted only) and as-of semantics — with the single gap being the undocumented company parameter.

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?

With 0% schema description coverage the description must carry the parameter burden. It does explain the expected YYYY-MM-DD format for date_from and date_to and gives real semantics for books_as_of (as the books stood at end of that day, later entries omitted), but the fourth parameter, company, is never mentioned at all, leaving one of four parameters undocumented in both schema and description.

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

Purpose4/5

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

States a specific resource (trial balance) and defines its contents precisely: every account with debits, credits, balance, and totals, drawn from posted entries. It does not name a sibling or distinguish itself from related tools like accounts or conversion_balances, which keeps it short of a 5.

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?

The description implies when the tool applies by scoping it to posted entries and excluding drafts and proposals, which helps an agent decide whether the data it wants is included. However, it never states when to prefer this tool over alternatives, and no exclusion/alternative routing is 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.

Resources