Skip to main content
Glama
lazyants

lexware-mcp-server

by lazyants

Pursue to a Delivery Note

lexware_pursue_delivery_note

Create a delivery note from a quotation or order confirmation by providing the preceding sales voucher ID and the delivery note JSON body.

Instructions

Create a new delivery note from a quotation or order confirmation via POST /delivery-notes?precedingSalesVoucherId={id}. In introduction, lineItems[].description, and remark, use only Lexware formatting: bold, italic, and dash-prefixed list items separated by newlines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesDelivery note JSON body with voucherDate, address, lineItems, totalPrice, and taxConditions. In introduction, lineItems[].description, and remark, use only Lexware formatting: **bold**, __italic__, and dash-prefixed list items separated by newlines.
precedingSalesVoucherIdYesUUID of the preceding sales voucher (quotation or order confirmation) that this delivery note is pursued from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.3.0
    • changedInput schema / properties / body / description
      Previous value: -"Delivery note JSON body. Same shape as lexware_create_delivery_note. See Lexware API docs for full schema."New value: +"Delivery note JSON body with voucherDate, address, lineItems, totalPrice, and taxConditions. In introduction, lineItems[].description, and remark, use only Lexware formatting: **bold**, __italic__, and dash-prefixed list items separated by newlines."
  2. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds the formatting constraint and the fact that a new voucher is produced, but says nothing about whether the preceding voucher is modified, what happens on an invalid/missing source ID, or the response shape. With annotations carrying the mutation semantics, this is an adequate but thin 3.

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 sentences, no filler, with the action and endpoint front-loaded before the formatting rules. It is appropriately short, though the formatting sentence is arguably redundant with the schema and could have been trimmed.

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 non-idempotent mutation tool with a loosely typed nested body (additionalProperties with no field-level documentation) and no output schema, the description covers what is created and from what, but omits error behavior, side effects on the source voucher, and any required body fields beyond voucherDate/address/lineItems named in the schema. Adequate but incomplete given the 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% and both parameters are documented in the schema, including the UUID semantics of precedingSalesVoucherId and the expected body contents. The description's formatting note is largely duplicated verbatim inside the body schema description, so it adds little beyond the structured data. Baseline 3 applies.

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 states a specific verb and resource (create a new delivery note) and names the source vouchers (quotation or order confirmation), plus the exact endpoint. However, it never distinguishes this from the sibling lexware_create_delivery_note, which presumably hits the same POST /delivery-notes endpoint; an agent cannot tell when to use 'pursue' versus plain 'create' without inference.

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?

Usage is only implied by the phrase 'from a quotation or order confirmation' and the precedingSalesVoucherId requirement. There is no explicit statement of when to choose this over lexware_create_delivery_note or the other pursue_* tools, and no prerequisites (e.g., the source voucher must exist and be in a valid state) are given.

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