Skip to main content
Glama

Lovie Company Formation

Get Trial Balance

accounting_get_trial_balance
Read-only

GetTrialBalance returns every account's debit and credit totals for a period; total debits equal total credits when the books balance. Read-only.

Input Schema

NameRequiredDescriptionDefault
basisNo
endDateNo
companyIdYesUUID value wrapper.
startDateNo
currencyCodeNo

Output Schema

NameRequiredDescriptionDefault
rowsNo
totalDebitsNo
currencyCodeNo
totalCreditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / rows / items / properties / entryCount
      Added value: +{
      +  "type": "integer"
      +}
  2. Changed4 schema fields changed
    • addedOutput schema / properties / rows / items / properties / glAccountId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / rows / items / properties / glAccountId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / rows / items / properties / glAccountId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / rows / items / properties / glAccountId / type
      Removed value: -"object"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description's 'Read-only' simply restates structured data. It does add one genuinely useful behavioral fact: total debits equal total credits when the books balance, which tells the agent what a balanced result looks like. No mention of permissions, pagination, or basis behavior, but with annotations covering safety this is adequate.

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?

A single dense sentence plus 'Read-only.' Front-loaded with the core purpose and no wasted words. The trailing 'Read-only' is redundant against annotations but costs little.

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

Completeness3/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 re-explained. For a read-only report tool with one required parameter, the description is minimally complete, but the five under-documented parameters and unfiltered sibling landscape leave real gaps.

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

Parameters2/5

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

Schema description coverage is only 20%, so the description carries a heavier burden, yet it adds no parameter meaning. 'For a period' vaguely implies startDate/endDate but does not clarify the enum basis values, the required companyId UUID wrapper, or currency code semantics. It fails to compensate for the coverage gap.

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 verb and resource: returns every account's debit and credit totals for a period. This is clear and distinct from a general ledger or balance sheet at a conceptual level, though it never explicitly contrasts itself with those siblings. Clear purpose without sibling differentiation.

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

Usage Guidelines2/5

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

There is no guidance on when to choose a trial balance over the many sibling report tools (balance_sheet, profit_and_loss, general_ledger). No prerequisites, no exclusions, no alternatives named. The agent must infer usage from the name alone.

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.