Skip to main content
Glama

ynab_get_default_budget

Read-onlyIdempotent

Retrieves the configured default budget ID and reports whether a default exists, helping identify which YNAB budget is used by default.

Instructions

Get the currently configured default budget ID.

Args:

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: default_budget_id (null if not set), has_default.

Input Schema

NameRequiredDescriptionDefault
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
messageYes
has_defaultYes
default_budget_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.29.1
    • removedOutput schema / properties / default_budget_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / default_budget_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Addedv0.26.9

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description's added value is the return contract ('default_budget_id (null if not set), has_default'), which tells the agent how to detect the unset case – useful, but it does not describe sourcing (local config vs API) or caching behavior.

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?

The purpose is front-loaded in a single sentence, followed by a compact Args/Returns block. Nothing is padded, though the Args restatement of the enum is somewhat redundant with the schema.

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 one-optional-parameter read-only lookup with an output schema and strong annotations, this is close to complete: the agent knows what it returns and how to read an unset default. Only the relationship to its counterpart ynab_set_default_budget is left implicit.

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 description coverage is 0%, so the description must carry the parameter, and it does: it names response_format, gives the two enum values, and states the 'markdown' default. That is exactly the information the bare schema lacks, though no guidance is offered on which format to prefer.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Get the currently configured default budget ID.' This clearly separates it from ynab_set_default_budget and from the budget-listing tools, though the description never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the narrow purpose – an agent can infer it is a config lookup rather than a budget data fetch. There is no explicit statement of when to call it instead of ynab_get_budget or ynab_list_budgets, and no prerequisites are given.

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