Skip to main content
Glama

ynab_compare_transactions

Read-onlyIdempotent

Identify missing or mismatched transactions between bank CSV exports and YNAB accounts for accurate statement reconciliation.

Instructions

Compare bank CSV transactions with YNAB transactions to find missing or mismatched entries.

Args:

  • budget_id (string, optional): Budget UUID. Omit to use the default budget.

  • account_id (string, required): Account UUID to compare against.

  • csv_file_path or csv_data (string, required): Bank export file path or inline CSV text.

  • statement_start_date (string, optional): Filter comparison window start date (YYYY-MM-DD).

  • statement_date (string, optional): Filter comparison window end date (YYYY-MM-DD).

Returns: comparison report with matched, unmatched_bank, unmatched_ynab transactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
debugNo
csv_dataNo
budget_idNo
account_idYes
csv_formatNo
csv_file_pathNo
statement_dateNo
amount_toleranceNo
auto_detect_formatNo
date_tolerance_daysNo
statement_start_dateNo
enable_chronology_bonusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
matchesYes
summaryYes
missing_in_bankYes
missing_in_ynabYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds behavioral detail by specifying the return structure: 'comparison report with matched, unmatched_bank, unmatched_ynab transactions'. This goes beyond annotations without contradicting them.

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 description is concise with a single-line purpose and a clear bullet-like list of parameters. It is front-loaded and free of fluff. However, it could be more compact by integrating the parameter list into structured documentation, but overall it is efficient.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 12 parameters, nested csv_format object, and an output schema, the description should cover key behavioral aspects like matching logic, tolerances, and format auto-detection. It only mentions the return report and a subset of parameters, leaving many details unexplained. This is insufficient for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains only 5 of 12 parameters (budget_id, account_id, csv_file_path/csv_data, statement_start_date, statement_date) via the docstring, omitting debug, csv_format, amount_tolerance, auto_detect_format, date_tolerance_days, enable_chronology_bonus. This is a significant gap for a complex tool.

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 clearly states the verb 'compare' and the resources 'bank CSV transactions' with 'YNAB transactions', with the explicit goal to 'find missing or mismatched entries'. This distinguishes it from sibling tools like ynab_list_transactions or ynab_get_transaction, as it is the only comparison tool.

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?

The description explains when to use the tool (for comparing bank CSV data against a YNAB account) and provides usage context (optional budget_id, required account_id, etc.). It does not explicitly state when not to use or name alternatives, but given the sibling list, this is the sole comparison tool, so no exclusion is needed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dizzlkheinz/ynab-mcpb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server