Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

printful_catalog_import

DestructiveIdempotent

Converts a Base64 Printful catalog snapshot into a Shopify products import CSV, applying an optional retail markup multiplier and output filename. Use it to prepare catalog data for Shopify upload.

Instructions

Use this when you need to produce a Shopify products import CSV from the Printful catalog.

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": {
      "snapshot_b64": "<snapshot_b64>"
    },
    "name": "printful_catalog_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoOutput filename stem (optional).
snapshot_b64YesBase64-encoded Printful catalog snapshot JSON (from printful_catalog_pull).
markup_multiplierNoRetail markup applied to Printful cost for Variant Price (default 2.0; must be > 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true; the description adds no behavioral context beyond a restatement of the output. Most notably it never explains the destructive aspect implied by destructiveHint — whether an existing file with the same filename stem is overwritten — nor any size or rate constraints on the import.

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?

A single, front-loaded sentence with no filler or repetition. It is efficient, though very terse given the tool's mutation semantics, so brevity edges toward under-specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only three parameters and full schema coverage, the core invocation is understandable, but there is no output schema and the description never states what the call returns (a file path? the CSV body?) or how a large catalog is handled. For a tool that writes an output artifact, that return-value gap is the main missing piece.

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 description coverage is 100%, including the default and constraint (must be > 0) for markup_multiplier, so the schema carries parameter meaning fully. The description itself contributes no additional parameter guidance, which is the expected baseline of 3 when the schema is complete.

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?

The description names a concrete verb ('produce') and a concrete artifact ('Shopify products import CSV') sourced from a specific input ('the Printful catalog'), so an agent can tell what it gets back. It does not explicitly contrast with printify_catalog_import or shopify_products_import, leaving sibling differentiation to the names alone.

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?

'Use this when you need to produce a Shopify products import CSV from the Printful catalog' gives a clear triggering condition, but offers no when-not guidance, no prerequisites (e.g. that a snapshot must first come from printful_catalog_pull), and no exclusions against the printify/shopify import siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.