Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

delivery_notes_convert

Convert a delivery note into a final invoice, mark the note as converted, and link both documents so billing data stays traceable.

Instructions

Convert a delivery note into a final invoice. Creates a new invoice with all delivery note data, marks the delivery note as converted, and establishes a link between the two documents. Returns both the new invoice and updated delivery note.

Input Schema

NameRequiredDescriptionDefault
uuidYesUUID of the delivery note to convert to an invoice
dueDateNoOverride due date for the new invoice (default: delivery note due date, YYYY-MM-DD)
companyIdNoCompany UUID (overrides configured default)
issueDateNoOverride issue date for the new invoice (default: today, YYYY-MM-DD)
invoiceSeriesIdNoUUID of the invoice series to use (if different from delivery note series)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.8/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it creates a new invoice with all delivery note data, marks the delivery note as converted, links the documents, and returns both. It does not warn about retry behavior or duplicate-risk implications of the non-idempotent annotation.

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 deliver the core action, side effects, and return behavior without repetition. The conversion purpose is front-loaded and every sentence contributes.

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 mutation tool with no output schema, the description covers the main effects and returned documents, and the annotations communicate mutation and non-idempotency. It still omits operational preconditions such as whether the delivery note must be issued, unconverted, or otherwise valid before conversion.

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 five parameters are already documented in the schema, including uuid, dueDate, issueDate, invoiceSeriesId, and companyId. The description does not add parameter-specific meaning beyond the schema, which is acceptable given full coverage but does not exceed the baseline.

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: 'Convert a delivery note into a final invoice.' It is clear what the tool does, but it does not explicitly distinguish this single conversion from the sibling tool delivery_notes_bulk_convert or other conversion-related 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?

Usage is implied by the purpose statement: use it to turn a delivery note into an invoice. However, there is no explicit guidance about preconditions, alternatives such as bulk conversion or proforma conversion, or when not to use this tool.

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