Skip to main content
Glama

ynab_set_default_budget

Idempotent

Set a default budget so that other YNAB tools do not require a budget ID in every call. This simplifies recurring operations.

Instructions

Set a default budget so other tools don't require budget_id every call.

Args:

  • budget_id (string, required): Budget UUID to set as default. Validates against YNAB API.

Returns: success, default_budget_id, cache_warm_started.

Examples:

  • Set default: provide the UUID from ynab_list_budgets

Errors:

  • "Budget not found" → invalid budget_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
budget_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesHuman-readable success message
successYesIndicates operation success
default_budget_idYes
cache_warm_startedYes
Behavior4/5

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

Annotations indicate non-destructive and idempotent. Description adds that it validates against YNAB API and returns a cache_warm_started flag, providing behavioral context beyond 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?

Well-structured with sections for Args, Returns, Examples, Errors. Each sentence is purposeful and front-loaded with the primary goal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, parameter semantics, return values, error handling, and an example. With an output schema present, the description is fully adequate for a single-parameter tool.

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?

Schema has 0% coverage (only type and minLength). Description explains budget_id as a 'Budget UUID' and suggests sourcing it from ynab_list_budgets, adding meaningful context not in the schema.

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 action: 'Set a default budget' and the benefit: 'so other tools don't require budget_id every call.' It is distinct from siblings like get_default_budget and other tools.

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?

Describes the tool's purpose and gives examples, but does not explicitly state when to use versus alternatives. However, the context with sibling tools and the 'Examples' section imply usage.

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/dizzlkheinz/ynab-mcpb'

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