Skip to main content
Glama
duganth

py-ynab-mcp

by duganth

create_transactions

Create multiple YNAB transactions in a single API call to reduce rate limit usage. Validate with dry run option.

Instructions

Create multiple transactions in YNAB in a single API call.

Preferred over create_transaction when creating multiple transactions to minimize rate limit usage.

Args: transactions_json: JSON array of transactions. Each element: {"account_id", "amount", "date", "payee_name"?, "category_id"?, "memo"?, "cleared"?, "approved"?}. Amounts are in dollars (e.g. "-42.50"). budget_id: Budget ID. Defaults to last-used budget. dry_run: Validate and preview without creating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
budget_idNo
transactions_jsonYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description bears the full burden. It states the tool creates transactions, implying a write operation, and mentions a 'dry_run' option for preview. However, it does not disclose potential side effects, authorization requirements, or rate limit specifics beyond the guideline.

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 concise: a one-sentence purpose, one guideline sentence, then a structured Args list. Every part earns its place with no redundancy.

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 description covers the tool's purpose and parameters well but lacks any description of the return value or output schema (even though one exists). With 23 sibling tools, it only differentiates from one ('create_transaction'), leaving other alternatives unaddressed.

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

Parameters4/5

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

With schema description coverage at 0%, the description compensates well by detailing the fields of 'transactions_json' (including types and dollar format), explaining 'dry_run' as validation only, and noting 'budget_id' defaults to last-used. This adds significant meaning beyond the schema's type definitions.

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 'Create multiple transactions in YNAB in a single API call', specifying the verb, resource, and batch scope. It effectively distinguishes from the sibling tool 'create_transaction' by noting this is for multiple transactions.

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 explicitly says 'Preferred over create_transaction when creating multiple transactions to minimize rate limit usage', providing a clear when-to-use and rationale. It does not include when-not-to-use exclusions but is sufficient.

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