Skip to main content
Glama

wariwari

List expenses

list_transactions
Read-only

Use this to list a group's expenses and payments, newest first, optionally filtered by date range, category or participant token. Page with cursor.

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

Input Schema

NameRequiredDescriptionDefault
toNoOnly transactions dated on or before this date.
fromNoOnly transactions dated on or after this date.
takeNoHow many items to return.
cursorNoThe `pagination.cursor` of the previous page. Opaque; pass it back unchanged.
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
categoryTokenNoOnly transactions filed under this group category.
participantTokenNoOnly transactions this participant paid for or owes a share of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / $defs / Token / description
      Previous value: -"Resource token. 24 characters of base58 (`SecureRandom.base58(24)` —\nthe alphabet excludes the visually-confusable `0`, `O`, `I`, `l`).\nTokens are stable across edits. Most public resources receive a\nserver-generated token on creation; group creation may also accept\nclient-supplied participant tokens for offline/import flows.\n"New value: +"Resource token: 24 base58 characters (the alphabet leaves out the\nlook-alikes `0`, `O`, `I` and `l`). A token never changes. The server\ngenerates one when a create sends none; a client may choose its own for a\ntransaction, participant, category or recurring expense, so a write queued\noffline already knows the token it will have.\n"
    • removedInput schema / properties / category
      Removed value: -{
      -  "$ref": "#/$defs/Token",
      -  "description": "Only transactions filed under this group category."
      -}
    • addedInput schema / properties / categoryToken
      Added value: +{
      +  "$ref": "#/$defs/Token",
      +  "description": "Only transactions filed under this group category."
      +}
    • changedInput schema / properties / cursor / description
      Previous value: -"Cursor from the previous response."New value: +"The `pagination.cursor` of the previous page. Opaque; pass it back unchanged."
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • removedInput schema / properties / participant
      Removed value: -{
      -  "$ref": "#/$defs/Token",
      -  "description": "Only transactions this participant paid for or owes a share of."
      -}
    • addedInput schema / properties / participantToken
      Added value: +{
      +  "$ref": "#/$defs/Token",
      +  "description": "Only transactions this participant paid for or owes a share of."
      +}
    • changedInput schema / properties / take / description
      Previous value: -"Number of transactions to return. Defaults to 50; maximum 100."New value: +"How many items to return."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely behavioral detail that the annotations do not: results are ordered newest first and paging is done via cursor. It stops short of describing what a page contains or what happens at the end of the result set.

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 sentences, zero filler, and the primary purpose plus ordering are front-loaded before the filter and pagination details. Every clause carries information.

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 7-parameter read-only list tool with no output schema, the definition covers purpose, ordering, filtering and the paging loop, which is the essential shape of the call. Minor gaps remain around page contents and termination, but nothing required to invoke it correctly is missing.

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%, with per-parameter descriptions for from/to, take, cursor, groupToken, categoryToken and participantToken. The description only restates the filter dimensions (date range, category, participant) and the cursor mechanism, adding no syntax or edge-case meaning beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('list a group's expenses and payments'), plus ordering ('newest first') and filter scope. It implicitly separates itself from list_recurring_expenses and get_transaction by covering one-off group transactions, but never names a sibling to differentiate explicitly.

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?

'Use this to list a group's expenses and payments' gives clear context for when the tool applies, and the filtering clause shows the intended narrowing options. There is no when-not guidance or explicit routing to alternatives such as get_transaction for a single item.

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