Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

einvoice_submit

Submit invoices to EU e-invoicing providers including ANAF, XRechnung, SDI, KSeF, and Factur-X. Generates country-specific XML and optionally sends it through configured APIs.

Instructions

Submit an invoice to an e-invoicing provider. Supports all EU providers: anaf (Romania e-Factura), xrechnung (Germany), sdi (Italy), ksef (Poland), facturx (France). For ANAF, uses the existing e-Factura submission flow. For other providers, generates country-specific XML and optionally submits via API if credentials are configured.

Input Schema

NameRequiredDescriptionDefault
uuidYesUUID of the invoice to submit
providerYesE-invoicing provider: anaf (Romania), xrechnung (Germany), sdi (Italy), ksef (Poland), facturx (France)
companyIdNoCompany UUID (uses default if not specified)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false; the description adds genuinely useful behavior beyond that: non-ANAF providers generate country-specific XML and only call the remote API if credentials are configured, which tells the agent the effect can be either local generation or an external irreversible submission. It does not cover failure modes, retry safety, or what is returned after a submission.

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?

Three sentences, front-loaded with the action, then the provider matrix, then the behavioral branch. Efficient and scannable; the only waste is the provider list being restated from the enum.

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 3-parameter mutation tool with no output schema, the description covers what is submitted, where it goes, and the conditional remote call, which is enough to call it correctly. Missing is the post-submission picture (does it return a submission id, is it tracked by einvoice_submissions) and any precondition on invoice state.

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 all three parameters (uuid, provider, companyId) are already documented, and the provider list in the description merely repeats the enum description. The description adds no meaning about the uuid's expected invoice state or what companyId defaulting entails, so the 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 specific verb and resource ("Submit an invoice to an e-invoicing provider") and enumerates the five supported providers with country mapping. It is clear what the tool does, though it never names the closest sibling (invoices_submit) to say how they differ, leaving the agent to infer the boundary.

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 provider list implies when to use it, and the sentence "For ANAF, uses the existing e-Factura submission flow" hints at a relationship to the ANAF tooling. But with siblings like invoices_submit, einvoice_providers and einvoice_config_test present, the description gives no explicit rule for choosing this tool over them and no stated prerequisites (e.g., must the invoice be issued first, must config exist?).

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