Skip to main content
Glama

List flow candidates

list-flow-candidates
Read-onlyIdempotent

The cash flow rows a ledger line may be tagged with: the flow that overrides its account's default on the cash flow and equity statements.

WHEN TO USE:

  • Before setting a bank line's classified_flow_qname or a journal-entry line's flow_qname: a loan drawn or repaid, capital put in or taken out, an asset bought or sold

  • To see which investing and financing rows this company's cash flow statement offers

PARAMETERS:

  • entity_id (optional): the entity whose statement the rows come from; omit for the group parent

RETURNS: flows: each row's element_id, qname (the value the line takes), name as the statement labels it, and activity (operating, investing or financing), by section then name. These are the rows the write path accepts, so a flow picked here is never refused.

RELATED TOOLS:

  • update-event-block — classified_flow_qname on a bank line

  • update-journal-entry — line_flows on a posted entry's lines

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-flow-candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoThe entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent.

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 readOnly=true, idempotent, closed-world, so the safety profile is covered; the description still adds a genuine contract — these are the rows the write path accepts, so a flow picked here is never refused — plus the ordering (by section then name). It only stops short of stating whether the list varies by period or how large it typically is.

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-load purpose, then when-to-use, params, returns, and related tools, and every line carries information. The only waste is the slightly redundant entity_id restatement already covered by the schema.

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?

For a single optional-parameter read tool with no output schema, the RETURNS section fully documents the response shape (element_id, qname, name, activity with enumerated values, ordering), and the write-path guarantee tells the agent the result is directly usable.

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 description's only parameter note ('omit for the group parent') restates the schema text almost verbatim. It adds no new meaning about entity_id beyond what the input schema already says, so the baseline 3 applies.

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 opening sentence names the concrete resource — cash flow rows a ledger line may be tagged with — and immediately distinguishes them from the account's default flow on the cash flow and equity statements. That differentiates it from any account-listing sibling without needing their schemas.

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?

The WHEN TO USE block gives explicit call-site conditions: before setting `classified_flow_qname` on a bank line or `flow_qname` on a journal-entry line, with concrete examples (loan drawn/repaid, capital in/out, asset bought/sold). The RELATED TOOLS block names exactly which write tool consumes which field, so the agent knows the follow-up call.

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.