Skip to main content
Glama
eil-mcp

eil-mcp

Official

search_transactions

Read-onlyIdempotent

Find individual expenses by date, vendor, category, amount range, or missing receipt; returns newest first with total_matches and truncated flags to show whether more rows exist.

Instructions

Find individual expenses by date, vendor, category, amount range or missing receipt. Newest first. total_matches and truncated tell you whether more rows exist than returned.

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
limitNo1 to 200
categoryNoExact category name, case-insensitive
end_dateNoYYYY-MM-DD
max_amountNoMaximum amount in USD
min_amountNoMinimum amount in USD, e.g. '500.00'
start_dateNoYYYY-MM-DD
vendor_containsNoCase-insensitive substring of vendor
missing_receipt_onlyNo

Output Schema

NameRequiredDescriptionDefault
sourceNofinance.expenses
currencyNoUSD
returnedYes
truncatedYes
transactionsYes
total_matchesYes
metric_versionNofinance-metrics/1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description adds two pieces of genuine behavioral context: results are ordered newest first, and total_matches/truncated signal whether the result set was cut off. That is exactly the pagination/ordering detail an agent needs and it is not in the annotations. It stops short of describing permission scopes or how the 200-item limit interacts with paging.

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?

Two sentences: the first front-loads what the tool finds and its filter axes, the second covers ordering and truncation. No filler, no restating the tool name, and the most decision-relevant information comes first.

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 an output schema present, the description rightly omits return-field explanations and instead spends its words on ordering and truncation semantics, which the schema cannot express. The one remaining gap is behavior when zero filters are supplied (does it return all expenses, capped at limit?), which an agent might reasonably want to know.

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 88%, so the schema already documents every filter including date format, case-insensitivity and the '500.00' amount example. The description only restates the filter dimensions at a high level ('date, vendor, category, amount range') and adds no syntax, defaults or edge-case semantics beyond that. Baseline 3 applies 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Find individual expenses" gives a specific verb and resource, and the enumerated filter axes (date, vendor, category, amount range, missing receipt) pin down exactly what kind of lookup this is. The word "individual" is the key differentiator against the sibling tools (category_breakdown, compare_periods, expense_summary, spending_trend), which all operate on aggregated sets, so an agent can route correctly without opening the schema.

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 only implied: the description makes clear this is the row-level lookup rather than an aggregate, but it never states when to prefer it over a sibling or what to do when the question is actually a summary question. No explicit exclusions or prerequisites are given, so the agent must infer the routing rule.

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