Skip to main content
Glama

finance

Plaid: Check connection health

get_connection_health
Read-onlyIdempotent
    Per-connection staleness report: how long since each linked bank
    last synced, and exactly which surfaces a stale connection taints.

    Answers "is my data up to date?" and shows whether balance, budget
    or forecast figures rest on stale bank data. A connection is
    flagged stale after 14 days without a successful sync
    (threshold_days in the response).

    Returns:
        ``{"items": [...], "stale_count": N, "threshold_days": 14}``.
        Each item: institution_name, last_synced_at, days_since_sync,
        is_stale, error state, linked accounts (with per-account
        days_since_balance_update), affected_budgets (budget names now
        missing activity), affects_forecast, and reconnect_url — a
        BROWSER deep link. The reconnect runs in the user's browser
        (Plaid Link with step-up auth); this tool returns the link.
        A closed account can be archived instead, and a manual sync
        can refresh a connection that is healthy but merely behind.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses the 14-day staleness threshold, that the reconnect_url is a BROWSER deep link requiring Plaid Link step-up auth, and critically that this tool only returns the link rather than performing the reconnection. That boundary is exactly the kind of behavioral context an agent needs to avoid misusing the result.

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 purpose and usage framing are front-loaded in the first two paragraphs, and the Returns block is dense but earns its space because there is no output schema. The verbose field enumeration is the only mild bloat.

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 no output schema, the description fully carries the burden of documenting the return payload — top-level keys, per-item fields (institution_name, last_synced_at, days_since_sync, is_stale, error state, per-account days_since_balance_update), affected_budgets, affects_forecast, and reconnect_url. Nothing an agent needs to interpret the result is missing.

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?

The tool takes zero parameters, so the baseline is 4; there is no parameter syntax for the description to clarify. It simply operates on all connections by default, which is consistent with the empty schema.

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 names a specific verb+resource combination — a per-connection staleness report covering time since each linked bank last synced and which surfaces (balance, budget, forecast) a stale connection taints. This is unmistakably distinct from siblings like get_plaid_item, list_plaid_items, or sync_plaid_item, even without naming them.

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?

It anchors usage with 'Answers "is my data up to date?"' and explains what the results reveal about downstream figures. It also points to remedies (reconnect via link, archive a closed account, manual sync for a healthy-but-behind connection), though it does not name the corresponding sibling tools or state when this tool should be skipped.

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