Skip to main content
Glama

Beancount.io

List Accessible Ledgers

listLedgers
Read-onlyIdempotent

List the ledgers this credential can reach — every one when page and limit are omitted. A pinned credential returns its one ledger; for an unpinned credential, ledger tools take one of these as ledger: owner/name.

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number, defaults to 1.
limitNoPage size, at most 100.

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior. The description adds meaningful context beyond that: credential scoping, the pinned-credential single-ledger case, and default pagination behavior when parameters are omitted.

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?

Two compact sentences with no wasted text. The core scope and the key credential-pinning distinction are front-loaded.

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?

Given the output schema exists and annotations cover safety traits, the description provides everything needed to select and invoke the tool correctly: scope, pagination omission behavior, credential pinning, and downstream usage.

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?

Schema coverage is 100%, so the schema defines both parameters fully. The description still adds value by clarifying that omitting both `page` and `limit` returns every reachable ledger, which is a semantic detail beyond the schema's default notes.

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 verb and resource ('List the ledgers') and precisely bounds the scope by credential reach. It further distinguishes behavior for pinned versus unpinned credentials, so an agent can tell this apart from siblings like checkLedger or createLedger without opening the schema.

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 clearly establishes when the tool returns all ledgers (page and limit omitted) and explains its role as the source for the `ledger: owner/name` parameter used by other ledger tools. It does not explicitly state when to prefer a different sibling, but the usage context is strong and unambiguous.

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.