Skip to main content
Glama

Lieferschein ändern

update_delivery_note
Idempotent

Einen Lieferschein ändern; die Nummer bleibt. Nur übergebene Felder werden geändert; lines ersetzt die Liste.

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": {
      "id": "<id>"
    },
    "name": "update_delivery_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLieferschein-ID
linesNoPositionen ohne Preise; ersetzt die Liste
referenceNoVorgang, z. B. «Auftrag 201200»
intro_textNo
issue_dateNoLieferscheindatum, leer = heute
order_dateNoBestelldatum
customer_idNoKunde aus list_customers: Anschrift wird kopiert
closing_textNo
customer_cityNo
customer_nameNoLieferanschrift: Firma bzw. Name
customer_numberNo
customer_streetNo
customer_countryNoISO-3166 Alpha-2, z. B. CH
design_document_idNoVorlage (Lieferschein); leer = Standard des Kontos
billing_document_idNoRechnung, Angebot oder Auftrag (list_documents): Lieferanschrift, Vorgang, Bestelldatum und Positionen ohne Preise werden übernommen; übergebene Felder haben Vorrang
customer_postal_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true and destructive=false, so the safety profile is covered. The description adds two behaviors the annotations cannot express: the document number is immutable, and the update is partial with 'lines' fully replacing the existing line list — the latter being the main way an agent could unintentionally lose data. It omits whether empty strings clear fields and whether omitting 'lines' preserves them.

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 short clauses, no filler, with the immutability constraint front-loaded before the update semantics. Every clause carries information an agent needs to call the tool correctly.

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 16-parameter mutation tool with a nested line array and no output schema, the description covers the crucial patch semantics but says nothing about what a successful call returns, how validation errors surface, or what happens with an empty 'lines' array. Adequate as a minimum, but thin given the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 63%, so several fields (intro_text, closing_text, customer_city, customer_number, customer_street, customer_postal_code) carry no explanation anywhere. The description compensates for the most consequential gap by defining cross-parameter merge semantics ('only passed fields change', 'lines replaces the list'), which the per-property schema text does not state globally.

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?

States a specific verb plus resource ('Einen Lieferschein ändern') and immediately adds a scope constraint ('die Nummer bleibt'), so the agent knows this is a modification of an existing document, not a create/delete. It does not name the sibling tools (create_delivery_note, delete_delivery_note) explicitly, so differentiation rests on the name and that one clause.

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?

'Nur übergebene Felder werden geändert' implies a patch-style call and warns against sending the full object, which is real usage guidance. There is no explicit when-to-use versus when-not guidance (e.g. create_delivery_note for new notes, delete_delivery_note for removal) and no prerequisites or permission notes.

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