Skip to main content
Glama
lexware-php-mcp

lexware-php-mcp

Search vouchers

search_vouchers
Read-onlyIdempotent

Filter Lexware Office invoices, credit notes, and quotations by type, status, date range, voucher number, or contact name to locate matching vouchers.

Instructions

Searches Lexware Office vouchers (invoices, credit notes, quotations, ...) by type, status, date range, voucher number and contact name, newest first. Amounts are gross; net amounts need the voucher detail.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of vouchers returned, 1 to 250.
dateToNoLatest voucher date as YYYY-MM-DD.
contactNoCase-insensitive part of the contact name to filter by.
dateFromNoEarliest voucher date as YYYY-MM-DD.
voucherTypeNoComma-separated Lexware voucher types, e.g. "invoice,creditnote", or "any".any
voucherNumberNoVoucher number as shown in Lexware.
voucherStatusNoComma-separated Lexware voucher statuses, e.g. "open,paid", or "any". "overdue" cannot be combined with other statuses.any

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare this as a read-only, idempotent, non-destructive, open-world search. The description adds useful behavioral context beyond them: results are newest first and amounts are gross, while net amounts require the detail tool.

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 sentences, front-loaded with the core purpose and filter scope. The amount caveat is useful and no wording is wasted.

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

Completeness4/5

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

For a seven-parameter optional-filter search, the description covers purpose, ordering, and amount semantics, while the schema covers parameter details and annotations cover safety. It does not describe the returned voucher fields, which is a minor gap because no output schema exists.

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 the schema already documents every parameter in detail. The description restates the main filter categories but adds little syntax or meaning beyond what the schema provides.

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 names a specific verb and resource: searches Lexware Office vouchers. It enumerates the searchable dimensions (type, status, date range, voucher number, contact name), states ordering, and explicitly routes net-amount needs to voucher_detail.

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 gives clear usage context and a specific alternative for net amounts: use voucher_detail. It does not fully exclude other sibling tools such as open_items or revenue, but the primary when-to-use guidance is explicit.

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