Net worth month by month
get_net_worth_trendTracks monthly net worth, assets, and debts so you can see whether debt is falling and how net worth changes over up to 24 months.
Instructions
Assets, debts and net worth at the end of each month, to see debts go down.
Use it for "is my debt going down?", "am I paying off my loans?" or "how did my net worth change over the year?". Every account counts, tracking ones included: credit cards, lines of credit, loans, mortgages and other liabilities are debts; every other account is an asset. A closed account counts for the months it still had a balance. months_count counts back from the current month, included, so 1 gives this month alone and the default 12 the year up to it, however long the plan has existed. Each month is read on its last day, the current one included: today's balance less the transactions dated after that day, so this month already counts what is entered for the days left. Amounts in currency units; debts are negative, as YNAB shows them, and net_worth is assets plus debts. For each account's balance today use list_accounts; for the months ahead, forecast_balance. Two YNAB requests: accounts, transactions; changes nothing.
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>"
},
"name": "get_net_worth_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | YNAB plan id or 'last-used'. | |
| months_count | No | Number of months to show, the current one included, 1 to 24 (default 12). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | Yes | Last minus first: positive when the net worth grew. | |
| months | Yes | One entry per month, oldest first. | |
| accounts | Yes | Names of the accounts counted: the open ones, and the closed ones that still had a balance at one of these month ends. | |
| last_net_worth | Yes | Net worth at the end of the last month shown: today's. | |
| first_net_worth | Yes | Net worth at the end of the first month shown. |