Skip to main content
Glama

Samuelz® Accounting

Vorhandene Belege lesen

list_accounting_documents
Read-onlyIdempotent

List stored accounting documents and credit notes visible in the connected workspace. Use this catalog to find document IDs, amounts, lifecycle, source references and current artifact metadata; use read_accounting_source_evidence for the contents of one returned document. Optional exact documentId, documentNumber, sourceRecordId and transactionId filters intersect. Results are ordered by document ID; limit defaults to 20 (maximum 25). Copy nextCursor unchanged with the same filters until null. Returns items, coverage, originalBytes and qualification; catalog references do not prove available original bytes or financial qualification. Current Accounting read authority is required. A changed source or invalid cursor fails; it is not an empty successful page. No document edits, imports, payments, messages or policy changes.

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_accounting_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDocuments per page: 1–25, default 20. Follow nextCursor until null.
cursorNoCopy nextCursor unchanged to continue by document ID. Keep the same workspace and exact filters; omit on the first page.
documentIdNoExact id returned in items by the document catalog; omit to list visible documents.
transactionIdNoExisting workspace bank transaction ID; lists only documents already linked to that transaction.
documentNumberNoExact accounting document number, not a fuzzy search; combines with other supplied filters.
sourceRecordIdNoExact sourceRecordId from a catalog item; intersects the other filters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Copy nextCursor unchanged to continue by document ID. Keep the same workspace and exact filters; omit on the first page."
    • addedInput schema / properties / documentId / description
      Added value: +"Exact id returned in items by the document catalog; omit to list visible documents."
    • addedInput schema / properties / documentNumber / description
      Added value: +"Exact accounting document number, not a fuzzy search; combines with other supplied filters."
    • addedInput schema / properties / limit / description
      Added value: +"Documents per page: 1–25, default 20. Follow nextCursor until null."
    • addedInput schema / properties / sourceRecordId / description
      Added value: +"Exact sourceRecordId from a catalog item; intersects the other filters."
    • addedInput schema / properties / transactionId / description
      Added value: +"Existing workspace bank transaction ID; lists only documents already linked to that transaction."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the description still adds substantive behavior: ordering by document ID, default and maximum limits, cursor must be copied unchanged, and that an invalid cursor or changed source fails rather than returning an empty page. It also flags a real semantic caveat — catalog references do not prove available original bytes or financial qualification — plus the read-authority requirement, which the annotations cannot convey.

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 description is front-loaded with purpose, then routing, then filter/pagination mechanics, then constraints — a sensible order with no filler sentences. It loses a point for restating limit and cursor rules that the schema already states verbatim, producing mild redundancy in a dense block.

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 naming the returned fields (items, coverage, originalBytes, qualification) and by warning that those catalog references are not proof of original bytes or financial qualification. Combined with pagination rules, failure modes and authorization requirements, 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 description coverage is 100%, so all six parameters are already documented with lengths, bounds and per-field meaning. The description adds the intersection semantics of the four exact filters and the cursor pagination contract, but most of that is echoed in the schema's own field descriptions, so it is corroboration rather than new meaning.

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 opens with a specific verb and resource ("List stored accounting documents and credit notes visible in the connected workspace") and immediately scopes the result set to the catalog view. It explicitly separates this tool from read_accounting_source_evidence, which handles the contents of one document, so an agent can route correctly without opening 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 names the alternative tool and the exact condition that selects it ("use read_accounting_source_evidence for the contents of one returned document"), and it closes with an explicit exclusion list ("No document edits, imports, payments, messages or policy changes"). The when-to-use and when-not-to-use cases are both stated rather than inferred.

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