Skip to main content
Glama

List transactions

list-transactions
Read-onlyIdempotent

One entity's transactions as the ledger holds them: invoices, bills, payments, deposits and the rest a source system or the ledger recorded.

WHEN TO USE:

  • Last month's invoices or bills (type), or every transaction in a window

  • Finding the transaction behind an entry, then its entries with list-journal-entries(transaction_id)

PARAMETERS:

  • type (optional): the transaction type, as its source names it

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

  • entity_id (optional): omit for the group parent

  • limit (optional, default 100, 1 to 1000) and offset (optional, default 0): one page

RETURNS: transactions: each with id, number, type, category, amount, currency, date, due_date, merchant_name, reference_number, description, source and status. Amounts are in dollars. pagination gives the total and whether more follow. A standalone journal entry (what the close and the handlers post) has no transaction: read those with list-journal-entries.

RELATED TOOLS:

  • list-journal-entries — a transaction's entries and lines

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-transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoThe transaction type.
limitNo
offsetNo
end_dateNoYYYY-MM-DD.
entity_idNoThe entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent.
start_dateNoYYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so safety is covered. The description adds genuinely non-obvious behavior: results are paginated one page at a time with total-and-more-follow metadata, amounts are in dollars, and standalone journal entries are excluded from this listing. It does not discuss permissions or ordering of results, so not a 5.

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?

Front-loaded one-line purpose followed by labeled WHEN TO USE, PARAMETERS, RETURNS and RELATED TOOLS sections. Each block carries information the schema or annotations do not, and the important exclusion (standalone journal entries) is stated where it will be read.

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 no output schema, the description carries the return contract itself, listing the transaction fields, the pagination object, and the currency unit. Combined with the parameter and alternative-tool guidance, an agent has everything needed to call this correctly on the first attempt.

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 PARAMETERS block fills the gap by explaining that start_date/end_date are both inclusive, that omitting entity_id targets the group parent, and that type is 'as its source names it' rather than an enum. That is real added meaning beyond the schema, though limit/offset values merely restate the schema defaults and bounds.

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?

Names the resource precisely and scopes it: 'One entity's transactions as the ledger holds them', enumerating what counts (invoices, bills, payments, deposits). It also pre-empts the most likely confusion with the sibling by noting that standalone journal entries have no transaction and belong to list-journal-entries.

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?

A dedicated WHEN TO USE block gives two concrete scenarios (last month's invoices/bills by type, or a whole window) and explicitly names list-journal-entries with the transaction_id hand-off as the follow-up path. Both the when-to-use and the alternative are stated rather than inferred.

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.