Skip to main content
Glama

Sprout: AI Finance & Cash Flow

Duplicate and unusual charges

find_unusual_transactions
Read-onlyIdempotent

Use this when the person asks about possible duplicate payments, repeated vendor charges, unusually large business expenses, or unusual personal or company card spending. Returns heuristic matches in the selected connected accounts and period to check against bank records. Does not determine fraud, tax treatment, or whether an invoice was paid twice; does not dispute or reverse charges. Set kind to duplicate for charges on the same account, day, amount, and merchant, or unusual for expenses at least three times the period's median expense and at least 100 in the currency; at most 25 matches are listed. To look up a specific charge or merchant, call search_transactions instead.

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": {
      "kind": "<kind>"
    },
    "name": "find_unusual_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoInclusive end, ISO date or timestamp, e.g. 2026-09-30. Calendar dates include the entire day.
fromNoInclusive start, ISO date or timestamp, e.g. 2026-09-01. Omit both dates to use the saved default period.
kindYesduplicate for possible repeated charges; unusual for unusually large expenses.
currencyNoISO currency, e.g. USD or CAD. Monetary summaries use one currency and never convert or combine currencies.
accountIdNoPersonal or business account id from list_accounts or a mention. Omit for all connected accounts; resolve the user's selected accounts first for business-only or personal-only reviews.

Output Schema

NameRequiredDescriptionDefault
kindYes
countYes
setupNoPresent when bank data is missing, syncing, failing, or out of date. Lead the answer with it.
periodYes
transactionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish a safe read (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavior: results are heuristic and must be checked against bank records, at most 25 matches are returned, and the qualifying thresholds (3x period median and at least 100 in currency) are disclosed. It also states what the tool will not do, preventing downstream misreading of results as fraud findings.

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 opening sentence front-loads the user-intent triggers, followed by scope, exclusions, thresholds, and the sibling hand-off in a logical order. It is dense but almost every sentence carries new information; the brief restatement of the kind values overlaps with the schema descriptions, a small redundancy.

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?

For a heuristic-detection tool with an output schema, the description supplies everything needed to call it correctly and interpret the result: matching criteria, numeric thresholds, the 25-result cap, and the caveat that matches are unverified. Return formatting need not be covered because the output schema exists.

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 is 3, and the description earns a step up by defining the 'duplicate' match criteria (same account, day, amount, merchant) and the 'unusual' threshold, which the schema only gestures at. It does not add much on the date or currency parameters beyond the schema, so it falls short of a 5.

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 names the concrete questions the tool answers (duplicate payments, repeated vendor charges, unusually large expenses, unusual card spending) and states it returns heuristic matches over selected accounts and period. This distinguishes it from 'search_transactions', the sibling it explicitly names as the alternative. An agent can tell what this tool is for 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 Guidelines5/5

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

It gives explicit when-to-use triggers (user asks about duplicates or unusual charges), explicit when-nots (does not determine fraud, tax treatment, or whether an invoice was paid twice; does not dispute or reverse charges), and routes lookup questions to 'search_transactions'. Nothing about tool selection is left to inference.

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.