Skip to main content
Glama
lexware-mcp-server

lexware-mcp-server

by lazyants

List Voucherlist

lexware_list_voucherlist
Read-onlyIdempotent

Search and filter all Lexware voucher types—including invoices, credit notes, and quotations—by date, contact, status, or type to find specific documents.

Instructions

Search and filter across all voucher types in Lexware. This is the main way to find invoices, credit notes, quotations, and other voucher types.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (0-indexed)
sizeNoResults per page (max 250)
sortNoSort by voucherDate, voucherNumber, createdDate or updatedDate, followed by ASC or DESC, e.g. "updatedDate,DESC".
archivedNoFilter by archived status
contactIdNoFilter by contact UUID
contactNameNoWildcard filter on contactName, applied client-side after fetching. % = any sequence, _ = exactly one character. Case-insensitive. Example: "Müller%". Implies fetchAllPages.
voucherTypeNoVoucher type(s), comma-separated, or "any" for no type filter (default). Values: invoice, creditnote, orderconfirmation, quotation, deliverynote, downpaymentinvoice, dunning, purchaseinvoice, purchasecreditnoteany
createdDateToNoFilter by creation date to (yyyy-MM-dd)
fetchAllPagesNoWhen true, read every page instead of one, up to 100 requests. truncated: true means pages were left unread. Lexware serves at most 10,000 entries per search; searchWindowReached: true means more vouchers may match than were returned — narrow the date range, voucherType, voucherStatus or contactId and repeat.
hasOpenAmountNoWhen true, keep only entries with openAmount > 0. Applied client-side after fetching. Implies fetchAllPages.
updatedDateToNoFilter by last modification date to (yyyy-MM-dd, full day in CET/CEST)
voucherDateToNoFilter vouchers to date (ISO, e.g. "2024-12-31")
voucherNumberNoFilter by voucher number
voucherStatusNoVoucher status(es), comma-separated, or "any" for no status filter (default). Values: draft, open, overdue, paid, paidoff, voided, transferred, sepadebit, accepted, rejected, unchecked. overdue cannot be combined with other statuses.any
createdDateFromNoFilter by creation date from (yyyy-MM-dd)
updatedDateFromNoFilter by last modification date from (yyyy-MM-dd, full day in CET/CEST)
voucherDateFromNoFilter vouchers from date (ISO, e.g. "2024-01-01")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.5.0
    • changedInput schema / properties / fetchAllPages / description
      Previous value: -"When true, follow pagination until every page is retrieved (capped at 100 requests) instead of returning a single page."New value: +"When true, read every page instead of one, up to 100 requests. truncated: true means pages were left unread. Lexware serves at most 10,000 entries per search; searchWindowReached: true means more vouchers may match than were returned — narrow the date range, voucherType, voucherStatus or contactId and repeat."
  2. Changed4 schema fields changedv5.3.0
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Sort by voucherDate, voucherNumber, createdDate or updatedDate, followed by ASC or DESC, e.g. \"updatedDate,DESC\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedDateFrom
      Added value: +{
      +  "description": "Filter by last modification date from (yyyy-MM-dd, full day in CET/CEST)",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedDateTo
      Added value: +{
      +  "description": "Filter by last modification date to (yyyy-MM-dd, full day in CET/CEST)",
      +  "type": "string"
      +}
    • changedInput schema / properties / voucherStatus / description
      Previous value: -"Voucher status(es), comma-separated, or \"any\" for no status filter (default). Values: draft, open, overdue, paid, paidoff, voided, accepted, rejected, unchecked"New value: +"Voucher status(es), comma-separated, or \"any\" for no status filter (default). Values: draft, open, overdue, paid, paidoff, voided, transferred, sepadebit, accepted, rejected, unchecked. overdue cannot be combined with other statuses."
  3. Changed3 schema fields changedv5.2.0
    • addedInput schema / properties / contactName
      Added value: +{
      +  "description": "Wildcard filter on contactName, applied client-side after fetching. % = any sequence, _ = exactly one character. Case-insensitive. Example: \"Müller%\". Implies fetchAllPages.",
      +  "type": "string"
      +}
    • addedInput schema / properties / fetchAllPages
      Added value: +{
      +  "default": false,
      +  "description": "When true, follow pagination until every page is retrieved (capped at 100 requests) instead of returning a single page.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / hasOpenAmount
      Added value: +{
      +  "description": "When true, keep only entries with openAmount > 0. Applied client-side after fetching. Implies fetchAllPages.",
      +  "type": "boolean"
      +}
  4. Changed4 schema fields changedv5.0.0
    • addedInput schema / properties / voucherStatus / default
      Added value: +"any"
    • changedInput schema / properties / voucherStatus / description
      Previous value: -"Voucher status(es), comma-separated or \"any\". Values: draft, open, overdue, paid, paidoff, voided, accepted, rejected, unchecked"New value: +"Voucher status(es), comma-separated, or \"any\" for no status filter (default). Values: draft, open, overdue, paid, paidoff, voided, accepted, rejected, unchecked"
    • addedInput schema / properties / voucherType / default
      Added value: +"any"
    • changedInput schema / properties / voucherType / description
      Previous value: -"Voucher type(s), comma-separated or \"any\". Values: invoice, creditnote, orderconfirmation, quotation, deliverynote, downpaymentinvoice, dunning, purchaseinvoice, purchasecreditnote"New value: +"Voucher type(s), comma-separated, or \"any\" for no type filter (default). Values: invoice, creditnote, orderconfirmation, quotation, deliverynote, downpaymentinvoice, dunning, purchaseinvoice, purchasecreditnote"
  5. First observedv3.0.0

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered by structured data. The description adds essentially no behavioral context of its own: it says nothing about the 10,000-entry search window, truncation, client-side filtering side effects, or pagination cost — all of which live only in individual parameter descriptions and fundamentally shape how this tool behaves.

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?

Two short sentences, front-loaded on the primary action, with no redundant restatement of the tool name. The second sentence is slightly decorative but earns some keep by grounding 'voucher' in familiar document types.

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

Completeness3/5

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

For a 17-parameter search tool with no output schema, the description is thin: it omits pagination/results shape, the fetchAllPages tradeoff, and the crucial distinction from 'lexware_list_vouchers'. The schema does carry the parameter detail, which prevents a lower score, but the definition as a whole is only minimally adequate for a tool of this complexity.

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 17 parameters are already documented in the schema, and the description does not need to compensate. The only added meaning is the enumeration of voucher kinds (invoice, credit note, quotation), which loosely maps to the voucherType parameter but adds nothing about its comma-separated syntax or 'any' default.

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?

The description gives a specific verb and resource ('Search and filter across all voucher types') and names concrete examples of what is returned (invoices, credit notes, quotations), so an agent can grasp the scope without the schema. It falls short of a 5 because it does not distinguish this tool from the sibling 'lexware_list_vouchers', leaving genuine ambiguity between two similarly-named retrieval tools.

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?

'This is the main way to find invoices, credit notes, quotations' implies a default/preferred retrieval path, which is useful orientation. However, there is no explicit when-to-use vs. when-not guidance, no mention of the 'lexware_list_vouchers' sibling, and no note on when a more specific creator/deeplink tool would be preferable.

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

Deploy Server

Other Tools