Skip to main content
Glama

Consolidated statement

consolidated_statement
Read-onlyIdempotent

A profit and loss, balance sheet or trial balance added up across the entities in these books. Accounts are added by account CODE (the name where there is no code). With eliminate: true accounts marked intercompany are removed AND listed in eliminated. An entity whose figures could not be read is named in degraded and LEFT OUT, so the totals are then not the whole group — say so. Read warnings: intercompany balances that do not net to zero are a real bookkeeping error.

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

Input Schema

NameRequiredDescriptionDefault
endNoISO date — profit and loss period end.
as_ofNoISO date — balance sheet or trial balance as at.
startNoISO date — profit and loss period start.
reportNoDefault profit_and_loss.
eliminateNoRemove accounts marked intercompany. They are listed in `eliminated`, never silently dropped.
entity_idsNoWhich entities to add up. Default: every one that is not archived.

Output Schema

NameRequiredDescriptionDefault
endNo
cogsNo
noteNoWhy the result was truncated, when it was.
basisNo
startNo
incomeNo
reportNo
totalsNo
columnsNo
degradedNo
expensesNo
warningsNo
eliminateNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
eliminatedNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, but the description adds substantial non-obvious behavior: eliminate removes AND lists intercompany accounts in `eliminated`, unreadable entities are dropped and named in `degraded` making totals incomplete, and intercompany balances that do not net to zero appear in `warnings`. It even prescribes that the agent must disclose the incompleteness, which is behavior no annotation conveys.

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

Conciseness5/5

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

Four dense sentences, front-loaded with what the tool returns, then the code-matching rule, then the two failure modes and the required disclosure. No filler; every clause carries operational information.

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?

Output schema exists so return values need not be explained, yet the description still usefully names the `eliminated`, `degraded`, and `warnings` fields. The main gap is that prerequisites and cross-entity permission or archiving behavior are only lightly touched.

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 the baseline is 3, but the description adds cross-parameter meaning: `eliminate` also produces `eliminated` output, and `entity_ids` defaults to every non-archived entity, clarifying scope beyond the schema's default note. `report` selection is framed by which of `start`/`end` vs `as_of` applies, tying parameters together.

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: a profit and loss, balance sheet or trial balance added up across entities. Names the three report types and the aggregation rule (accounts matched by CODE, name where no code), which distinguishes it from any single-entity reporting sibling.

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

Usage Guidelines4/5

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

Implicitly clear that this is the multi-entity aggregation path, and it explains what to do when output is degraded (say the totals are not the whole group). No explicit alternative sibling is named for consolidated vs single-entity reports, so it stops short of full routing guidance.

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