Skip to main content
Glama
stornoro

Storno CLI

by stornoro

receipts_issue

Mark a receipt as issued at the point of sale, transitioning it from draft to issued status. Once issued, the receipt becomes read-only with locked fiscal data.

Instructions

Mark a receipt as issued at the point of sale. Transitions status from draft to issued. Once issued, the receipt becomes read-only and its fiscal data is locked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUUID of the receipt to mark as issued
companyIdNoCompany UUID (overrides configured default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It handles this well: it explicitly states the state transition, that issuance makes the receipt read-only, and that fiscal data becomes locked. This directly discloses mutations and consequential irreversible effects. It could add info about required permissions or errors on non-draft receipts, but the core behavioral contract is well covered.

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 sentences, zero filler. Each sentence earns its place: purpose, state transition, and irreversible consequence. Front-loaded with the primary action.

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-param, no-output-schema tool, the description covers the transition semantics and the irreversible consequences. The absence of an output schema means the return value isn't specified by structure, but for a state-transition tool the critical info (what happens, what locks) is present. It doesn't address error behavior on already-issued or draft-invalid receipts, which is a minor gap.

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 the schema documents both params ('UUID of the receipt to mark as issued' and 'Company UUID (overrides configured default)'). The description adds no additional param-level meaning beyond what the schema provides, so the baseline 3 applies. It doesn't elaborate on the companyId override semantics, but the schema already covers it.

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?

The description states a specific verb+resource+action: 'Mark a receipt as issued at the point of sale.' It clearly distinguishes from siblings like receipts_get, receipts_update, receipts_delete, receipts_cancel, receipts_refund, receipts_convert_to_invoice by naming the specific state transition (draft→issued).

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?

The description communicates the context (point of sale issuance, draft-to-issued transition) but does not explicitly state when not to use it or name alternative tools. With siblings like receipts_cancel, receipts_refund, and invoices_issue existing, explicit exclusions would help, but the draft-to-issued framing implies the precondition clearly.

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