Skip to main content
Glama

Sprout: AI Finance & Cash Flow

Budgets and spending caps

get_budgets
Read-onlyIdempotent

Use this when the person asks about their budget, spending limits or caps, how much is left to spend in a category, or whether they are over budget. Returns each cap the person set in Sprout with its period, limit, spent, remaining, percent used, and a status (on track, watch, or over), plus totals per currency, the detected pay rhythm, and categories without a cap with their average monthly spending. Monthly caps cover the calendar month, per-paycheck caps run from the last payday to the next, irregular-income caps are a share of the median income of the last three complete months. Figures are precomputed: quote them, never add or recompute. Read-only; the person sets caps on Sprout's Budgets page. When budgets is empty, the person has no caps yet.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_budgets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
setupNoPresent when bank data is missing, syncing, failing, or out of date. Lead the answer with it.
todayYesToday in the person's time zone.
totalsYesSums over caps with a limit, per currency and period kind; quote these instead of adding.
budgetsYes
currencyYesThe primary currency, which suggestions are in.
payCadenceYesThe pay rhythm detected from deposits; an estimate.
suggestionsYesCategories without a cap and their average monthly spending.
incomeBaselineYesMedian income of the complete months listed, which irregular-income caps take a share of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by explaining the period semantics (calendar month, last payday to next, share of median income over three months), stating figures are precomputed and must not be recomputed, noting caps are set elsewhere on Sprout's Budgets page, and describing the empty state. This is precisely the behavioral context an agent needs to answer correctly.

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?

Front-loads the usage trigger, then the return shape, then the period definitions and the precompute warning. Dense but every sentence carries information; the long period-semantics sentence is the only place that could be broken up for readability.

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?

Even though an output schema exists, the description summarizes the key fields (period, limit, spent, remaining, percent used, status, currency totals, pay rhythm, uncapped categories) and the status vocabulary, so an agent can interpret results without reverse-engineering the schema. All behaviors relevant to a zero-parameter read tool are covered.

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?

The tool takes no parameters, so the baseline of 4 applies. The description correctly adds nothing about inputs and instead spends its words on what the fixed response contains.

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?

States a specific resource (budgets/spending caps) and the exact question it answers, including 'how much is left' and 'whether they are over budget'. This clearly separates it from sibling tools like get_spending_breakdown or get_period_totals, which report spending rather than configured caps.

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?

Gives explicit trigger phrasing ('when the person asks about their budget, spending limits or caps...') plus an edge-case instruction for when the budgets list is empty. It does not name when to prefer a sibling tool instead, so it falls short of a full when/when-not/alternatives treatment.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.