Skip to main content
Glama

Tokenbooks - crypto and fiat accounting and payments

Get Journal Entry

get_journal_entry
Read-onlyIdempotent

Read every debit and credit line in one journal entry—the detailed accounting record—and trace each line to its cost-basis records and blockchain movements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portfolioRefYesPortfolio exact name or slug
workspaceRefYesWorkspace exact name or slug
journalEntryIdYesJournal entry ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and non-destructive behavior, so the description doesn't need to restate safety. It adds a meaningful behavioral trait: it traces each line to cost-basis records and blockchain movements, clarifying the depth of data returned beyond a plain journal-entry fetch.

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

Conciseness5/5

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

A single sentence with a front-loaded verb and no wasted words. The em-dashed parenthetical adds useful domain context, and every clause contributes to the object, scope, or output behavior.

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 read operation with full parameter coverage, the description plus schema is sufficient to invoke it correctly. It clearly states what will be returned—debit/credit lines and traced records—though it does not discuss pagination or the potential size of the traced result set.

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?

All three parameters have 100% schema description coverage, so the baseline is a 3. The description does not add parameter-level detail, but it doesn't need to because the schema already documents workspaceRef, portfolioRef, and journalEntryId clearly.

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 description names a specific resource (a journal entry), a precise action (read), and a concrete scope (every debit/credit line plus traced cost-basis and blockchain records). It clearly distinguishes itself from sibling get_* tools in substance, though it does not explicitly name an alternative.

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

Usage Guidelines3/5

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

There is no explicit statement about when to use this tool vs. alternatives like get_lot_ledger or get_accounting_reference. The wording implies it is for retrieving a full journal entry with its traced records, but it lacks direct when-to-use or when-not-to-use guidance.

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