Skip to main content
Glama
YNAB MCP Server

YNAB MCP Server

by oliverames

Audit Credit Card Payments

audit_credit_card_payments
Read-onlyIdempotent

Compare open credit and line-of-credit balances to payment-category available dollars, return the difference and status, and identify shortfalls so you can fund them by updating the month category.

Instructions

Compare open credit/line-of-credit balances to payment-category available dollars; returns difference/status. Fund shortfalls via update_month_category. Expected payment balance: negated card balance for budgeted spending. Small/same-day pending differences may be timing.

Input Schema

NameRequiredDescriptionDefault
budgetIdNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv6.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / budgetId / description
      Removed value: -"Budget ID (uses default if not provided)"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv5.4.0
    • removedOutput schema / properties / result / description
      Removed value: -"Structured result returned by Audit Credit Card Payments."
  3. Addedv5.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description goes beyond them by explaining the expected value model ('negated card balance for budgeted spending') and by flagging that small/same-day pending differences may be timing artifacts — real interpretive guidance that prevents false positives.

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?

Four short clauses, front-loaded with the core comparison, then remediation, then the interpretation rule. Dense but each sentence carries information; the telegraphic phrasing ('negated card balance for budgeted spending') is terse but still parseable.

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?

An output schema exists, so return formatting need not be explained, and the description instead supplies the comparison rule and remediation path an agent needs to act on the result. Minor gap: no mention of default budget resolution when budgetId is omitted.

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?

There is one parameter (budgetId) with 0% schema description coverage, so the description would need to compensate and it does not mention the parameter at all. The parameter is a common convention across the sibling set, so the baseline 3 is fair rather than a hard failure.

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 concrete verb and comparison ('Compare open credit/line-of-credit balances to payment-category available dollars') and says what it produces (difference/status). An agent can distinguish it from read-only listing tools like get_overspent_categories, though no sibling is named explicitly for contrast.

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?

Gives a next-step rule ('Fund shortfalls via update_month_category'), which implies the intended workflow. However, it never says when to prefer this over adjacent audits such as audit_account_reconciliation or get_budget_health, and there are no stated prerequisites or exclusions.

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