Skip to main content
Glama
MCP Actual

MCP Actual

by cubicecho

Search transactions

search_transactions
Read-onlyIdempotent

Find transactions across all accounts by combining date range, payee, category, note text, amount range, and cleared or reconciled state. Use it to trace where a payee appears and page results with limit and offset.

Instructions

Search transactions across every account, filtered by any combination of date range, account, payee, category, note text, payee-name text, amount range, and cleared/reconciled state. Amounts are integer cents and negative means an outflow. Results are newest-first and capped by limit (default 100, max 1000); when truncated is true, more matched than were returned — page with offset or narrow the filters rather than assuming you have seen everything. This is the tool for payee cleanup: it can answer "where else does this payee appear?", which the per-account listing cannot.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return. Default 100, maximum 1000.
dateToNoOnly transactions on or before this date.
offsetNoHow many matching results to skip, for paging past `limit`. Keep every other filter identical between pages, or the pages will not line up.
clearedNoFilter by cleared state.
payeeIdNoRestrict to one payee, by id.
dateFromNoOnly transactions on or after this date.
accountIdNoRestrict to one account.
amountMaxNoMaximum amount in cents (inclusive).
amountMinNoMinimum amount in cents (inclusive).
categoryIdNoRestrict to one category, by id.
reconciledNoFilter by reconciled state.
notesContainsNoSubstring match against the notes field.
uncategorizedNoOnly transactions with no category set.
payeeNameContainsNoSubstring match against the payee’s name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv1.1.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / amountMax / $ref
      Removed value: -"#/properties/amountMin"
    • addedInput schema / properties / amountMax / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / amountMax / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / amountMax / type
      Added value: +"integer"
    • addedInput schema / properties / amountMin / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / amountMin / minimum
      Added value: +-9007199254740991
    • removedInput schema / properties / categoryId / $ref
      Removed value: -"#/properties/accountId"
    • addedInput schema / properties / categoryId / minLength
      Added value: +1
    • addedInput schema / properties / categoryId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / categoryId / type
      Added value: +"string"
    • removedInput schema / properties / dateTo / $ref
      Removed value: -"#/properties/dateFrom"
    • addedInput schema / properties / dateTo / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / dateTo / type
      Added value: +"string"
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • removedInput schema / properties / payeeId / $ref
      Removed value: -"#/properties/accountId"
    • addedInput schema / properties / payeeId / minLength
      Added value: +1
    • addedInput schema / properties / payeeId / pattern
      Added value: +"^[A-Za-z0-9_-]+$"
    • addedInput schema / properties / payeeId / type
      Added value: +"string"
  2. First observedv1.0.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description adds genuinely new context: amounts are integer cents with negative meaning outflow, results are newest-first, the cap is default 100 / max 1000, and `truncated` signals that more matched than were returned. That paging-and-truncation semantics is exactly the behavioral detail an agent needs and cannot infer from the annotations.

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 scope statement, amount convention, and paging rule are all front-loaded and each sentence carries actionable content. The opening enumeration of filter dimensions partially duplicates the 14-parameter schema, which is mild redundancy, though it aids scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by stating ordering, the truncation flag, and paging behavior. With all 14 parameters documented in-schema and the return-shape caveats covered in prose, an agent has everything needed to call and interpret this tool correctly.

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 the baseline would be 3; the description earns above that by adding the cents-and-sign convention (negative = outflow) that the schema's "amount in cents (inclusive)" wording does not spell out. It does not add semantics for individual filters like `uncategorized` or `notesContains`, but the schema already covers those.

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 opens with a specific verb and resource ("Search transactions across every account") and enumerates the filter dimensions available, so an agent knows exactly what the tool does and how broad its scope is. It also contrasts itself with "the per-account listing," making the distinction from get_transactions legible without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use case ("This is the tool for payee cleanup: it can answer 'where else does this payee appear?'") and names the alternative that cannot do that job. It also states a concrete operating rule for the truncated case — page with `offset` or narrow filters rather than assuming completeness.

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