Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

vat_rates_create

Create a VAT rate for the active company, optionally set it as default, and demote any existing default rate; a first rate becomes default automatically.

Instructions

Create a new VAT rate for the active company. If isDefault is true, any existing default rate is demoted. If this is the first VAT rate, it automatically becomes the default. Common e-Factura category codes: S=standard, AA=reduced, E=exempt, O=outside scope, Z=zero rated, AE=reverse charge.

Input Schema

NameRequiredDescriptionDefault
rateYesVAT percentage (e.g., 19 for 19%, 0 for exempt)
labelYesDisplay label shown in dropdowns (e.g., "TVA 19%", "Scutit")
positionNoDisplay order position in dropdowns (lower = first). Auto-assigned if not provided.
companyIdNoCompany UUID override (uses active company if not set)
isDefaultNoSet this as the default VAT rate for new invoice lines (default: false)
categoryCodeNoe-Factura category code (default: "S"). Options: S, Z, E, AE, K, L, O, M

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover readOnlyHint=false, idempotentHint=false, and destructiveHint=false. The description adds meaningful behavioral context beyond annotations: setting isDefault demotes the existing default, and the first VAT rate automatically becomes default. It does not mention duplicate handling or side effects on existing invoice lines, so not a 5.

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 four sentences, front-loaded with the core action, and every sentence adds useful information about defaults or category codes. There is no redundant or filler text.

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 create mutation with full schema coverage and annotations, the description supplies the key behavioral details: default demotion and automatic first-rate defaulting. It could mention whether duplicate rates are allowed or how companyId override interacts with the active company, but the essentials are covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds real meaning for categoryCode by explaining common e-Factura codes and clarifies the isDefault side effect. A minor inconsistency exists: it lists AA=reduced, which is not in the schema's option list (S, Z, E, AE, K, L, O, M), and omits K, L, M.

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 and resource: 'Create a new VAT rate for the active company.' It clearly distinguishes creation from sibling tools like vat_rates_update, vat_rates_delete, and vat_rates_list.

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 purpose implies when to use the tool, but there is no explicit guidance on when to choose it over vat_rates_update or vat_category_codes_list. No alternatives or exclusions are named.

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