Skip to main content
Glama

Samuelz® Accounting

Quellnachweis lesen

read_accounting_source_evidence
Read-onlyIdempotent

Read archived catalog evidence selected by documentId from list_accounting_documents: an accounting PDF or historical Stripe invoice/payment facts. Use read_bank_transaction_attachment for a live transactionId/attachmentId pair, or read_qonto_supplier_invoice_original for a supplierInvoiceId. This tool does not look up arbitrary provider originals. With original omitted, an archived PDF returns bounded extracted text; historical Stripe records return billing facts with original bytes explicitly unverified. Supply original to request a base64 PDF chunk: offset defaults to 0, maxBytes to 49152 (maximum 65536), and later offsets require the first response full-file expectedSha256. Current catalog visibility, Accounting read, source and actor checks apply; missing or changed evidence stays blocked or unavailable. Returns existing source evidence only, without imports, corrections, matching, payment, sending, secrets or arbitrary provider URLs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "documentId": "<documentId>"
    },
    "name": "read_accounting_source_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
originalNoOmit for archived extracted text or historical billing facts. Supply byte options only to read an available archived PDF original.
documentIdYesExact id from list_accounting_documents; selects one currently visible accounting document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / documentId / description
      Added value: +"Exact id from list_accounting_documents; selects one currently visible accounting document."
    • addedInput schema / properties / original / description
      Added value: +"Omit for archived extracted text or historical billing facts. Supply byte options only to read an available archived PDF original."
    • addedInput schema / properties / original / properties / expectedSha256 / description
      Added value: +"Full-file lowercase SHA256 from the first read; required after offset 0 so a changed original is rejected."
    • addedInput schema / properties / original / properties / maxBytes / description
      Added value: +"Maximum bytes in this base64 chunk, 1–65536; default 49152."
    • addedInput schema / properties / original / properties / offset / description
      Added value: +"Zero-based byte offset, default 0. Later chunks require the full-file expectedSha256 returned by the first read."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations by explaining that omitting original returns bounded extracted text for PDFs or historical Stripe billing facts with unverified original bytes. It also discloses chunking behavior, authorization checks, and that missing or changed evidence remains blocked or unavailable.

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 and alternatives, and every sentence contributes useful information. It is a dense single paragraph covering many constraints, so it is appropriately sized but could be easier to scan if structured into shorter sentences or sections.

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 tool's conditional return behavior and lack of an output schema, the description supplies what an agent needs: output differences when original is omitted versus supplied, chunking constraints, permission requirements, and blocked/unavailable failure modes. The remaining details are fully covered by the rich input schema and annotations.

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%, and the schema already documents documentId, original, offset, maxBytes, and expectedSha256. The description largely restates those field-level rules in workflow context rather than adding substantial new parameter-level semantics, 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?

States a specific verb and resource (read archived catalog evidence) and precisely scopes it by documentId from list_accounting_documents. It distinguishes itself from sibling tools by naming the exact alternatives for live transaction/attachment and supplier invoice cases.

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?

Explicitly tells the agent when to use this tool and when to use read_bank_transaction_attachment or read_qonto_supplier_invoice_original instead. It also rules out arbitrary provider originals and explains how to obtain the required documentId from list_accounting_documents.

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