Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

delivery_notes_restore

Idempotent

Restore a cancelled delivery note to draft status to reverse its cancellation and allow re-issuance; only cancelled notes can be restored.

Instructions

Restore a cancelled delivery note back to draft status. Only cancelled delivery notes can be restored. This reverses the cancellation and allows the delivery note to be re-issued.

Input Schema

NameRequiredDescriptionDefault
uuidYesUUID of the cancelled delivery note to restore
companyIdNoCompany UUID (overrides configured default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds real state-transition semantics that annotations cannot convey: the source state (cancelled), the target state (draft), and the follow-on capability (re-issuing). It stops short of describing error behavior or permissions.

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?

Three short sentences, front-loaded with the action and result. The precondition and the 're-issued' rationale each earn their place; no filler.

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 two-parameter mutation with full schema coverage and a complete annotation set, the description supplies purpose, precondition, and state effect. Missing only edge-case behavior (what happens if the note is not cancelled) and return information, which are minor here.

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 uuid and companyId are already documented. The description only implies the uuid refers to a cancelled note and adds nothing about the companyId override or identifier format; baseline 3 is appropriate.

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 and resource ('Restore a cancelled delivery note') plus the resulting state ('back to draft status'). It is clearly distinct from siblings like delivery_notes_cancel or delivery_notes_storno, though it never names those alternatives explicitly.

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?

'Only cancelled delivery notes can be restored' gives a concrete precondition for when the tool applies. It does not route to alternatives (e.g. use cancel for the inverse, or storno for other reversals), so the guidance is clear but not exhaustive.

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