Skip to main content
Glama

List bank accounts

list-bank-accounts
Read-onlyIdempotent

The group's bank and card accounts: every chart account a bank feed books to, or that a source system types as a bank or card account, with the entity whose chart it is in and the health of the connection that writes to it.

WHEN TO USE:

  • "Which bank accounts do we have, and which feed writes to each?"

  • Before link-bank-account: find the chart account a feed account should book to

  • Before record-statement-balance: find the account a statement covers

PARAMETERS:

  • entity_id (optional): one entity's accounts; omit for every entity in the group

RETURNS: accounts, by code then name: each account's id, code, name, kind (bank or credit), entity_id and entity_name, source (plaid, mercury, quickbooks, or null for one kept by hand), connection_id, feed_account_id (the provider's id, which link-bank-account takes), the institution, and the connection's status and last sync. total counts them.

RELATED TOOLS:

  • link-bank-account — point a feed account at a chart account

  • get-graph-sync-status — each connection's last sync in full

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": "list-bank-accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoOne entity's accounts, by id. Omit for every entity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world read, so safety needs no explanation. The description adds real context beyond that: what counts as an account, the ordering ('by code then name'), the meaning of a null `source` (hand-kept), and that connection health is included — but it says nothing about result volume or limits for a group-wide listing.

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?

Bold section headers, front-loaded purpose sentence, and zero filler make it scannable for a one-parameter tool. The RETURNS block is long, but without an output schema the field enumeration earns its space.

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 enumerating the returned fields (`id`, `code`, `kind`, `source`, `connection_id`, `feed_account_id`, status, last sync) and the `total` count. Combined with the membership rule and the follow-up routing, nothing an agent needs to call this correctly is missing.

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 coverage is 100% and the single optional `entity_id` is fully documented in the schema ('Omit for every entity'). The description's PARAMETERS line restates the same meaning with only marginal added scope clarification ('every entity in the group'), so the schema is doing the heavy lifting — the baseline 3.

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 states a specific resource (the group's bank and card accounts) and defines membership precisely: 'every chart account a bank feed books to, or that a source system types as a bank or card account.' That membership rule distinguishes it from the broader sibling `list-accounts` without needing to open either 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 a literal WHEN TO USE block with three concrete triggers, including two preconditions tied to named siblings (`link-bank-account`, `record-statement-balance`), plus a RELATED TOOLS section that routes follow-up questions about sync detail to `get-graph-sync-status`. An agent knows both when to pick this tool and where to go next.

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.