Skip to main content
Glama

Sprout: AI Finance & Cash Flow

Personal and business cash flow

get_cash_flow
Read-onlyIdempotent

Use this when the person asks for a personal finance review, business cash flow, bank inflows and outflows, income tracking, expenses, or monthly spending. Returns income, expenses, net cash flow, savings rate, and top categories for one currency. Scope business-only or personal-only questions to accounts identified by the user. Excludes internal transfers and pending transactions. Cash inflows are not accounting revenue; net cash flow is not profit. Omit from and to for the saved default period. Pass currency when accounts hold more than one; without it the summary uses the currency most recent spending is in. For two periods side by side call compare_periods; for trends over time, get_period_totals; for every category or merchant, get_spending_breakdown.

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_cash_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoInclusive end, ISO date or timestamp, e.g. 2026-09-30. Calendar dates include the entire day.
fromNoInclusive start, ISO date or timestamp, e.g. 2026-09-01. Omit both dates to use the saved default period.
currencyNoISO currency, e.g. USD or CAD. Monetary summaries use one currency and never convert or combine currencies.
accountIdNoPersonal or business account id from list_accounts or a mention. Omit for all connected accounts; resolve the user's selected accounts first for business-only or personal-only reviews.

Output Schema

NameRequiredDescriptionDefault
netYes
setupNoPresent when bank data is missing, syncing, failing, or out of date. Lead the answer with it.
incomeYes
periodYes
expensesYes
incomeCountYes
savingsRateYes
expenseCountYes
topCategoriesYes
internalTransfersExcludedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, yet the description adds substantive semantics the annotations cannot express: internal transfers and pending transactions are excluded, and it warns that inflows are not accounting revenue and net cash flow is not profit. It also explains the default-period fallback when dates are omitted and the currency-selection fallback, which materially affects interpretation of results.

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?

The definition is front-loaded with the trigger conditions, then constraints, then fallback behavior, then sibling routing — a logical order for an agent to consume. Every sentence carries a distinct rule or caveat; nothing repeats the tool name or title verbatim.

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?

With four optional parameters, read-only annotations, and an output schema present, the description covers the remaining gaps: inclusion/exclusion rules, dual-currency behavior, default-period behavior, and the accounting caveats an agent needs to phrase results correctly. Listing returned metrics is mildly redundant given the output schema but does not leave anything essential unstated.

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 coverage is 100%, so the baseline is 3; the description earns above that by explaining the consequences of omitting optionals — omit from and to for the saved default period, pass currency only when accounts hold multiple currencies or the summary falls back to the currency of most recent spending. The accountId scoping advice is also restated, which is slightly redundant with the schema but reinforces the business/personal split.

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?

The description opens with a specific condition-plus-resource: personal finance review, business cash flow, bank inflows/outflows, income, expenses, monthly spending. It then names the exact outputs (income, expenses, net cash flow, savings rate, top categories) for one currency, which lets an agent distinguish it from get_period_totals or get_spending_breakdown without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use triggers ('asks for a personal finance review, business cash flow...') and explicitly routes three alternatives: compare_periods for two periods side by side, get_period_totals for trends over time, get_spending_breakdown for every category or merchant. It also states the scope-limiting rule that business-only or personal-only questions must be narrowed to user-identified accounts.

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.