Skip to main content
Glama
ynab-mcp-server

ynab-mcp-server

Create, update, or delete a scheduled transaction

modify_scheduled_transactions
Destructive

Create, update, or delete scheduled and recurring transactions in YNAB using a plan, action, and required fields to manage future transactions; transaction splitting is not supported.

Instructions

Manages scheduled (future/recurring) transactions. Read access is via get_budget with view="scheduled". Three actions:

  • create: requires "fields" with at least account_id and date. Covers POST /plans/{plan_id}/scheduled_transactions.

  • update: requires "scheduled_transaction_id" and "fields" (only the fields to change). Covers PUT /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}.

  • delete: requires "scheduled_transaction_id". Covers DELETE /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}. Splitting a scheduled transaction is not supported by the YNAB API.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_id": "<plan_id>",
      "action": "<action>"
    },
    "name": "modify_scheduled_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
fieldsNoRequired for "create" and "update".
plan_idYesThe id of the plan (formerly "budget"). Use "last-used" for the most recently used plan, or "default" if default plan selection is enabled for this token.
scheduled_transaction_idNoRequired for "update" and "delete".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds real value on top: partial-update semantics for 'fields', per-action endpoint mapping, and the constraint that splitting is unsupported by the YNAB API. However, it never states that delete is irreversible or what a create/update returns, which for a destructive multi-action tool is a meaningful gap.

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

Conciseness4/5

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

A single scoping sentence plus a clean bulleted action list, front-loaded with the most important constraint (read goes elsewhere). The endpoint URL mappings are extra detail an agent rarely needs, but the structure is otherwise tight and scannable.

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?

For a destructive 4-parameter tool with a nested fields object and no output schema, the description covers action-conditional requirements and the main API limitation (no splits). It stops short of describing permissions or the response of each action, which is acceptable since annotations carry the safety profile but leaves a minor gap.

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 75%, so most parameter meaning is already structured, but the description genuinely adds conditional semantics: which parameters are mandatory per action and that 'fields' on update should contain only the fields to change. It doesn't elaborate the milliunits convention or the frequency enum beyond what the schema already documents.

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?

Opens with a specific verb+resource ('Manages scheduled (future/recurring) transactions') and enumerates the three supported actions with their required parameters and backing endpoints. It also explicitly routes read access to the sibling get_budget with view="scheduled", so an agent can separate this tool from read paths without opening any schema.

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?

Per-action requirements are spelled out precisely (create needs account_id and date; update needs id plus only changed fields; delete needs id), and the read alternative is named. What's missing is an explicit contrast with the sibling modify_transactions for non-scheduled transactions — the agent must infer that boundary from the tool name.

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