Skip to main content
Glama

get_spending_transactions

Read-only

List the underlying spending transactions for a window. Optionally drill down into a category bucket (bucketKind='category', bucketId=CategoryType or 'UNCATEGORIZED') or a merchant bucket (bucketKind='merchant', bucketType=..., bucketId=user UUID for type='user'). Paginated via take/skip. Amounts are in currency units (26.5 means 26.50), like get_transactions.

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_spending_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 UTC end of an absolute window
fromNoISO 8601 UTC start of an absolute window
skipNo
takeNo
periodNoRolling time window. Mutually exclusive with from/to.
orderByNo
bucketIdNo
currencyNo
directionNo
bucketKindNo
bucketTypeNo
recipientAccountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, and the description adds useful behavior detail: results are paginated via take/skip and amounts are expressed in currency units. It does not cover defaults, permissions, or ordering behavior, but it adds meaningful context beyond the annotation.

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 the core purpose and then efficiently explains bucket drill-down, pagination, and amount formatting. It is dense without being bloated, though the abbreviated `bucketType=...` phrasing is slightly less precise than the rest.

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 tool with 12 optional parameters, no output schema, and only a read-only annotation, the description covers the most distinctive filtering and amount-format behavior. It still leaves gaps around time-window defaults, ordering defaults, currency behavior, and the role of recipientAccountId, so an agent would need to inspect the schema for some invocation details.

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 low at 25%, so the description must compensate, and it does explain the complex bucketKind, bucketId, and bucketType semantics plus take/skip pagination. However, several parameters such as period, orderBy, direction, currency, and recipientAccountId are not clarified beyond their enum names or schema descriptions.

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 clearly states a specific verb and resource: it lists underlying spending transactions for a time window. It also distinguishes the output as transaction-level rather than aggregate spending, though it does not explicitly contrast itself with siblings like get_spending_by_category or get_spending_by_merchant.

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

Usage Guidelines3/5

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

It explains optional drill-down via category or merchant buckets and pagination, which implies when the bucket parameters should be used. However, it gives no explicit guidance on when to choose this tool over aggregate spending tools or get_transactions, and it does not state exclusions or prerequisites.

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