Skip to main content
Glama
klauern

MCP YNAB Server

by klauern

execute

Destructive

Execute Python code against YNAB's read and write APIs to query budgets, transactions, and account balances or create new transactions.

Instructions

Execute a Python snippet against the gated ynab.read/ynab.write Code Mode API.

Enabled by default. Mutating calls require ``code_mode_mutations_enabled`` preference
and must use ``ynab.write.*``; eval dry-run mode is the explicit exception. The snippet
is treated as the body of an async function:
``await ynab.read.get_budgets()``, ``return`` directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
timeoutNo
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses that mutating calls are gated by a preference, must use the ynab.write.* namespace, and have an eval dry-run exception. It also explains the execution model: snippets are treated as the body of an async function with await and return. This adds substantial behavioral context beyond the annotations.

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 dense but efficient: three sentences convey purpose, authorization requirements, mutation constraints, and the async execution model. It front-loads the core purpose and uses code formatting for the example, with no filler.

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?

Given the lack of an output schema and empty parameter descriptions, the description covers the most important operational details: what the snippet runs against, mutation gating, and async assumptions. It does not explain the timeout parameter, dry-run mode specifics, or return behavior, so it is strong but not fully complete.

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?

The description adds meaningful semantics for the required 'code' parameter by explaining that the snippet becomes the body of an async function and showing example usage. However, schema description coverage is 0%, and the optional 'timeout' parameter is completely undocumented in both the schema and the description. This is a partial but incomplete compensation for the schema gap.

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 a specific verb and resource: 'Execute a Python snippet against the gated ynab.read/ynab.write Code Mode API.' This distinguishes the tool from its sibling tools, none of which perform code execution, despite the otherwise generic name 'execute.'

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 gives clear context on when the tool can be used: it is enabled by default, and mutating calls require the code_mode_mutations_enabled preference and must use ynab.write.*. It does not explicitly name alternative tools or list when not to use it, so it falls short of a 5, but the constraints are concrete and actionable.

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

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

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