Skip to main content
Glama
Beankeeper

Beankeeper

Official

txn_list

Read-only

List or count company transactions with filters for date, account, amount, direction, and metadata, using pagination. Optionally include reversed or recategorized entries in results.

Instructions

List or count transactions using filters and pagination. By default, lists hide both sides of reversed pairs and links to them. Pass include_reversed: true to include them. Entry filters (account, tax_category, direction, amounts) skip lines a recategorization moved away and list the correction, which names the original in recategorizes; pass include_recategorized: true to match every stored line.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "company": "<company>"
    },
    "name": "txn_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
metaNo
countNo
limitNoPage size: 0 to 4294967295 transactions, or -1 for every match. Defaults to 50.
offsetNoRows to skip before returning a page.
accountNo
companyYes
currencyNoCurrency code. Required with an amount filter if the company uses multiple currencies.
metadataNo
amount_eqNoExact entry amount in major units.
amount_gtNoExclusive minimum entry amount in major units.
amount_ltNoExclusive maximum entry amount in major units.
directionNo
referenceNo
descriptionNo
tax_categoryNo
include_reversedNoInclude both the original and reversal in results and counts.
include_recategorizedNoMatch entry filters against lines a recategorization moved away and their offsets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.2.0
    • addedInput schema / properties / direction / default
      Added value: +null
    • addedInput schema / properties / include_recategorized
      Added value: +{
      +  "default": false,
      +  "description": "Match entry filters against lines a recategorization moved away and their offsets.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit / default
      Added value: +50
    • changedInput schema / properties / limit / description
      Previous value: -"Page size. `SQLite` treats negative limits as unlimited."New value: +"Page size: 0 to 4294967295 transactions, or -1 for every match. Defaults to 50."
    • removedInput schema / properties / limit / format
      Removed value: -"int64"
    • addedInput schema / properties / limit / maximum
      Added value: +4294967295
    • addedInput schema / properties / limit / minimum
      Added value: +-1
    • changedInput schema / required
      Previous value: -[
      -  "company",
      -  "direction"
      -]New value: +[
      +  "company"
      +]
  2. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds genuinely non-obvious behavior — that lists hide both sides of reversed pairs by default and that entry filters skip lines moved by a recategorization. These defaults would silently change results if undisclosed. It still omits sort order, the count response shape, and pagination interaction, 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.

Conciseness4/5

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

Three sentences, front-loaded with purpose, then default behavior, then the second flag — good ordering with little waste. The final clause ('which names the original in recategorizes') is grammatically tangled and costs readability.

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?

For a 19-parameter read tool with no output schema and only a readOnlyHint annotation, the description covers the tricky default-filtering semantics well but leaves much unsaid: date-range semantics, meta vs metadata, whether count returns a number, and result ordering. Adequate to call, not fully sufficient to predict results.

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 coverage is 42%, so the description needs to compensate. It does add meaning for a subset: it groups account, tax_category, direction and amounts as 'entry filters' that operate on posted lines, and explains both include_* flags. Fourteen parameters (from/to, meta, metadata, reference, description, count, offset, currency behavior) remain undocumented or only covered by the schema.

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 opens with a specific verb pair and resource: 'List or count transactions using filters and pagination.' That clearly separates it from the txn_* mutation siblings (txn_post, txn_reverse, txn_recategorize). It doesn't explicitly name an alternative list-style sibling, so it stops short of 5.

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

Usage Guidelines4/5

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

It gives concrete conditional guidance: pass include_reversed: true to see reversed pairs, pass include_recategorized: true to match every stored line. That tells the agent when to flip each switch. It offers no guidance about choosing between txn_list and other read tools such as txn_proposals, and no exclusions.

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