Skip to main content
Glama

Get ledger transaction

wave_get_ledger_transaction
Read-onlyIdempotent

Retrieve a single imported ledger transaction with all journal lines, including account, debit, credit, line description, and sales tax, using a transaction ID from wave_list_ledger_transactions.

Instructions

One transaction from the imported ledger with every journal line (account, debit, credit, line description, sales tax). IDs come from wave_list_ledger_transactions.

Input Schema

NameRequiredDescriptionDefault
businessIdNoBusiness ID; defaults to the one wave_get_context reports
transactionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so safety is covered. The description adds value beyond that by disclosing the response shape (all journal lines with account, debit, credit, description, sales tax), which matters because there is no output schema. It does not mention pagination or behavior when a transaction ID is absent.

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?

Two short sentences with no waste. The returned content is front-loaded and the parameter-sourcing note follows immediately, which is the right order for an agent deciding whether to call it.

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 two-parameter read tool with no output schema, the description covers the essential missing pieces: what a record contains and where the required ID comes from. The businessId default is already handled in the schema, so nothing critical is absent, though a note on error behavior for unknown IDs would round it out.

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 50%: businessId is documented in the schema, but transactionId has no description there. The description compensates by stating that IDs come from wave_list_ledger_transactions, effectively explaining the origin and format of the one undocumented required parameter.

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 and scope: a single transaction from the *imported ledger*, plus an enumeration of the journal-line fields returned. That distinguishes it reasonably from wave_get_transaction and wave_list_ledger_transactions, though it never explicitly contrasts itself with wave_get_transaction, which is the nearest ambiguous sibling.

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?

It gives a concrete sourcing rule — 'IDs come from wave_list_ledger_transactions' — which tells the agent how to obtain the required parameter. However, there is no when-to-use/when-not guidance relative to wave_get_transaction or wave_list_ledger_transactions, so the agent must infer that this is the detail-fetch following a list call.

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