Skip to main content
Glama
duganth

py-ynab-mcp

by duganth

update_transaction

Modify specific fields of an existing YNAB transaction by providing the transaction ID and the fields to update. Supports changing account, amount, date, payee, category, memo, cleared status, and approval.

Instructions

Update fields of an existing YNAB transaction.

Only provide the fields you want to change.

Args: transaction_id: Transaction UUID to update. account_id: New account UUID. amount: New dollar amount ("-42.50" for outflow). date: New date (YYYY-MM-DD). payee_name: New payee name. category_id: New category UUID. memo: New memo. cleared: "cleared", "uncleared", or "reconciled". approved: Whether the transaction is approved. budget_id: Budget ID. Defaults to last-used budget. dry_run: Validate and preview without updating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
memoNo
amountNo
clearedNo
dry_runNo
approvedNo
budget_idNo
account_idNo
payee_nameNo
category_idNo
transaction_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses dry_run behavior as 'Validate and preview without updating', default budget_id behavior, and that only provided fields are changed. No annotations provided, so description carries burden well.

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?

Well-structured with clear initial sentence, usage guideline, and arg list. Slightly long but no extraneous text; front-loaded with purpose.

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?

Covers all parameters, notes default budget, includes dry_run. Does not discuss error cases or return values (output schema present). Generally complete for a mutation tool with many optional fields.

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

Parameters5/5

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

Schema coverage is 0%, but the description adds clear meaning for each parameter (e.g., amount format, cleared values). Compensates fully for missing schema descriptions.

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?

Clearly states 'Update fields of an existing YNAB transaction' with verb+resource. Distinguishes from siblings like create/delete/update_scheduled implicitly, but not explicitly.

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?

Provides the guideline 'Only provide the fields you want to change.' Does not give explicit when-to-use vs. alternatives like create_transaction or update_scheduled_transaction.

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/duganth/py-ynab-mcp'

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