Skip to main content
Glama

List journal entries

list-journal-entries
Read-onlyIdempotent

One entity's journal entries with their line items, newest first, read from the live ledger.

WHEN TO USE:

  • "What did the close post?" (provenance='schedule_derived'), "what drafts are waiting?" (status='draft')

  • Reviewing a month's entries before closing it, or the entries under one transaction (transaction_id)

  • Confirming a write landed: the ledger, not the materialized graph, which lags it

PARAMETERS:

  • start_date / end_date (optional, YYYY-MM-DD): the entry-date window, both inclusive

  • status (optional): draft, posted or reversed

  • type (optional): standard, adjusting, closing or reversing

  • provenance (optional): what created the entry; schedule_derived is what the close posted

  • transaction_id (optional): only the entries under one transaction (from list-transactions)

  • entity_id (optional): omit for the group parent

  • limit (optional, default 50, 1 to 1000) and offset (optional, default 0): one page of entries; each entry carries its lines, so a page is larger than its count suggests

RETURNS: entries: each with id, number, transaction_id (null for a standalone entry), type, status, posting_date, memo, provenance, the schedule it came from, the event that wrote it, reversal_of, line_items (account, debit and credit amounts, description, flow and dimension tags), total_debit, total_credit and balanced. Amounts are in dollars. pagination counts entries.

RELATED TOOLS:

  • update-journal-entry / delete-journal-entry — correct a draft

  • get-account-register — one account's lines across entries

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": "list-journal-entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNostandard, adjusting, closing or reversing.
limitNo
offsetNo
statusNodraft, posted or reversed.
end_dateNoYYYY-MM-DD.
entity_idNoThe entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent.
provenanceNoWhat created the entry, e.g. schedule_derived.
start_dateNoYYYY-MM-DD.
transaction_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavior: results come from the live ledger rather than the lagging materialized graph, and each entry carries its lines so a page is larger than its count suggests. The RETURNS section discloses field-level shape including nulls and balanced totals.

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 opening sentence with bolded WHEN TO USE / PARAMETERS / RETURNS / RELATED TOOLS sections makes scanning easy. The RETURNS enumeration is long but earns its place since no output schema exists; slightly more verbose than strictly necessary.

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 9 optional parameters and no output schema, the description still covers filtering semantics, pagination limits, entity scoping, and return fields, leaving nothing an agent needs to call it correctly unstated.

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 67%, and the description compensates by explaining every parameter's meaning: date window is inclusive, status/type/provenance enumerations, transaction_id sourced from list-transactions, entity_id omission meaning group parent, and limit defaults/bounds with a page-size warning. Adds meaning beyond the terse schema descriptions, though it could spell out pagination mechanics more.

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 ('journal entries with their line items, newest first, read from the live ledger') and scopes it to one entity, distinguishing it from the materialized graph. An agent can tell what it returns without opening the schema.

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 trigger questions mapped to parameter values (provenance='schedule_derived', status='draft') plus workflow contexts like pre-close review and write confirmation. RELATED TOOLS names the mutation siblings and the account-register alternative with their purpose.

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.