Skip to main content
Glama
Personal Expense Categorizer

Personal Expense Categorizer

by alihabbache

find_recurring_charges

Read-only

Detect subscriptions and recurring charges like weekly, monthly, or yearly payments from a bank-export CSV, including typical amount and next expected date.

Instructions

Detect subscriptions and other recurring charges (weekly, monthly, yearly) with typical amount and next expected date.

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": {
      "file_path": "<file_path>"
    },
    "name": "find_recurring_charges"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the bank-export CSV on this machine.
column_mapNoExact header names, only needed when auto-detection fails.
date_formatNoOrder of numeric dates such as 03/04/2025. Default auto-detects.
amount_conventionNoSign convention for a single Amount column. Default auto-detects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful output context (typical amount, next expected date) but says nothing about detection thresholds, false positives, or that it operates on a local file rather than a linked account.

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?

One front-loaded sentence with no filler; the output hint is appended efficiently. It could be marginally tighter, but every clause earns its place.

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

Completeness3/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 must convey returns, and it does so only in outline (typical amount, next expected date) without saying what a result entry looks like. For a read-only detector over a required local CSV this is adequate but not fully complete.

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%, including enum docs for date_format and amount_convention and a nested column_map, so the schema carries the parameter burden. The description adds no further meaning about how those inputs affect detection, which is the baseline 3 case.

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 specific verb and resource ('Detect subscriptions and other recurring charges') and scopes it with cadence examples (weekly, monthly, yearly), which is enough to separate it from summarize_spending or categorize_transactions. It stops short of naming a sibling it is not, so it lands just under the top mark.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no prerequisite stated (e.g., that a bank-export CSV must exist locally), and no routing to alternatives such as summarize_spending for aggregate views. The intended use is only implied by the word 'Detect'.

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