Skip to main content
Glama

Consolidation worksheet

consolidation-worksheet
Read-onlyIdempotent

The group's statement for one window with each entity as a column, live from the ledger — the worksheet a controller checks a consolidation against.

WHEN TO USE:

  • "Show me the consolidation worksheet", "how does each company contribute to the group's balance sheet", "what do the eliminations take out"

  • Checking the consolidating entries: each member's own number, the combined sum, the adjustments, the consolidated result, side by side

  • For the group's statement alone, live-financial-statement with scope: consolidated is smaller

PARAMETERS:

  • statement_type (required) — income_statement, balance_sheet, cash_flow_statement or equity_statement

  • period_start / period_end, or period_type + fiscal_year — the window, as for live-financial-statement

RETURNS:

  • columns in order: the group parent, each member consolidated in full, combined (their sum, nothing eliminated), the consolidation entity (kind: adjustments, when the group has one), consolidated, then each equity-method or cost member (kind: not_summed, in_sum: false) — shown for reference, never added in; its effect reaches the group through the adjustments

  • rows — every line in the parent's Reporting Style order, values aligned with columns; a line zero in every column is left out

  • validation — the guard rails on the consolidated column; read it before quoting a number

  • A member outside its membership interval for the window has no column; unmapped_entity_ids names any entity with no mapping yet

  • omitted_periods — a window the live statement would leave out (before a summed entity's books begin, or a cash flow or equity statement a member joined or left within) is named here and not totalled; when it is the worksheet's own window, rows is empty

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": {
      "statement_type": "<statement_type>"
    },
    "name": "consolidation-worksheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
period_endNoExplicit window end (YYYY-MM-DD). Overrides period_type/fiscal_year.
fiscal_yearNoFiscal year for annual window (anchored on FiscalCalendar)
period_typeNoannual | quarterly | instant (ignored when explicit dates supplied)
period_startNoExplicit window start (YYYY-MM-DD). Overrides period_type/fiscal_year.
statement_typeYesType of financial statement to generate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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, so the bar is for added context, and the description delivers: validation guard rails on the consolidated column, entities missing a column outside their membership interval, `unmapped_entity_ids`, and `omitted_periods` including the case where `rows` comes back empty. It also pre-empts a likely numeric error by explaining that `not_summed` members are never added in.

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?

Front-loaded one-line summary, then bolded WHEN TO USE, PARAMETERS and RETURNS sections an agent can scan selectively. The RETURNS section is long but every bullet carries a distinct fact about column order, row omission, or validation rather than filler.

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?

There is no output schema, so the description must carry the return shape, and it does in full: column ordering with kinds, row alignment and zero-line omission, validation, unmapped entities, and omitted periods. Combined with the annotations, an agent has everything needed to call and interpret this tool correctly.

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 coverage is 100%, so the schema already documents all five parameters including enum values and the override behavior of explicit dates. The description's parameter block largely restates that, adding only the grouping of dates-versus-period_type/fiscal_year and a pointer to `live-financial-statement` for window semantics. Baseline 3 is appropriate.

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 artifact (the group's statement, one window, each entity as a column, live from the ledger) and frames it as the worksheet a controller checks a consolidation against. The contrast with `live-financial-statement` (smaller, consolidated scope only) makes it distinguishable from the nearest sibling.

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?

The WHEN TO USE block gives concrete user phrasings that select this tool, the workflow it supports (checking consolidating entries side by side), and an explicit alternative with the condition that picks it (`live-financial-statement` with `scope: consolidated` is smaller). Nothing is left to inference.

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.