Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

printify_catalog_import

DestructiveIdempotent

Generate a Shopify products import CSV from a base64-encoded Printify catalog snapshot, applying a fallback retail markup when a variant lacks a Printify price.

Instructions

Use this when you need to produce a Shopify products import CSV from the Printify 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": "printify_catalog_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoOutput filename stem (optional).
snapshot_b64YesBase64-encoded Printify catalog snapshot JSON (from printify_catalog_pull).
markup_multiplierNoFallback retail markup applied to cost only when a variant has no Printify price (default 2.0; must be > 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

B3.1/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and openWorldHint=true, yet the description says nothing about what file is written, where it lands, or what an existing file with the same name would be overwritten. For a tool flagged destructive, the absence of any 'this writes/overwrites a CSV at X' statement is a real gap. It does not contradict the annotations, but it adds almost no behavior beyond them.

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 zero filler; the trigger condition leads and the output artifact follows. It is efficient, though its brevity borders on under-specification rather than true economy.

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

Completeness2/5

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

With no output schema and a destructive write hint, the description should say where the CSV is produced and whether it replaces an existing file. It also omits the pipeline dependency on printify_catalog_pull, leaving the agent to discover the prerequisite from the parameter schema alone.

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%, so all three parameters (filename, snapshot_b64, markup_multiplier) are already documented in the schema, including the default and constraint on markup_multiplier. The description adds no extra meaning such as filename collision behavior or expected snapshot size, 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?

The description names a specific verb and artifact ('produce a Shopify products import CSV') and a specific source ('from the Printify catalog'), which distinguishes it from the printful_catalog_import counterpart and from shopify_products_import. It does not explicitly contrast with any sibling, so it stops short of a 5.

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 'Use this when...' framing gives one positive trigger condition, which is more than nothing. It offers no when-not guidance, no mention that printify_catalog_pull must run first (that link exists only in the schema), and no routing to alternatives such as shopify_products_import or printful_catalog_import.

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