Skip to main content
Glama
LamPyrid
by RadCod3

Search Transactions

search_transactions
Read-onlyIdempotent

Search and filter Firefly III transactions by text, type, amount, date, category, budget, tags, or account. Combine filters with AND logic to locate precise records.

Instructions

Search transactions with powerful filtering options.

Supports free-text search, type filtering (withdrawal/deposit/transfer), amount ranges, date ranges, categories, budgets, and account matching. All filters combine with AND logic for precise results.

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": {
      "req": "<req>"
    },
    "name": "search_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYesRequest model for searching transactions.

Output Schema

NameRequiredDescriptionDefault
per_pageYesNumber of transactions included in this page
total_countNoTotal transactions available across all pages (if pagination metadata available)
current_pageYesCurrent page number in the result set
transactionsYesArray of transaction objects matching the request

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by stating that all filters combine with AND logic and that free-text query can be combined with structured filters, which is not derivable from annotations. It says nothing about result ordering, pagination limits, or what happens when query is a raw Firefly query string — behavior that matters for a search tool.

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?

Two short sentences, front-loaded with the verb and resource, then the supported filters. Only 'powerful' is filler; the AND-logic sentence 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 read-only search tool with an output schema, 100% parameter coverage and full annotation hints, the definition supplies enough to call it correctly: what can be filtered and how filters combine. Missing only result ordering and the semantics of the raw query-string mode, which are minor gaps given the schema's richness.

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 the schema already documents every parameter including AND semantics for tags, inclusive date/amount bounds, and page/limit. The description only restates the filter categories at a high level and adds no syntax or interaction detail beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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 clear verb+resource ('Search transactions') and enumerates the filter dimensions it covers, so the agent knows exactly what domain of results it returns. It does not name or differentiate from the obvious sibling get_transactions, so the agent must infer the distinction between filtered search and direct retrieval.

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?

Usage is implied by the filter list rather than stated: the agent can infer 'use this when you need to narrow transactions by criteria'. The 'All filters combine with AND logic' line is genuinely useful guidance on behavior, but there is no explicit when-to-use vs get_transactions or when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.