Skip to main content
Glama
alexfu

mcp-ynab

by alexfu

getTransactionsByAccount

Fetch non-pending transactions for a specified account, with optional date or type filters. Use it to reconcile balances and review cleared activity.

Instructions

Returns all transactions for a specified account, excluding any pending transactions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoIf specified, only transactions of the specified type will be included. "uncategorized" and "unapproved" are currently supported.
plan_idYesThe id of the plan. "last-used" can be used to specify the last used plan and "default" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).
account_idYesThe id of the account
since_dateNoIf specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.
until_dateNoIf specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
last_knowledge_of_serverNoThe starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does add a useful non-obvious behavior by stating that pending transactions are excluded, and 'Returns' implies a read-only operation. However, it omits any context about authentication, rate limits, possible pagination, or the fact that optional filters can narrow the result set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one concise sentence with no filler. It front-loads the core result ('Returns all transactions for a specified account') and then appends the key behavioral caveat ('excluding any pending transactions').

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

Completeness3/5

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

The output schema covers return values and the input schema covers parameters, so the description need not repeat those. However, given the large family of transaction-related siblings, the description would be more complete if it mentioned why getTransactionsByAccount should be preferred over getTransactions or getTransactionsByCategory. As written, it is minimally viable but leaves the routing decision to the agent.

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%, and the schema already thoroughly documents plan_id, account_id, type, since_date, until_date, and last_knowledge_of_server, including formats, defaults, and allowed enum values. The description adds no parameter-level meaning beyond the schema, so the baseline 3 is appropriate.

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 states a clear verb and resource: 'Returns all transactions for a specified account'. It also specifies a meaningful scope restriction, 'excluding any pending transactions', and the 'specified account' clause distinguishes it from sibling transaction getters like getTransactionsByCategory, getTransactionsByPayee, and getTransactionsByMonth.

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

Usage Guidelines2/5

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

The description provides no guidance on when to choose this tool over the closely related getTransactions, getTransactionsByCategory, getTransactionsByPayee, or getTransactionsByMonth. It tells the agent what the tool does, but not when it is the right alternative, so an agent must infer selection criteria from the name alone.

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