Skip to main content
Glama

Samuelz® Accounting

Qonto-Rechnungsoriginal lesen

read_qonto_supplier_invoice_original
Read-onlyIdempotent

Read a live supplier-invoice original selected by supplierInvoiceId, invoiceNumber and createdMonth (Qonto upload month). For a bank transactionId/attachmentId pair use read_bank_transaction_attachment; for an archived documentId use read_accounting_source_evidence. fileIndex selects supplier file 0–2, default 0. These source identities are not interchangeable. Start at offset 0; maxBytes defaults to 49152 and is capped at 65536. Returns full-file SHA256 and bounded base64; later chunks require that expectedSha256. Existing organization, original-pointer lineage, current Operator grant, Accounting module and native provider invoice/attachment rights are rechecked. Missing or expired authority is a blocked result, not an empty file. No arbitrary URL, credentials, import, approval, matching, messages or payments.

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": {
      "supplierInvoiceId": "<supplierInvoiceId>",
      "invoiceNumber": "<invoiceNumber>",
      "createdMonth": "<createdMonth>"
    },
    "name": "read_qonto_supplier_invoice_original"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoZero-based byte offset, default 0. Later chunks require the full-file expectedSha256 returned by the first read.
maxBytesNoMaximum bytes in this base64 chunk, 1–65536; default 49152.
fileIndexNoZero-based original file index, 0–2; omit for the first file.
createdMonthYesQonto upload month as YYYY-MM; narrows the existing supplier-invoice lookup, not the invoice issue month.
invoiceNumberYesExact supplier invoice number bound to that existing invoice.
expectedSha256NoFull-file lowercase SHA256 from the first read; required after offset 0 so a changed original is rejected.
supplierInvoiceIdYesExact UUID of the existing Qonto supplier invoice, not a bank transaction or accounting document ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / createdMonth / description
      Added value: +"Qonto upload month as YYYY-MM; narrows the existing supplier-invoice lookup, not the invoice issue month."
    • addedInput schema / 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 / fileIndex / description
      Added value: +"Zero-based original file index, 0–2; omit for the first file."
    • addedInput schema / properties / invoiceNumber / description
      Added value: +"Exact supplier invoice number bound to that existing invoice."
    • addedInput schema / properties / maxBytes / description
      Added value: +"Maximum bytes in this base64 chunk, 1–65536; default 49152."
    • addedInput schema / properties / offset / description
      Added value: +"Zero-based byte offset, default 0. Later chunks require the full-file expectedSha256 returned by the first read."
    • addedInput schema / properties / supplierInvoiceId / description
      Added value: +"Exact UUID of the existing Qonto supplier invoice, not a bank transaction or accounting document ID."
  2. First observed

TDQS

A4.4/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, closed-world safety, but the description adds substantial context the annotations cannot: authority is rechecked (organization, original-pointer lineage, Operator grant, Accounting module, native provider rights), a missing grant yields a blocked result rather than an empty file, and it enumerates what the tool will not do. The only gap is no statement about rate limits or latency for repeated chunk reads.

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?

Front-loaded with purpose and identity, then routing, then chunking mechanics, then security semantics — a sensible order with no filler sentences. The final negation catalogue is dense but each item prevents a real misuse class; only mild cost is that it reads as a list rather than prose.

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 7-parameter, security-gated file-reader with no output schema, the description supplies what is missing elsewhere: the return shape (full-file SHA256 plus bounded base64), the pagination protocol, authorization preconditions, and the failure semantic of a blocked result. An agent can invoke and continue a chunked read correctly from this text alone.

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 defaults, bounds, patterns and the createdMonth-is-upload-month caveat are already documented per-parameter. The description repeats the fileIndex 0–2 default and the maxBytes 49152/65536 cap rather than adding new meaning, so it lands at the baseline for a fully documented schema.

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 a live supplier-invoice original) plus the exact identity triple that selects it, and explicitly names the two sibling readers that handle the other ID types. The final sentence 'These source identities are not interchangeable' makes the distinction unambiguous.

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?

Gives explicit routing rules: use read_bank_transaction_attachment for a transactionId/attachmentId pair, read_accounting_source_evidence for an archived documentId, and this tool only for supplierInvoiceId. It also specifies starting at offset 0 and that later chunks require the returned SHA256, which is genuine when-and-how guidance.

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