Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

import_upload

Upload a CSV, XLSX, XML, or ZIP file with the required import type and source to create a Storno import job and receive preview data.

Instructions

Upload a file (CSV, XLSX, XML, or ZIP) to start a new import job. Requires importType (clients, products, invoices_issued, invoices_received, recurring_invoices, platform_sales, receipts) and source (smartbill, saga, oblio, fgo, facturis_online, easybill, ciel, factureaza, facturare_pro, icefact, bolt, facturis, emag, uber, glovo, tazz, woocommerce, prestashop, cash_register, generic). Platform statements (uber, bolt, glovo, tazz) use importType platform_sales and become one sales invoice to the platform plus the commission purchase invoice per group; shop exports (woocommerce, prestashop) use invoices_issued; the A4200 XML or a ZIP of a month exported by a fiscal cash register uses source cash_register with importType receipts. Returns the created import job with preview data.

Input Schema

NameRequiredDescriptionDefault
sourceYesSource application the file was exported from
filePathYesAbsolute path to the file to upload (CSV, XLSX, XML, or a ZIP of A4200 XML files)
companyIdNoCompany UUID override (uses active company if not set)
importTypeYesType of data being imported

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.48
    • changedInput schema / properties / filePath / description
      Previous value: -"Absolute path to the file to upload (CSV, XLSX, or XML)"New value: +"Absolute path to the file to upload (CSV, XLSX, XML, or a ZIP of A4200 XML files)"
    • changedInput schema / properties / importType / enum
      Previous value: -[
      -  "clients",
      -  "products",
      -  "invoices_issued",
      -  "invoices_received",
      -  "recurring_invoices"
      -]New value: +[
      +  "clients",
      +  "products",
      +  "invoices_issued",
      +  "invoices_received",
      +  "recurring_invoices",
      +  "platform_sales",
      +  "receipts"
      +]
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "smartbill",
      -  "saga",
      -  "oblio",
      -  "fgo",
      -  "facturis_online",
      -  "easybill",
      -  "ciel",
      -  "factureaza",
      -  "facturare_pro",
      -  "icefact",
      -  "bolt",
      -  "facturis",
      -  "emag",
      -  "generic"
      -]New value: +[
      +  "smartbill",
      +  "saga",
      +  "oblio",
      +  "fgo",
      +  "facturis_online",
      +  "easybill",
      +  "ciel",
      +  "factureaza",
      +  "facturare_pro",
      +  "icefact",
      +  "bolt",
      +  "facturis",
      +  "emag",
      +  "uber",
      +  "glovo",
      +  "tazz",
      +  "woocommerce",
      +  "prestashop",
      +  "cash_register",
      +  "generic"
      +]
  2. First observedv1.0.17

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the mutation profile is known at baseline. The description adds real value by noting 'start a new import job' and 'Returns the created import job with preview data', implying data is staged rather than applied. However it does not say whether re-uploading the same file creates a duplicate job, or what privileges/company scoping are needed.

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?

Front-loaded with the action and accepted formats, then the domain rules. The exhaustive enum recitations in parentheses duplicate schema data and pad the text, but every clause carries mapping guidance that is not otherwise available.

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 4-parameter tool with full schema coverage and no output schema, the description covers inputs, accepted file types and the return value. It omits the natural follow-on steps (mapping/preview/execute) and file size or validation constraints, which an agent orchestrating an import would want.

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 description coverage is 100%, so baseline is 3; the description goes beyond the schema by mapping domain sources to the correct importType, which the flat enums cannot convey. The long enumerated lists largely restate the schema enums, keeping this short of a 5.

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 ('Upload a file ... to start a new import job') plus the accepted formats, so the agent knows exactly what the tool does. It doesn't name sibling tools (import_preview, import_mapping, import_execute), so the boundary with them is only implied by 'start a new import job'.

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 concrete when-to-use conditions for parameter combinations: platform statements (uber, bolt, glovo, tazz) require importType platform_sales; shop exports require invoices_issued; A4200 XML or a cash-register ZIP requires source cash_register with importType receipts. No explicit exclusions against alternative import tools, and no statement that this only creates a job while import_execute applies it.

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