Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

import_template

Read-onlyIdempotent

Downloads a base64-encoded CSV template with headers and example rows for a chosen import type, optionally using a platform or shop column layout, ready to fill and upload.

Instructions

Download a CSV template for a specific import type. Returns base64-encoded CSV with column headers and example rows that can be filled in and uploaded via import_upload. Pass source for a platform or shop template (uber, bolt, glovo, tazz, woocommerce, prestashop) to get the columns of that export instead of the generic ones.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "importType": "<importType>"
    },
    "name": "import_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoPlatform / shop whose column layout the template should use
companyIdNoCompany UUID override (uses active company if not set)
importTypeYesType of import to get template for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.60
    • changedInput schema / properties / importType / enum
      Previous value: -[
      -  "clients",
      -  "suppliers",
      -  "products",
      -  "invoices_issued",
      -  "invoices_received",
      -  "recurring_invoices",
      -  "platform_sales",
      -  "receipts"
      -]New value: +[
      +  "clients",
      +  "suppliers",
      +  "products",
      +  "invoices_issued",
      +  "invoices_received",
      +  "recurring_invoices",
      +  "platform_sales",
      +  "receipts",
      +  "payments"
      +]
  2. Changed1 schema field changedv1.0.59
    • changedInput schema / properties / importType / enum
      Previous value: -[
      -  "clients",
      -  "products",
      -  "invoices_issued",
      -  "invoices_received",
      -  "recurring_invoices",
      -  "platform_sales",
      -  "receipts"
      -]New value: +[
      +  "clients",
      +  "suppliers",
      +  "products",
      +  "invoices_issued",
      +  "invoices_received",
      +  "recurring_invoices",
      +  "platform_sales",
      +  "receipts"
      +]
  3. Changed2 schema fields changedv1.0.48
    • 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"
      +]
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "Platform / shop whose column layout the template should use",
      +  "enum": [
      +    "uber",
      +    "bolt",
      +    "glovo",
      +    "tazz",
      +    "woocommerce",
      +    "prestashop"
      +  ],
      +  "type": "string"
      +}
  4. First observedv1.0.17

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare a safe, read-only, idempotent, non-destructive local operation, so the bar is lower. The description still adds real value by disclosing the return payload shape: base64-encoded CSV with column headers and example rows, and that source swaps the column layout from generic to platform-specific.

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?

Three short sentences, front-loaded with the purpose, then the return format, then the parameter nuance. No filler or repetition of schema content.

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?

For a simple read-only, three-parameter tool with full schema coverage, the description covers purpose, return format, the upload handoff, and the source-parameter behavior. Nothing an agent needs to invoke it correctly is missing.

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, but the description goes beyond the schema by explaining what 'source' actually changes — it selects that platform's export column layout instead of the generic one, and lists the valid platforms. It says nothing extra about companyId, which the schema already documents.

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 and resource ('Download a CSV template for a specific import type') and immediately names the counterpart tool import_upload, so the agent can separate template retrieval from actual upload without opening either schema.

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?

Clear usage context: fetch a template, fill it in, then upload via import_upload, plus the condition for passing 'source'. It lacks an explicit exclusion (e.g. when not to use this vs import_mapping or import_preview), which keeps it just below the top score.

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