Skip to main content
Glama

PocketSmith (read-only)

cash_flow_forecast

Read-onlyIdempotent

Forward-looking account-level balance projections using PocketSmith's forecasting engine. Shows where each account is heading and identifies danger zones where balances drop below a configurable threshold. Filter by account types (bank, cash, credits, stocks, mortgage, loans, retirement) or specific account IDs. Accounts without linked scenarios will have no forecast data. Credit cards naturally have negative balances — adjust danger_threshold accordingly when checking credit accounts. The forecast horizon is limited only by the user's subscription plan date limits — multi-year projections (e.g. loan payoff dates) are fine; use monthly resolution for long horizons. navigate_to_cashflows is the matching page link to offer alongside any projection answer.

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": "cash_flow_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNoThe unique identifier of the user. If omitted, automatically resolved from the authenticated user.
resolutionNoTime resolution for balance data points: daily, weekly, monthly. Default: weekly.
account_idsNoComma-separated specific account IDs to include. Overrides account_types filter if provided.
months_aheadNoNumber of months to forecast ahead from today. Default: 3. No fixed cap — the horizon is limited only by the user's subscription plan date limits. Use monthly resolution for multi-year horizons to keep the response manageable.
account_typesNoComma-separated account types to include (bank, cash, credits, stocks, mortgage, loans, retirement). Default: all types.
danger_thresholdNoBalance level below which an account is flagged as a danger zone. Default: 0 (flags only negative balances).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish a safe, read-only, idempotent, closed-world operation, and the description adds genuinely new behavior: the danger-zone flagging model, the subscription-plan horizon ceiling, the scenario-linking dependency, and the credit-card negative-balance caveat. These are exactly the operational traits an agent needs and none are recoverable from the annotations.

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 sentences are front-loaded and each carries operational meaning, with caveats clustered after the capability statement. It is slightly longer than needed because the account-type list is restated verbatim from the schema and the closing navigate_to_cashflows sentence is a separate instruction rather than tool semantics.

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 six-parameter read tool with no output schema and full annotation coverage, the description covers prerequisites, horizon limits, threshold tuning and the companion page link. The only real gap is the shape of the returned series (per-account balance points at the chosen resolution), which is only implied by the resolution parameter.

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, and the description earns an extra point by interpreting danger_threshold in practice (raise it for credit accounts that are naturally negative). The account-type enumeration and monthly-for-long-horizons advice duplicate the schema rather than extend it, keeping it short of a 5.

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 verb and resource: 'Forward-looking account-level balance projections using PocketSmith's forecasting engine.' The 'account-level' framing plus the danger-zone threshold distinguishes it from an aggregate sibling like net_worth_forecast without needing the agent to open the 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 concrete when-to-use guidance: filter by account types or IDs, use monthly resolution for multi-year horizons, adjust danger_threshold for credit accounts, and pair the answer with navigate_to_cashflows. It also states the key precondition that accounts without linked scenarios return no forecast data, which prevents misreading empty results.

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.

Resources