Skip to main content
Glama

Chart of accounts

saga_list_accounts
Read-onlyIdempotent

Lists chart of accounts entries, optionally filtered by prefix or account name text, to retrieve the accounting accounts needed for SAGA C queries.

Instructions

Accounts from the chart of accounts (planul de conturi), optionally filtered by prefix or by text in the name.

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

Input Schema

NameRequiredDescriptionDefault
firmNoFirm code (folder name such as "0001"). Optional when only one firm is configured.
limitNoMaximum rows to return.
prefixNoe.g. "401" or "5121"
searchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only that filters are optional and that name filtering is free-text, with no mention of default row limits, ordering, or whether an empty result is possible — modest added value beyond the annotations.

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?

A single front-loaded sentence that names the resource first and the optional filters second, with zero redundant wording. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, no-required-parameter listing tool with no output schema to explain, the definition covers purpose and both filter modes adequately, and the schema handles `firm` and `limit`. It stops short of saying what each returned account row contains or in what order, which would fully close the loop.

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 75%, which puts the baseline at 3. The description does add real meaning for the undocumented `search` parameter by clarifying it matches text in the account name, and it explains `prefix` as a code prefix; however `firm` and `limit` receive no elaboration beyond their schema text.

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?

States a specific resource — accounts from the chart of accounts (with the Romanian term 'planul de conturi' as a synonym) — and names the two available filter dimensions. It is clear what the tool returns, but it does not distinguish itself from related siblings such as saga_account_ledger or saga_trial_balance, which an agent might plausibly confuse with a chart-of-accounts listing.

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?

The word 'optionally' and the two named filters imply when the filters are worth using, but there is no explicit when-to-use vs. when-to-use-an-alternative guidance (e.g., 'use saga_account_ledger for per-account movements'). Usage is implied rather than directed.

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