Skip to main content
Glama

categorize_transactions

Map bank transactions to IRS Schedule C lines (L8 Advertising through L27a Other) with deductible, partially deductible (meals at 50 percent under IRC 274, mixed-use at your business-use percentage), nondeductible (personal under IRC 262, entertainment, income tax), or needs-review classifications. Every item carries its line, deductible percentage and amount, confidence, and a plain-language basis. Personal items are flagged, never silently deducted. business_profile may include business_type, vehicle_business_use_pct, phone_business_use_pct, internet_business_use_pct, business_premises. General information only, not tax advice.

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": {
      "transactions": "<transactions>"
    },
    "name": "categorize_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionsYes
business_profileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it enumerates the four classification outcomes, the governing rules (IRC 274, 262), the fields attached to every result (line, deductible percent and amount, confidence, basis), and an important safety guarantee that personal items are flagged rather than silently deducted. What remains unstated is whether the operation is purely analytical/read-only and whether transaction volume is bounded.

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 purpose and outcome taxonomy are front-loaded, and the business_profile and disclaimer sentences are short and purposeful. The parenthetical enumeration of every deduction rule is dense but each clause adds classification semantics; only the very long opening sentence could be split for readability.

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?

There is no output schema, so the description appropriately spells out the return shape (line, deductible percentage and amount, confidence, plain-language basis). For a two-parameter tool the only real hole is the unidentified structure of individual transaction objects, which an agent needs in order to build a valid call.

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 coverage is 0%, so the description must compensate. It does so for business_profile by naming its expected keys (business_type, vehicle_business_use_pct, phone_business_use_pct, internet_business_use_pct, business_premises), but the required 'transactions' parameter is an array of nested objects whose per-item fields are documented nowhere in the schema or the description.

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 ('Map bank transactions to IRS Schedule C lines L8 through L27a') with a concrete classification taxonomy. It is clear what the tool produces, but it never contrasts itself with the sibling check_deduction_categories, leaving the agent to infer which one to call.

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: an agent can infer this is the classification step following parse_bank_statement. There is no explicit when-to-use statement, no guidance on prerequisites (e.g., must transactions be parsed first), and no exclusions pointing to alternatives such as check_deduction_categories or audit_schedule_c.

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