Skip to main content
Glama

ai_transactions

Read-only

Categorize bank transactions — Categorizes up to 60 bank or card transactions: cleans merchant names (drops store numbers and card codes), assigns one of 24 fixed spending categories, flags recurring charges and possible duplicates, and totals inflow, outflow and spend per category. Pass one transaction per line as date, description, amount. Price: $0.008 USDC (Base, via x402).

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": {
      "items": "<items>"
    },
    "name": "ai_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesone transaction per line or separated by ;, e.g. 2026-11-02, UBER *TRIP 8XK2, -14.20; 2026-11-03, NETFLIX.COM, -15.49

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: a hard 60-transaction cap, a fixed 24-category taxonomy, and a per-call price of $0.008 USDC via x402 on Base — the payment requirement is critical context an agent cannot get from annotations. It stops short of describing what happens past the 60-item limit or on malformed lines.

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-loaded with the verb and resource, then the concrete outputs, then the input format, then price. Dense but every clause carries information; the parenthetical about store numbers and card codes is a useful concrete detail rather than filler.

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 no output schema, the description does the work of explaining what comes back (cleaned names, categories, recurring/duplicate flags, per-category totals), and it discloses cost and input limits. Remaining gaps — behavior above 60 items, error handling, and output shape/ordering — are minor for a single-parameter text-in tool.

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% and the single parameter is already documented with an example, so the baseline is 3. The description still adds value by specifying the field order (date, description, amount) and the one-per-line convention, which clarifies how to construct the string beyond the schema's example.

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 ("Categorize bank transactions") and then enumerates the concrete operations: merchant-name cleaning, assignment to one of 24 fixed categories, recurring/duplicate flagging, and inflow/outflow totals. This is far more specific than sibling tools like ai_classify or ai_extract and lets an agent tell what it produces.

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?

The description gives invocation guidance ("Pass one transaction per line as date, description, amount") and implies the input domain, but never states when to choose this over ai_classify or ai_extract, nor any exclusions or prerequisites. Usage is implied by the domain rather than explicitly routed.

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