Skip to main content
Glama
klauern

MCP YNAB Server

by klauern

execute

Destructive

Execute custom Python code against YNAB data, enabling actions like fetching budgets or adding transactions through the API.

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.*``. 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
Behavior5/5

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

Annotations indicate readOnlyHint=false and destructiveHint=true. Description adds significant detail: snippet treated as async function body, examples of valid calls, prerequisite for mutations. No contradiction. Fully discloses destructive nature and required setup.

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?

Description is concise (4 lines), well-structured, front-loads purpose, and each sentence adds distinct information. No waste.

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 tool complexity (code execution) and minimal schema/annotations, description covers core aspects: what it does, async behavior, mutation requirements. Could add security warnings or return value info, but acceptable for most use cases.

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 coverage is 0% with two parameters (code, timeout). Description explains code parameter via examples showing async invocation, but does not mention timeout parameter or its purpose. Partially compensates for low coverage, but incomplete.

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?

Clearly states the tool executes a Python snippet against a specific API (ynab.read/write Code Mode API). Verb 'Execute' + resource 'Python snippet' provides clear purpose. Distinct from sibling tools which deal with API keys, preferences, and search.

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?

Provides explicit conditions for mutating calls (requires code_mode_mutations_enabled preference, use ynab.write.*). Mentions default enabled state. Lacks explicit when-not-to-use or alternatives, but siblings are unrelated, so not a significant gap.

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

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