Skip to main content
Glama

List transactions

list_transactions
Read-only

Every event of a tax year, in time order, a page at a time (pass the page's after for the next): what it moved, how it was read, what the report made of it, the types the user may say it was (set_transaction_type), the user's note on its transaction; a prediction market's share with its market's result. Narrow by a source (a chain or exchange tag), a UTC month, an asset's symbol, a word, or the kind of transaction it is (station: trades, own moves between the user's own places, transfers, income, positions, bridges, fees, other).

    Refused while the account's history is still being read: see get_tax_reports.

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": {
      "year": "<year>"
    },
    "name": "list_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOnly the events this word is found in. Left out: no search.
yearYesThe tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in.
afterNoWhere the page starts: 0 for the first page, then the ``after`` the page before gave.
assetNoOnly the events that move this asset, by its symbol (``ETH``). Left out: every asset.
monthNoOnly one month of the year, by UTC. Left out: the whole year.
clientNoAn account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case.
sourceNoOnly the events of one source: the source's tag, as list_transactions gives it in ``source``: a chain's (``ethereum``) or an exchange's. Left out: every source.
stationNoOnly one kind of transaction: trades, own moves between the user's own places, transfers, income, positions, bridges, fees or other. Left out: every kind.

Output Schema

NameRequiredDescriptionDefault
afterYes
totalYes
assetsYes
eventsYes
unnamedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / after / description
      Added value: +"Where the page starts: 0 for the first page, then the ``after`` the page before gave."
    • addedInput schema / properties / asset / description
      Added value: +"Only the events that move this asset, by its symbol (``ETH``). Left out: every asset."
    • addedInput schema / properties / month / description
      Added value: +"Only one month of the year, by UTC. Left out: the whole year."
    • addedInput schema / properties / source / description
      Added value: +"Only the events of one source: the source's tag, as list_transactions gives it in ``source``: a chain's (``ethereum``) or an exchange's. Left out: every source."
    • addedInput schema / properties / station / description
      Added value: +"Only one kind of transaction: trades, own moves between the user's own places, transfers, income, positions, bridges, fees or other. Left out: every kind."
    • addedInput schema / properties / text / description
      Added value: +"Only the events this word is found in. Left out: no search."
    • addedInput schema / properties / year / description
      Added value: +"The tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavior: results are time-ordered, delivered one page at a time with a pass-back token protocol, and the call fails outright while the account's history is still being processed. It stops short of describing page-size limits or what the pagination terminal condition looks like, 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.

Conciseness3/5

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

The purpose and the pagination/refusal rules are front-loaded, which is good, but the middle clause enumerating what each event contains ('what it moved, how it was read, what the report made of it...') restates return fields that the output schema already defines. The long comma-spliced sentences make it denser than it needs to be.

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 an 8-parameter, read-only, paginated list tool with an output schema and safety annotations, the description covers the essentials: ordering, pagination protocol, every filter axis, and the blocking precondition. Only the absence of page-size/termination detail keeps it from being fully complete.

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 description coverage is 100%, so the schema already carries each parameter's meaning, and much of the description's filter list duplicates it (source as a chain/exchange tag, month as UTC, station kinds). The gloss on 'own' moves and the pointer that `station` values are also what set_transaction_type accepts add marginal value, but the baseline of 3 is right when the schema does the heavy lifting.

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?

The opening clause states the resource and scope precisely: every event of a tax year, in time order, paginated. It also names the two siblings an agent might confuse it with — get_tax_reports for the readiness precondition and set_transaction_type for the type field — so the boundary is clear without opening another schema.

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 enumerates every narrowing axis (source, UTC month, asset symbol, word, station) and gives a concrete when-not: it is refused while history is still being read, with get_tax_reports as the pointer. There is no explicit statement of which sibling to prefer for other listing needs (e.g. clients or attention items), but the filtering guidance is clear.

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