Skip to main content
Glama
stornoro

Storno CLI

by stornoro

delivery_notes_update

Update existing delivery notes in draft or issued status by replacing all line items with a new array, adjusting dates, currency, and e-Transport details as needed.

Instructions

Update an existing delivery note. Delivery notes in draft or issued status can be updated. Replaces all line items with the provided array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUUID of the delivery note to update
linesYesArray of line items (replaces all existing lines)
notesNoPublic notes about the delivery
dueDateYesDue date for invoicing (YYYY-MM-DD)
clientIdYesUUID of the client
currencyYesCurrency code (e.g., RON, EUR, USD)
issuerIdNoUUID of the issuer user
mentionsNoAdditional mentions or instructions
seriesIdNoUUID of the delivery note series
companyIdNoCompany UUID (overrides configured default)
issueDateYesDate of issue (YYYY-MM-DD)
deputyAutoNoVehicle registration number
deputyNameNoName of person who received the delivery
issuerNameNoName of person issuing the delivery note
salesAgentNoSales agent name
exchangeRateNoExchange rate to base currency
internalNoteNoInternal note (not visible to client)
deliveryLocationNoFull address where goods were delivered
documentSeriesIdNoUUID of the document series to use (alternative to seriesId)
projectReferenceNoRelated project or order reference
deputyIdentityCardNoID card number of the deputy
etransportTrailer1NoFirst trailer registration number
etransportTrailer2NoSecond trailer registration number
etransportEndCountyNoEnd county code (1-52)
etransportEndNumberNoEnd street number
etransportEndStreetNoEnd street name
etransportEndLocalityNoEnd locality name
etransportStartCountyNoStart county code (1-52)
etransportStartNumberNoStart street number
etransportStartStreetNoStart street name
etransportEndOtherInfoNoEnd additional address info
etransportPostIncidentNoPost-incident declaration
etransportEndPostalCodeNoEnd postal code
etransportOperationTypeNoOperation type code: 10, 12, 20, 30 (TTN), 40, 50, 60
etransportStartLocalityNoStart locality name
etransportTransportDateNoTransport start date (YYYY-MM-DD)
etransportVehicleNumberNoVehicle registration number (3-20 uppercase alphanumeric)
etransportStartOtherInfoNoStart additional address info
etransportStartPostalCodeNoStart postal code
etransportTransporterCodeNoTransporter CUI/CIF (numeric only)
etransportTransporterNameNoTransporter legal name
etransportTransporterCountryNoTransporter country code (e.g., "RO")
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the destructive replacement behavior ('Replaces all line items with the provided array') and status limitations, which are the two most important behavioral traits. It does not state whether the update is reversible, whether a version/draft is created, or what response to expect, but given no output schema and no annotations, the disclosed constraints are valuable. Lacks mention of irreversible effects like losing existing line item references.

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?

Three short sentences, zero waste. Front-loads the purpose, then the critical status constraint, then the destructive line-replacement behavior. Every sentence earns its place with meaningful information.

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 42-parameter mutation tool with no annotations and no output schema, the description covers the essential semantics (update, status limits, line replacement) but omits some context: whether the note number/series is immutable after issue, consequences for already-issued notes, and any return value/confirmation. The complexity is high, and richer behavioral context (e.g., e-Transport field validation interplay with replacement) could be stated. Adequate but not comprehensive.

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 coverage is 100%, so every parameter is documented in the schema. The description highlights the crucial line-replacement semantic ('Replaces all line items with the provided array'), which is not evident from the schema alone. With full coverage, the baseline is 3 and the added 'replaces' note is useful context but doesn't go beyond the key semantic.

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?

States clear verb+resource ('Update an existing delivery note'), plus a critical behavioral constraint ('Delivery notes in draft or issued status can be updated') and the key replacing semantics ('Replaces all line items with the provided array'). Clearly distinguished from siblings like delivery_notes_create, delivery_notes_delete, delivery_notes_issue.

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?

Specifies status prerequisites (draft or issued). Does not explicitly contrast with delivery_notes_create for creating new notes vs updating existing, nor state when NOT to use this (e.g., issued notes requiring storno instead). The status constraint provides clear context but no explicit exclusions or named alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stornoro/storno-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server