Skip to main content
Glama

Preview consolidation entries

preview-consolidation-entries
Read-onlyIdempotent

The consolidating entries a group's month needs, computed from the books. Posts nothing.

WHEN TO USE:

  • "What consolidating entries does August need", "are the eliminations up to date", "why does the consolidated balance sheet still show the investment"

  • Before posting a consolidating entry by hand: see what the engine would post, and whether a hand entry of the same kind already covers it

  • After a member's month changes: what moved in the eliminations and the noncontrolling interest

PARAMETERS:

  • period (required) — the month, YYYY-MM

RETURNS:

  • proposals — one entry per kind and member, each the difference between what that adjustment should hold at the month end and what the consolidation entity already holds: elimination_investment (the parent's investment against the member's capital, the outside owners' share as noncontrolling interest), elimination_intercompany (the balances the companies owe each other, and the month's intercompany income against the matching expense), nci_allocation (the outside owners' share of the month's result), equity_method_pickup (the parent's share of an equity-method member's result). Each has its lines in the consolidation entity's accounts and a basis saying how it was computed

  • residuals — the parent's investment in a member that differs from its share of the member's capital; that member's investment elimination is withheld until it is explained, never plugged

  • reconciling_items — intercompany figures the two sides disagree on; the lower amount is eliminated

  • notes — what was left out and why, e.g. a cost one company recharged to another at cost, which stays in the group's result

  • up_to_date — nothing withheld, and the month's needs are posted or already drafted (drafted_entry_ids); drafted, they wait for the consolidation entity's close

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": {
      "period": "<period>"
    },
    "name": "preview-consolidation-entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesThe month, as YYYY-MM.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, non-destructive, so the description's job is to add domain behavior — and it does: residuals are withheld and 'never plugged', reconciling items eliminate at the lower amount, notes record what was excluded and why, and up_to_date distinguishes posted from drafted entries awaiting close. These are substantive behavioral rules an agent could not infer from the annotation set.

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 one-line summary followed by clearly headed WHEN TO USE, PARAMETERS, and RETURNS blocks; no filler sentences. The RETURNS block is long, but it substitutes for a missing output schema and each item type earns its line. Slightly dense prose in the RETURNS bullets costs it the top score.

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?

This is a complex accounting-engine tool with no output schema, and the description fully compensates by documenting every returned collection (proposals, residuals, reconciling_items, notes, up_to_date), the four entry kinds, and the drafting/close lifecycle. An agent has everything needed to call it and interpret results without opening anything else.

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?

There is a single required parameter with 100% schema description coverage, and the description restates it as 'the month, YYYY-MM' — the same information the schema and its regex pattern already carry. Nothing is added about edge cases such as periods before the group existed or periods already closed, so baseline 3 is appropriate.

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?

The opening line names a specific resource ('the consolidating entries a group's month needs') and a specific computation ('computed from the books'), plus the key scoping fact 'Posts nothing.' An agent can tell this is a read/compute preview rather than a posting operation. It stops short of naming the likely write sibling (propose-consolidation-entries) explicitly, so differentiation is implied rather than stated.

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?

The WHEN TO USE block gives three concrete trigger scenarios with quoted user phrasings ('what consolidating entries does August need', 'are the eliminations up to date') and a clear pre-hand-posting check. That is unusually strong context. However, no alternative tool is named as a substitute or routing target, so the when-not/alternatives half of the top rubric level is not met.

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.