Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

importable_convert

Converts uploaded spreadsheets into Shopify-import-ready CSV/JSON for a chosen entity, optionally migrating WooCommerce, BigCommerce, or Magento product exports to Shopify columns.

Instructions

Use this when you need to convert an uploaded file into a Shopify-import-ready CSV/JSON for a named entity type.

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": {
      "entity": "<entity>",
      "workbook_handle": "<workbook_handle>"
    },
    "name": "importable_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityYesWhich Shopify entity to convert toward (e.g. "products"). Must be a registry-backed entity — call importable_entities for the valid set. An unknown value fails closed.
optionsNoReserved for future producer options.
filenameNoOriginal filename (optional; used in ledger prose).
source_platformNoOptional migration source platform. When set, a products file is treated as that platform’s export and migrated to Shopify columns before mapping (stateless, no store connection). Omit for a native Shopify file.
workbook_handleYes

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?

The annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered elsewhere. What the description omits is the behavior that matters most here: the annotation title calls this a dry-run that produces an import plan, but the description reads as if it performs a real conversion, and it says nothing about what is emitted, whether state is kept, or the fail-closed behavior on unknown entities.

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?

One front-loaded sentence with no filler and the usage trigger placed first. It is efficient, though its brevity edges toward under-specification rather than tightness.

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?

This is a five-parameter, nested-object tool with no output schema and a non-idempotent, open-world profile, so the description needed to carry more weight. It never states that the result is a plan rather than an executed import, nor how entity selection constrains the call. An agent could invoke it with correct parameters but a wrong expectation of the outcome.

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 coverage is 80%, so the schema already explains entity, source_platform, filename and workbook_handle in detail. The description only echoes "uploaded file" and "named entity type" without adding format, handle-origin, or options semantics. With the schema doing the heavy lifting, baseline 3 is appropriate.

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 sentence names a specific verb (convert) and both sides of the transformation: an uploaded file in, Shopify-import-ready CSV/JSON out, scoped to a named entity type. That is enough for an agent to recognize the job. It stops short of distinguishing this from siblings such as xlsx_convert or shopify_products_import, so it is clear but not disambiguating.

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 convert an uploaded file..." supplies a trigger condition, which is real but generic — any conversion tool could claim it. There is no when-not guidance, no mention of the entity-registry prerequisite beyond the parameter schema, and no routing to alternatives like xlsx_convert for spreadsheets or the entity-specific import tools.

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