Skip to main content
Glama

PocketSmith (read-only)

forecast_accuracy

Read-onlyIdempotent

Compares actual vs forecast account balances over a past period to evaluate how reliable the user's forecasting has been. Also analyses budget data to identify inaccuracy drivers — categories that are unbudgeted (spending with no budget), significantly underbudgeted (actual exceeds forecast by 25%+), or significantly overbudgeted (forecast exceeds actual by 2x+). Note: forecast values for past dates reflect the CURRENT scenario settings, not what was originally forecast. This is useful for calibrating current forecast configuration. Accounts without linked scenarios will have no forecast data for comparison.

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

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: monthly.
account_idsNoComma-separated account IDs to include. Default: all accounts.
months_backNoNumber of months of history to analyze. Default: 3. Max: 12.

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds valuable context beyond them: forecast values for past dates reflect current scenario settings rather than original forecasts, and accounts without linked scenarios yield no forecast data — both are non-obvious behavioral facts. It does not mention performance limits or output shape, but the important caveats are disclosed.

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 description is front-loaded with the core purpose, then the driver categories, then caveats — a sensible order. The parenthetical definitions of unbudgeted/underbudgeted/overbudgeted are useful, though the threshold wording ('25%+' vs '2x+') is slightly dense and the sentence count could be trimmed.

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 read-only analytical tool with no output schema, the description covers what is compared, what drivers are identified, and the key data caveats. Remaining gaps — return format and how many data points resolution produces — are modest given full schema coverage and the absence of an output schema.

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?

Schema description coverage is 100%, so all four parameters (user_id, resolution, account_ids, months_back) are already documented with defaults and the 12-month max. The description adds no parameter-specific detail such as how resolution affects the accuracy comparison, so it relies on the schema. Baseline 3 is appropriate.

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 specific comparison (actual vs forecast balances) plus a secondary analysis of budget drivers, which is concrete and distinguishable from siblings like cash_flow_forecast or net_worth_forecast. It does not explicitly name which sibling to use for forward-looking forecasts, but the past-period framing makes the distinction reasonably clear.

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?

It implies usage for evaluating past forecast reliability and calibrating current forecast configuration, which gives some context. However, it never states when to prefer this over cash_flow_forecast/net_worth_forecast or what prerequisites exist (e.g., needing linked scenarios is mentioned only as a caveat, not as a usage condition).

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