Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

payments_receipt_pdf

Read-onlyIdempotent

Download the A5 landscape PDF receipt (chitanță) issued for a cash payment, including company, payer, amount in figures and words, settled invoice, and payment date.

Instructions

Download the PDF of the chitanță issued for a cash payment (see payments_receipt_issue). A5 landscape: company, payer, amount in figures and in words, the invoice it settles, the payment date.

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany UUID override (uses active company if not set)
invoiceIdYesInvoice UUID
paymentIdYesPayment UUID with a receipt issued

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.57

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered elsewhere. The description contributes what the document actually contains (company, payer, amount in figures and words, settled invoice, payment date) and its A5 landscape format, which is genuinely useful, but says nothing about delivery form (binary stream vs. link), permissions, or the error case of a payment without an issued receipt.

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?

Two compact sentences, front-loaded with the action and resource, with the document contents following as supporting detail. No filler or restated title; the only mild inefficiency is that the content list is optional context rather than operational guidance.

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?

There is no output schema, so the description usefully compensates by describing the generated document's layout and data fields, which is the main thing an agent would otherwise lack. The remaining gap is that it doesn't state the returned representation (PDF bytes/base64/file URL), which matters when no output schema exists.

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 three parameters are already documented in the schema. The description reinforces that this applies only to cash payments (relevant to paymentId) and identifies invoiceId as the settled invoice, but adds no syntax, format, or defaulting guidance beyond the schema — baseline 3 applies.

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 concrete verb+resource ("Download the PDF of the chitanță issued for a cash payment") and scopes it to cash receipts, cross-referencing the issuing tool payments_receipt_issue. It stops short of distinguishing itself from the separate receipts_pdf / receipts_* family in the sibling list, which an agent could confuse with this one.

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 parenthetical "(see payments_receipt_issue)" implies the receipt must be issued before the PDF can be downloaded, and "for a cash payment" narrows the applicable case. However there is no explicit when-to-use statement, no rejection of alternatives (e.g. receipts_pdf, invoices_pdf), and no stated behavior when no receipt has been issued.

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