Skip to main content
Glama

query_summ_transactions

Read-only

Query transactions with the filter DSL: dates (after/before), categories, currencies, sources, blockchains, warnings, and compound and/or/not. Call get_filter_options first for valid values.

Filter examples:

  • Uncategorised in January: { type: "and", rules: [{ type: "warning", value: ["uncategorised"] }, { type: "after", value: 1704067200000 }, { type: "before", value: 1706745600000 }] } — uncategorised is a warning, NOT a category

  • The uncategorised warning matches only actions that carry it. Business uncategorised-as-taxable settings, dismissed warnings and ignored or fiat currencies suppress it, so it can return 0 rows while rows are still tagged [UNCATEGORISED]. The set the table tags [UNCATEGORISED] is { type: "trade", value: ["in", "out", "unknown", "arbitrary-uncategorised"] }; run it too before saying nothing needs categorising.

  • Missing prices: { type: "warning", value: ["missingPrice"] }

  • By source: { type: "source", value: ["binance"] } — exchange by name; wallet by its get_filter_options id (that chain only) or bare address (all chains)

  • By blockchain: { type: "blockchain", value: ["eth"] }

  • By import: { type: "importId", value: ["69d36575532f86db444dc33c"] }

  • Only ignored: { type: "trade", value: ["ignoreIn", "ignoreOut"] }; wrap it as { type: "not", rule: … } to exclude them

Every rule needs a type and singular keys (blockchain, warning, source, importId); flat shorthand like { blockchains: [...] } is rejected.

Ignored, spam and dust transactions are HIDDEN by default. To see them, pass includeHidden: true or filter by the bulkEditId from bulk_edit_transactions (that filter always includes hidden rows). Rows carry status tags ([IGNORED], [SPAM], [UNCATEGORISED]) to verify an edit landed.

Name categories to the user by their UI label, never the raw API enum: deposit→Receive, withdrawal→Send (others usually match). For the full rules (fiat, transfers, what must never be surfaced), read the User-facing wording section of read_me_first if you haven't already.

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": {
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "query_summ_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number
sortNoSort ordernewestFirst
countNoNumber of transactions per page (max 250, default 25)
filterNoFilter query (NewFilters DSL). Every rule is an object with a `type` discriminator; keys are singular (`blockchain`, `warning`, `source`, `importId`). Flat shorthand like { blockchains: [...] } is rejected — see the tool description for examples.
contextYesWrite one short, abstract, third-person sentence about the task. Refer to the requester only as "the user". Refer to any selected customer, client profile, business, portfolio, account, or data source only as "the client". Never copy, abbreviate, initialize, quote, or paraphrase a user or client name from the conversation, request, or tool data. Never put a name, initials, label, possessive name, business name, email, account name, or identifier before or after "the user" or "the client". Rewrite every named reference to exactly "the user" or "the client". For example, rewrite "User wants to know the inventory method for the client Alex R" as "The user wants to know the inventory method for the client." Do not include wallet names, wallet addresses, transaction hashes, amounts, balances, prices, dates, tax identifiers, account identifiers, or other personal or financial values. Use only generic data categories such as "transactions", "accounts", "wallets", or "tax settings". If a safe abstract summary is not possible, write exactly "the request contains sensitive details".
clientIdNoThe client this call acts for — its ID comes from list_clients. Accountants and collaborators: set it on every client-scoped call to operate on that client's data. Only accountant/collaborator accounts have clients; individual accounts omit it.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
includeHiddenNoInclude ignored, spam and dust transactions, which are hidden by default (mirrors the app's 'show spam' view setting). Set true to verify a bulk ignore/spam edit landed — otherwise those rows won't appear here at all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses important behavior: ignored, spam, and dust transactions are hidden by default; bulkEditId always includes hidden rows; rows carry status tags; and the uncategorised warning has suppression semantics that can return zero rows. These are meaningful operational details an agent would not get from annotations alone.

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?

The description is front-loaded with purpose and prerequisites, and the examples are useful for a complex nested DSL. It is long and some nuanced warning/read_me_first material could be trimmed, but most of the detail earns its place.

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 complex, nested-filter query tool with rich schema coverage, the description supplies the key DSL usage patterns, hidden-row behavior, prerequisite tools, and status tag context. It does not describe the returned transaction page format or pagination behavior, though the schema covers pagination parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema has 100% description coverage, the description adds substantial meaning beyond it with worked DSL examples, the requirement for singular keys, rejection of flat shorthand, source semantics for exchange vs wallet, importId usage, and hidden-row behavior for includeHidden. This is well beyond baseline schema explanation.

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 description states a specific action and resource: query transactions using a filter DSL with dates, categories, currencies, sources, blockchains, warnings, and compound rules. It clearly distinguishes this as filter-based transaction querying and points to prerequisites like get_filter_options rather than any sibling query tool.

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 clear operational guidance: call get_filter_options first for valid values, use the DSL for filtering, and pass includeHidden or a bulkEditId when hidden rows matter. It stops short of naming explicit alternatives or when-not-to-use cases, so it is strong but not fully exhaustive.

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