Skip to main content
Glama

List transactions

get_transactions
Read-onlyIdempotent

List income or expense transactions, sorted by date (newest first). Returns at most 10 per call with totalCount and hasMore. If hasMore is true, call again with offset set to nextOffset for the next page.

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
typeNoTransaction type (default: expense)
limitNoMax transactions to return, up to 10 (default: 10)
offsetNoNumber of rows to skip, for paging (default: 0). Use nextOffset from the previous response.
endDateNoEnd date in YYYY-MM-DD format (default: today)
startDateNoStart date in YYYY-MM-DD format (default: 30 days before endDate)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description usefully adds ordering, the hard 10-per-call cap, and the presence of totalCount/hasMore/nextOffset in the response, which is real behavioral context beyond structured fields. It stops short of describing the transaction record shape or date-window filtering behavior.

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?

Three short sentences, front-loaded with purpose and ordering, then result size, then the paging loop. Every sentence carries actionable information and nothing is redundant.

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 no output schema, the description compensates by naming the key response fields and explaining the pagination loop, which is the main risk of misuse for a capped list tool. Date-range defaults are handled by the schema, so the remaining gap is only the shape of individual transaction records.

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 all five parameters (type, limit, offset, endDate, startDate) already carry defaults, formats and bounds. The description reinforces the paging contract by linking hasMore/nextOffset to the offset parameter, but adds little meaning that the schema does not already state.

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 gives a specific verb and resource (list income or expense transactions) plus scope and ordering (newest first), so the core purpose is unmistakable. It does not distinguish itself from close siblings such as search_transactions or get_all_circle_transactions, leaving the agent to infer which listing tool to prefer.

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?

The guidance is about invocation mechanics (if hasMore is true, call again with offset = nextOffset) rather than when to choose this tool over the other transaction-listing siblings. Usage is implied by the transaction type filter, but there are no exclusions or named alternatives.

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