Skip to main content
Glama
ComplyEaze Bridge: TallyPrime MCP server for Claude Desktop

ComplyEaze Bridge: TallyPrime MCP server for Claude Desktop

Official

ledger_movement

Read-only

Reads ledger opening, exact debit/credit movement, closing balances, and touched-voucher count for a date window; optionally scope to one ledger and use narrow dates.

Instructions

Return literal-window ledger opening, exact debit/credit movement, closing, and touched-voucher count with a freshly observed supported product/mode and an operation-valid opening boundary. Without ledger it reads the full voucher window before pagination; with one it reads only that ledger's vouchers, and window_scope says how (ledger_scoped, or whole_book with the reason). Use narrow dates. Dense windows can fail source limits. Requires one observed INR currency master: a book with several Currency masters, none, or one that is not INR is refused before any ledger read. A ledger name resolves only when spelled as in the book or differing from it only in ASCII case and spaces; ledger_match names the ledger read, how (matched: exact, or case_or_spacing, which the answer should mention by naming the ledger read) and any similar_ledgers that differ from it only in case or whitespace. A slow read says so in the result's read_cost: the window is read twice, a planned read and a replay that proves nothing moved, and the block gives both reads' observed seconds, a floor derived from the census gaps (not measured) and whether those two voucher reads together stayed inside the one measured host limit (the two ledger catalogue reads, the company check and the wider read an empty window gets are not in it); it adds no request and refuses nothing; window_scope.read_cost_excludes names a given-up scoped attempt it leaves out. For every ledger's balances from Tally's own Trial Balance, without reading vouchers, use trial_balance instead. Each call appends metadata-only receipt lines (tool, company, counts, request and response fingerprints; no book content) to ComplyEaze Bridge's local log on this computer; it writes nothing to Tally.

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": {
      "company_guid": "<company_guid>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "ledger_movement"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe last day of the date range, included (YYYYMMDD or YYYY-MM-DD).
fromYesThe first day of the date range, included (YYYYMMDD or YYYY-MM-DD).
limitNoThe most rows to return on this page. The default and the maximum are this server's row limit (500 unless it is configured otherwise).
ledgerNoOptional: one ledger's name, spelled as in the book or differing only in ASCII case and spaces. Left out, every ledger. A name that does not resolve is refused before any voucher is read.
offsetNoHow many rows to skip before this page: 0, the default, is the first page.
company_guidYesThe company's company_guid, as list_companies returns it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.4.3
    • addedInput schema / properties / company_guid / description
      Added value: +"The company's company_guid, as list_companies returns it."
    • addedInput schema / properties / from / description
      Added value: +"The first day of the date range, included (YYYYMMDD or YYYY-MM-DD)."
    • addedInput schema / properties / ledger / description
      Added value: +"Optional: one ledger's name, spelled as in the book or differing only in ASCII case and spaces. Left out, every ledger. A name that does not resolve is refused before any voucher is read."
    • removedInput schema / properties / limit / default
      Removed value: -500
    • addedInput schema / properties / limit / description
      Added value: +"The most rows to return on this page. The default and the maximum are this server's row limit (500 unless it is configured otherwise)."
    • addedInput schema / properties / offset / description
      Added value: +"How many rows to skip before this page: 0, the default, is the first page."
    • addedInput schema / properties / to / description
      Added value: +"The last day of the date range, included (YYYYMMDD or YYYY-MM-DD)."
  2. First observedv0.4.1

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations: it discloses the INR-currency precondition and the exact refusal cases (no Currency master, several, or non-INR), ledger-name resolution tolerance, the double-read/replay cost model with what is and is not inside the measured host limit, the metadata-only receipt lines appended to a local log, and explicitly states it writes nothing to Tally. This is the kind of precondition and side-effect detail annotations cannot carry.

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

Conciseness2/5

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

The purpose is front-loaded, but the body is a run-on chain of clauses with nested parentheticals (the read_cost sentence alone spans several lines and enumerates which internal reads are excluded from a host limit). Much of this detail belongs in documentation or would be surfaced in the response itself; as written, key guidance like 'Use narrow dates' is buried mid-paragraph.

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?

With no output schema, the description carries the burden of explaining returns, and it does name the salient result fields (window_scope, ledger_match, similar_ledgers, read_cost with its sub-fields). An agent can predict the shape of the answer. It is dense rather than complete-but-missing, so a 4 rather than lower.

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 six parameters are already documented, and the description's ledger spelling rules largely repeat the schema's own wording. It adds real value only on parameter interaction — that omitting `ledger` reads the whole voucher window before pagination, while supplying one reads only that ledger. 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 first sentence names a specific verb and output set: opening, debit/credit movement, closing, and touched-voucher count for a date window. It also distinguishes itself from trial_balance (which returns balances without reading vouchers). Clarity is slightly undercut by jargon such as 'literal-window,' 'operation-valid opening boundary,' and 'freshly observed supported product/mode,' which an agent must infer.

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?

It explicitly routes the agent away: 'For every ledger's balances from Tally's own Trial Balance, without reading vouchers, use trial_balance instead,' and gives operational guidance ('Use narrow dates. Dense windows can fail source limits'). It also explains the ledger / no-ledger split. What it lacks is a clear statement of the specific situations this tool should be preferred in, beyond the one negative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.