Skip to main content
Glama
stornoro

Storno CLI

by stornoro

import_upload

Upload a CSV, XLSX, XML, or ZIP file to start an import job for clients, products, invoices, platform sales, or receipts. Specify the import type and source app to create the 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

TableJSON 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

A4.3/5.0
Behavior4/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 disclosure. It explains domain-specific side effects, such as platform statements becoming one sales invoice plus a commission purchase invoice, and states that the tool returns the created job with preview data. It doesn't mention asynchronous processing or error behavior, but it covers the most important behavioral aspects.

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?

The description is dense but efficient: three sentences that front-load the core action, then layer in required enums Interest and special-case mappings. The long enum lists are necessary for clarity, and every sentence contributes new information. It's appropriately sized, though slightly long due to the enumeration.

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?

The description covers file formats, required parameters, special combination rules, and the return value (job with preview data). Given that there is no output schema and no annotations, this is reasonably complete. Missing details include async behavior and explicit error conditions, which would take it from strong to exhaustive.

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?

The schema already documents all four parameters with 100% coverage, so the baseline is 3. The description adds real value by explaining how source and importType interact — e.g., platform_sales for uber/bolt/glovo/tazz and receipts for cash_register — which is not inferable from schema alone.

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 opens with a specific verb and resource — 'Upload a file ... to start a new import job' — and immediately differentiates from sibling import tools like import_preview or import_execute. It also lists accepted file formats and the two required parameters, so there is no ambiguity about the tool's core function.

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?

The description provides concrete routing rules for platform statements, shop exports, and fiscal cash register files, telling the agent exactly which importType/source combinations to use in those cases. It doesn't explicitly name alternative sibling tools or say when not to use this tool, but the guidance is strong and practical.

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