Skip to main content
Glama
rgarcia

YNAB MCP Server

by rgarcia

getTransactionsByPayee

Retrieve all completed transactions for a specific payee, optionally filtered by date or type.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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).
payee_idYesThe id of the payee
since_dateNoIf specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).
typeNoIf specified, only transactions of the specified type will be included. "uncategorized" and "unapproved" are currently supported.
last_knowledge_of_serverNoThe starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.
Behavior2/5

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

No annotations provided, so the description carries the full burden. It only mentions that pending transactions are excluded, but does not disclose other behavioral traits like pagination, ordering, or authentication requirements. For a read tool, more context is needed.

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?

Single sentence of 12 words, front-loads the purpose immediately. No extraneous information. Every word earns its place.

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?

While the description is concise, it lacks details about the return value (e.g., list of transaction objects). With no output schema, the description could provide more completeness, but it is adequate for a simple filtered retrieval tool.

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%, so the schema already documents all parameters. The description adds no param-level meaning beyond what is in the schema, but does provide a global filter (exclude pending) which adds some value.

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 'Returns' and the resource 'transactions for a specified payee', with an additional detail 'excluding any pending transactions'. This distinguishes it from sibling tools like getTransactionsByAccount which filter by account.

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 implies usage via the name and purpose, but lacks explicit guidance on when to use this tool versus alternatives (e.g., getTransactionsByCategory) or any exclusion criteria. No mentions of when not to use.

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/rgarcia/ynab-mcp-server'

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