Skip to main content
Glama

PocketSmith (read-only)

find_recurring_expenses

Read-onlyIdempotent

Detects recurring expenses (subscriptions, memberships, regular bills) by analyzing transaction history. Groups transactions by payee, identifies regular intervals and consistent amounts, and classifies frequency (weekly, monthly, quarterly, etc.). Returns estimated annual cost per item and totals. Useful for subscription audits, finding forgotten recurring charges, and 'am I paying too much for X' policy/premium comparisons. No report page maps to subscriptions — answer from this data directly rather than offering a navigation link.

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

Input Schema

NameRequiredDescriptionDefault
monthsNoNumber of months of history to analyze. Default: 6. Max: 12.
user_idNoThe unique identifier of the user. If omitted, automatically resolved from the authenticated user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/closed-world, so the bar is lower; the description still adds real value by explaining the internal method (group by payee, detect intervals, classify frequency) and the return content (estimated annual cost per item plus totals). It does not discuss cost/latency of scanning up to 12 months of history, which is the main remaining gap.

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?

Front-loads the purpose, then method, then returns, then use cases and the routing caveat — a logical order with no filler. It runs five sentences, and the internal-method sentence is marginally more detail than an agent needs, but nothing is genuinely wasteful.

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 two-parameter, zero-required, annotation-covered tool with no output schema, the description covers what it computes, how, what it returns (annual cost per item and totals), and what the agent should do with the result instead of linking elsewhere. An agent has everything needed to call it correctly and interpret the response.

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% — months (default 6, max 12) and user_id (auto-resolved from the authenticated user) are fully documented in the schema. The description adds no additional parameter meaning, so the baseline of 3 applies.

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?

States a specific verb and resource — 'Detects recurring expenses (subscriptions, memberships, regular bills) by analyzing transaction history' — and immediately clarifies the detection method (payee grouping, regular intervals, consistent amounts). This clearly separates it from aggregate/analysis siblings like cash_flow_forecast or get_trend_analysis without needing their schemas.

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

Usage Guidelines4/5

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

Gives concrete use cases (subscription audits, forgotten charges, 'am I paying too much for X' comparisons) and a strong routing note that no report page maps to subscriptions, so the agent should answer directly instead of offering a navigation link. It lacks an explicit 'do not use when…' exclusion, so it stops short of a full 5.

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.

Resources