Skip to main content
Glama

Taokeh MCP server

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

General ledger

general_ledger
Read-only

The general ledger for a date range, for every account or one account (accountCode), with the same figures as Reports → General Ledger and its CSV. Per account: opening (the balance before from, from the first entry; there is no year-end close), the posted rows in date order (date, reference, memo, debit, credit, the running balance, journalEntryId), totalDebit/totalCredit for the range, movement and closing. Balances are signed by statement section (positive = a debit balance for assets and expenses, a credit balance for liabilities, equity and revenue), so closing equals that account's balance in trial_balance as of to. An account with no line in the range and a zero opening is left out and counted in accountsOmitted. At most 300 rows come back across all accounts, in account-code then date order. When more is true the rows are cut short, while every account's opening, totals and closing stay exact and hiddenRows on an account counts its lines not shown; a narrower range or a single accountCode returns the rest.

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

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
accountCodeNoOne account code (exact, e.g. "1010"). Omit for every account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the readOnly/non-destructive annotations by disclosing the 300-row cap, that rows are truncated in account-code then date order, that openings/totals/closings remain exact even when truncated, and that `hiddenRows` and `accountsOmitted` quantify what is missing. It also documents the signing convention and the absence of a year-end close, which materially affects how an agent interprets the numbers.

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?

Purpose is front-loaded in the first clause and every subsequent sentence adds non-redundant semantics about the returned figures. The final paragraph is a long run-on covering the row cap, exactness of aggregates, and remediation, which is dense but information-bearing rather than padded.

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?

With no output schema, the description fully specifies the return shape: per-account opening, rows with their fields, totalDebit/totalCredit, movement and closing, plus the omission and truncation metadata. For a multi-account, possibly truncated report this is everything an agent needs to call it and to interpret partial results correctly.

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 only 33% (only `accountCode` is documented), so the description must carry the rest, and it does: `from` is defined as the exclusive boundary for `opening`, `to` anchors `closing` to trial_balance as of that date, and both are shown to accept date ranges whose breadth controls truncation. It does not restate the YYYY-MM-DD pattern, but the schema covers that.

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 the specific resource (the general ledger) and its scope precisely: a date range, every account or a single `accountCode`. It anchors the output to a recognizable artifact (Reports → General Ledger and its CSV) and names `trial_balance` as the report whose per-account balances reconcile with `closing`, so an agent can place it among siblings without opening a schema.

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?

Gives clear operating context, including the practical routing advice in the final sentence: when `more` is true, use a narrower range or a single `accountCode` to get the rest. It does not explicitly exclude or contrast sibling reports beyond the reconciliation note with trial_balance, so there is no formal when-not guidance, but the conditions for narrowing are explicit.

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