Skip to main content
Glama
stornoro

Storno CLI

Official
by stornoro

defaults_invoice

Read-onlyIdempotent

Fetch all required invoice defaults—VAT rates, currencies, payment terms, units, payment methods, and BNR exchange rates—before creating invoices to avoid hardcoding values.

Instructions

Get all default values and dropdown options needed for invoice creation. Returns VAT rates, currencies with symbols, payment terms (in days), units of measure, payment methods, and current BNR exchange rates for EUR/USD/GBP/CHF relative to RON. Always fetch this before creating invoices — never hardcode these values.

Input Schema

NameRequiredDescriptionDefault
companyIdNoCompany UUID override (uses active company if not set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.28

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety profile is covered. The description adds useful context beyond annotations: the exact data domains returned and the BNR exchange-rate source, which matters for invoice correctness.

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?

Two tight sentences: purpose and returned contents front-loaded, then the usage directive. Every clause carries information; 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?

Although there is no output schema, the description enumerates the returned value categories in enough detail that an agent knows what to expect. Combined with annotations and full schema coverage, nothing material is missing.

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 companyId override is already documented in the schema. The description adds no additional parameter semantics, which is acceptable at baseline 3.

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 a specific verb+resource (get default values and dropdown options for invoice creation) and enumerates exactly what comes back (VAT rates, currencies, payment terms, units, methods, BNR rates). Clearly distinct from siblings like vat_rates_list or exchange_rates_list, which return single data sets.

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?

Gives an explicit directive: 'Always fetch this before creating invoices — never hardcode these values.' That establishes the when and a strong anti-pattern, though it does not name alternative tools for individual value sets.

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