Skip to main content
Glama

finance

Analytics: Check payment coverage

check_payment_coverage
Read-onlyIdempotent
    Will upcoming scheduled payments clear? Per-account coverage projection.

    For every bill-paying account: the known scheduled payments in the
    window (recurring templates — including a brand-new template's first
    occurrence — plus Plaid debt due dates), scheduled deposits
    (paychecks), a date-ordered projected-balance timeline, the projected
    minimum balance, and a status per account:

    - ``ok`` — everything clears with cushion to spare
    - ``below_threshold`` — clears, but dips under the account's
      low-balance cushion (``cushion_shortfall`` says by how much)
    - ``overdraft_risk`` — projected NEGATIVE (``overdraft_shortfall``
      is the amount needed to cover)

    Answers questions like "will I have enough when X hits?", and shows
    whether a new recurring withdrawal or scheduled payment would clear.
    Shortfall entries carry the amount and the date of the low point.
    Covering a shortfall (e.g. a transfer from savings) happens at the
    user's bank; Zoninga moves no money.

    ``unattributed_bills`` are Plaid debt-account due dates that can't be
    tied to a specific funding account; they are measured against
    ``checking_total_balance`` rather than any single account.

    Args:
        days: look-ahead window in days (default 14, max 90)

    Returns:
        Per-account coverage entries + overall_status + a summary line.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior on top: the exact status vocabulary (ok / below_threshold / overdraft_risk with the meaning of cushion_shortfall and overdraft_shortfall), that shortfall entries carry amount and low-point date, and the important scope limit that 'Zoninga moves no money' so covering a shortfall happens at the user's bank. It also explains the edge case of unattributed_bills being measured against checking_total_balance rather than a single account.

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 question-first opening and the terse status bullets are well front-loaded and every status definition earns its place. The explicit 'Args:' / 'Returns:' block is partly redundant with the schema and the section on unattributed_bills is wordy, so it is dense but slightly longer than necessary.

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, and the description compensates by stating the return shape (per-account coverage entries + overall_status + summary line) and by defining the individual fields an agent must interpret. Combined with the documented statuses and window parameter, an agent has everything needed to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter is bare in the schema (integer with default 14, no description), so the description must carry the burden. It does: 'days: look-ahead window in days (default 14, max 90)' supplies both the meaning and the 90-day upper bound the schema omits.

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 gives a specific verb and resource — project per-account coverage of upcoming scheduled payments, bills, deposits and Plaid debt due dates — and even supplies the natural-language question it answers ('will I have enough when X hits?'). It is highly distinctive in what it computes, but it never explicitly contrasts itself with the many adjacent analytics siblings such as forecast_cash_flow, get_account_health or get_cash_flow, so an agent must infer the boundary.

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?

Usage context is clear: it answers 'will I have enough when X hits?' and can show whether a new recurring withdrawal or scheduled payment would clear. That is a concrete when-to-use signal, but no when-NOT-to-use or named alternative is given, so the agent gets no explicit routing guidance against forecast_cash_flow.

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