Skip to main content
Glama
Zenskar MCP Server

Zenskar MCP Server

Official
by zenskar

listJournalEntries

listJournalEntries

Retrieve a paginated list of journal entries with filters for date, status, account, or job to review accounting activity and reconcile debits and credits.

Instructions

Retrieve a paginated list of journal entries with optional filtering by date, status, account, or job. Filters use fastapi-filter conventions (e.g. posted_at__gte=YYYY-MM-DD, lines__account_id=). Debits and credits are in cents.

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": "listJournalEntries"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFilter by journal entry UUID (exact match).
limitNoMaximum number of journal entries to return per page.
orderNoSort order. Prefix with '-' for descending. Defaults to '-created_at'.
cursorNoCursor for pagination.
job_idNoFilter by originating job UUID (e.g. revenue recognition batch).
status_typeNoFilter by status. Common values: 'posted', 'draft'.
search_queryNoSearch query to filter journal entries.
__userContextNoInternal user context for multi-tenant authentication and approval workflow
posted_at__gteNoPosted-at date lower bound (inclusive). Accepts ISO date YYYY-MM-DD or full datetime.
posted_at__lteNoPosted-at date upper bound (inclusive).
lines__account_idNoFilter entries having a line on this account UUID.
description__ilikeNoCase-insensitive partial match on description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.4

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the pagination model (limit per page plus a cursor) and clarifies units ('Debits and credits are in cents'), which the schema does not state. It omits permission/auth expectations, any maximum or default page size, and the shape of returned entries.

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?

Three tight sentences, front-loaded with the core action and then the filter mechanics and unit note; nothing is padded. The filter-convention examples are the only mildly redundant content given the per-parameter examples in the schema.

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?

For a 12-parameter, filter-heavy read tool with no output schema, the description covers the essentials an agent needs: scope, pagination, operator syntax, and unit conventions. Since there is no output schema, a brief note on the returned entry structure would have closed the remaining gap, but the definition is otherwise adequate.

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 description coverage is 100%, so every parameter already documents itself, including the posted_at__gte/lte bounds and lines__account_id. The description's mention of fastapi-filter conventions adds a small amount of framing by signaling double-underscore operator syntax across filters, but no new per-parameter meaning. Baseline 3 applies.

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?

States a specific verb and resource ('Retrieve a paginated list of journal entries') plus the optional filter dimensions, so an agent knows exactly what it returns at a glance. It does not explicitly contrast itself with listJournalLines or getJournalEntry, so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description covers what can be filtered but gives no when-to-use guidance: nothing says to prefer this over listJournalLines for line-level data, over getJournalEntry for a single entry, or what to do when no filters are needed. Usage is only implied by the presence of filter parameters.

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

Deploy Server

Other Tools