Skip to main content
Glama

Cashflow Report

cashflow
Read-only

Calculates income versus expenses, net savings, savings rate, category breakdowns, and top merchants across all accounts or by personal/business/company scope, excluding internal transfers.

Instructions

Computes income vs. expenses, net savings, savings rate, category breakdown, and top merchants across all accounts or scoped to Personal / Business / a specific company. Automatically excludes same-entity internal transfers.

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

Input Schema

NameRequiredDescriptionDefault
dateToNoOptional explicit end date YYYY-MM-DD.
entityNoOptional entity scope: 'all', 'personal', 'business', or a specific entity ID/name.
monthsNoNumber of recent months to include (default 3).
dateFromNoOptional explicit start date YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: same-entity internal transfers are automatically excluded, which materially affects the numbers an agent will report. It does not discuss aggregation windows or how partial months are handled, but for a read-only report the added rule is substantive.

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?

Two tightly written sentences: the first front-loads what is computed and the scope, the second delivers the exclusion rule. No filler, no repetition of the title.

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?

There is no output schema, but the description compensates by listing the metrics returned, and it covers the scope options and the key exclusion behavior. For a four-parameter, all-optional read-only report tool, an agent has everything needed to call it and interpret the results.

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 dateFrom, dateTo, entity, and months are already documented in the schema, and the description largely restates the entity scope values. It adds no interaction rules, such as precedence between dateFrom/dateTo and months or defaults behavior. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

The description opens with a specific verb ('Computes') and enumerates the exact outputs: income vs. expenses, net savings, savings rate, category breakdown, and top merchants. That makes the resource unmistakable and plausibly distinct from siblings like overview or budget_status. It stops short of naming or contrasting any sibling explicitly, so it is clear but not fully differentiated.

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?

Guidance is implied rather than stated: the agent can infer this is the tool for savings/income-expense analysis across all accounts or a chosen scope (Personal / Business / a specific company). There is no explicit 'use this when…' statement, no exclusions, and no routing to alternatives such as overview or budget_status.

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