Skip to main content
Glama

Moneda

get_transactions

Read-only

Get transaction history including card programme activity. Standard format returns JSON; tax_export returns a compact CSV with full unmasked addresses, token contracts, vault tokens, sender/recipient details, and tax labels (Koinly/CoinTracker/TaxBit compatible). Use year for annual tax exports (up to 250 per request). Filter by typeGroup, type, category, currency, dates, counterparty, amount, status, hasNote, hasCategory, hasReceipt, and card. For card queries, pass card (matches a card by its last 4 digits like "1234" or by a substring of the card alias like "subscriptions"), cardId if you already have the UUID, or typeGroup: "card" for activity across all cards. CARD_* rows include merchantName, MCC, country, and last4.

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": "get_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardNoFriendly card filter — accepts either a 4-digit string (matches Card.lastFourDigits, e.g. "1234") or any other string (case-insensitive substring match on the card alias, e.g. "subscriptions"). Multiple cards can match the same alias; all matching cards owned by the user are included.
sortNoSort: newest/oldest by date, amount_desc/amount_asc by raw amount (default: newest)
typeNoExact TransactionType: TRANSFER, SWAP, DEPOSIT_YO, WITHDRAWAL, ON_RAMP, OFF_RAMP_BANK, etc.
yearNoTax year (e.g. 2025). Filters Jan 1 – Dec 31. Overrides startDate/endDate.
limitNoMax results (standard: default 5, max 10; tax_export: default 50, max 250)
cardIdNoCard programme card UUID. Use this when you already have the id. For natural-language queries like 'my subscriptions card' or 'card ending in 1234', use the `card` parameter instead.
formatNo"standard" (default): JSON with direction, amount, counterparty. "tax_export": compact CSV with sent/received amounts, token addresses, sender/recipient with full unmasked addresses, user address, and tax labels. Use with year param for annual exports.
offsetNoSkip N transactions for pagination
searchNoFree-text substring search across transaction notes, raw reference fields, and card-transaction merchant names (case-insensitive). Use this for natural-language queries like 'Lidl' or 'rent' that could appear in any user-visible description of a transaction.
statusNoStatus filter. Default hides PENDING/FAILED (returns COMPLETED + COMPLETED_DELAYED). Pass "all" to return every status.
endDateNoTo date (ISO 8601, e.g. 2025-12-31)
hasNoteNoFilter by note presence. false = missing notes (for bulk annotation). true = only annotated.
categoryNoSpending category: FRIENDS_FAMILY, GROCERIES, RESTAURANTS, SHOPPING, TRAVEL, SALARY, etc.
currencyNoCurrency filter
directionNoDirection relative to the user: incoming (you received), outgoing (you sent), or exchange (internal swap).
maxAmountNoMax amount in human units (e.g. 500 = $500)
minAmountNoMin amount in human units (e.g. 100 = $100)
startDateNoFrom date (ISO 8601, e.g. 2025-01-01)
typeGroupNoGroup filter: transfer, exchange, deposit, withdrawal, earnings, topup, offramp, card, trade (crypto/stock buys and sells; rows carry a `trade` block with fills, fees and failure)
hasReceiptNoFilter by receipt presence. false = no receipt attached (e.g. to chase missing receipts). true = has a receipt.
hasCategoryNoFilter by category presence. false = uncategorized transactions. true = only categorized.
counterpartyNo@username, wallet address, wallet name, IBAN, external provider (e.g. 'Coinbase'), or card merchant name (matches CARD_PURCHASE / CARD_ATM_WITHDRAWAL / CARD_REFUND rows by their `merchantName`). Use this for 'who was this transaction with' queries; use `search` for free-text catch-all.
transactionHashNoExact transaction hash (0x prefix optional, case-insensitive). Returns at most one transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true), so the description's added value is in disclosure of output behavior: tax_export yields compact CSV with full unmasked addresses and sent/received amounts, capped at 250 per request, and standard format defaults to JSON. The unmasked-address detail is a meaningful privacy/behavior note. It does not cover pagination behavior or how offset interacts with sorting, so it stops short of 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?

Front-loaded with the core purpose and format split, then a filter enumeration, then the card-specific guidance. Dense but every sentence carries information. The long middle enumeration sentence ('Filter by typeGroup, type, category...') restates schema properties and is the weakest part.

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?

With 23 optional parameters and no output schema, the description does the necessary work: it explains the two output shapes, the per-format limit differences, the card filtering paths, and the default status behavior. Remaining gaps (pagination semantics, sort interactions with offset) are minor for a read-only list tool.

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 100%, so 3 is the baseline, but the description genuinely adds decision-level meaning: it explains that `card` accepts a 4-digit last4 or an alias substring, that `typeGroup: card` gives cross-card activity, and that CARD_* rows carry merchantName/MCC/country/last4. Some of this duplicates the schema text, keeping it from a 5.

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 ('Get transaction history') and immediately narrows scope with 'including card programme activity', plus the two output modes. It is clearly distinguishable from the many mutation/analytics siblings, though it never explicitly contrasts itself with get_spending_transactions or get_daily_spending, which read the same underlying data.

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?

Gives concrete routing advice inside the tool: use `year` for annual tax exports, use `card` for natural-language card queries vs `cardId` when the UUID is known, `format: tax_export` for tax-season output. It also implicitly positions `search` vs `counterparty`. It lacks guidance on when to prefer sibling tools over this one.

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