Skip to main content
Glama

get_gl_journal_entry

One entry + lines, plus the subledger rows it produced/touched (Gap B detail surfacing): its gl_vat_posting rows, its gl_vat_zero_posting turnover-only declarations (zero-rated/exempt output — R2-13b: these have no VAT line to pair, so without them a correctly coded 0 % line is indistinguishable from an untagged one) and referenced gl_open_item rows. A declared base line also carries the resolved code on lines[].vat_code. Drafts carry empty lists. documents carries the accounting documents explicitly attached to the entry (POST …/documents) — the evidence for a hand-booked entry; a pipeline-created entry carries its document through source_ref_* instead and lists nothing here. Member read, like the rest of the detail.

Input Schema

NameRequiredDescriptionDefault
entry_idYes
company_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose genuinely non-obvious traits: drafts return empty lists, hand-booked entries populate 'documents' while pipeline-created entries carry their document via source_ref_* instead, and the access level is 'Member read'. It omits not-found/error behavior and pagination, but the return-semantics disclosure is substantive.

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 description is a dense, jargon-laden paragraph riddled with internal references ('Gap B', 'R2-13b') and backtick-quoted field names, with no front-loaded purpose statement. Much of it reads as implementation notes about return payload structure rather than guidance an agent needs to select and invoke the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description legitimately needs to explain the return payload, and it does so thoroughly (VAT postings, zero-posting declarations, open items, documents). However, it is incomplete on the invocation side: no parameter guidance, no usage routing, and no error behavior for a two-required-param tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions entry_id or company_id, so it adds no meaning to either required parameter. It references 'lines[].vat_code' and 'source_ref_*' fields of the payload but not the inputs, leaving the caller to infer how to identify the entry being fetched.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'One entry + lines' which implies a single-entry detail read, but frames the tool almost entirely around return payload content rather than stating a clear verb+resource purpose (e.g. 'Retrieve a single GL journal entry by ID'). It never explicitly distinguishes itself from the sibling list_gl_journal_entries beyond the implied singularity of 'one entry'.

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 only usage-relevant statement is 'Member read, like the rest of the detail,' which implies read-only access but gives no when-to-use context. It does not say when to prefer this over list_gl_journal_entries, get_gl_account_ledger, or entry_candidates, and offers no exclusions or prerequisites.

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