Skip to main content
Glama
stornoro

Storno CLI

by stornoro

client_statement

Generate a client statement with unpaid invoices, aging bands, totals, and bank accounts for a specific date.

Instructions

Customer statement (situație clienți) for one client: the unpaid outgoing invoices as of a date (number, issue/due date, total, paid, outstanding, days overdue), totals, the client balance and the outstanding amount split into aging bands (current, 1–30, 31–60, 61–90, 91–120, 121–180, over 180 days overdue), plus the company bank accounts. Storno/credit documents are listed as credits and reduce the balance; invoices in other currencies than the company default are listed but summarised separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfNoReference date (YYYY-MM-DD). Invoices issued after it are ignored and days overdue are counted up to it. Default: today.
uuidYesClient UUID
companyIdNoCompany UUID override (uses active company if not set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.48

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral transparency, and it does so thoroughly. It explains the as-of date semantics, storno/credit documents reducing the balance, and special handling of foreign-currency invoices, which are meaningful behavioral details beyond the input schema.

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?

The description is dense but every clause adds value: core statement content, aging bands, balance, bank accounts, storno handling, and currency treatment. It is front-loaded with the core purpose and contains no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema, the description thoroughly explains what the tool returns, including invoice fields, aging categories, balance effects, and currency handling. The required parameter is covered by the schema, and no essential behavior is missing for correct invocation.

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 the schema already documents all three parameters. The description reinforces the as-of date concept but adds no new parameter-level meaning beyond what the schema provides.

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 clearly identifies the tool as producing a customer statement for a single client, listing unpaid invoices, aging bands, balances, and bank accounts. It is specific and informative, but it lacks an explicit verb like 'returns' or 'generates' and does not explicitly differentiate itself from the sibling 'client_statements' tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives such as client_statements or client_statement_email. The description focuses entirely on output content, leaving the agent to infer the appropriate context.

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