Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

shopify_ebay_feed

Idempotent

Converts a Shopify product export CSV into an eBay File Exchange feed CSV by applying category mappings and listing options for upload.

Instructions

Use this when you need to produce an eBay File Exchange feed CSV.

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": {
      "category_map": "<category_map>",
      "options": "<options>"
    },
    "name": "shopify_ebay_feed"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoThe spreadsheet file, handed off by a host that fills in the OpenAI file-parameter convention (openai/fileParams) from an uploaded or attached file. The server downloads download_url once, server-side; never a local sandbox path.
optionsYes
file_b64NoBase64-encoded Shopify native products export CSV. Send exactly one file source: file_b64 (this field), file_url, file_handle, or file_text together with file_name.
file_urlNohttps URL of the spreadsheet file (e.g. a shared Google Drive, Google Sheets, Dropbox, OneDrive or S3 link; must be viewable by anyone with the link). The server downloads it directly. Provide this OR file_handle.
file_nameNoFile name with its extension (.csv, .tsv or .json), used with file_text.
file_textNoUse only for a small CSV, TSV or JSON file whose full text you already have. Practical limit about 2,000 cells or 40 KB (the server hard cap is 256 KB); above that use file_url, or xlsx_upload_link and file_handle. Requires file_name. Never encode or retype a binary file by hand. Provide this OR file_url OR file_handle.
file_handleNoHandle returned by xlsx_upload_link, once the user has uploaded the spreadsheet file on that page. Use this when the user attached the file in chat or has no link. Provide this OR file_url.
file_sha256NoHex SHA-256 of the exact file_text UTF-8 text. Optional; checked when given.
category_mapYesShopify Type/Product Category → eBay numeric IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true and destructiveHint=false, so the description's job is to add context beyond that. It adds nothing: no mention of the server-side file download, the exactly-one-file-source rule, the handling of category_map, or what the produced feed looks like. With the annotations carrying the safety profile, this is a plain gap rather than a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, so it is structurally clean. However, that brevity comes from under-specification rather than discipline, so it earns only a middling score for conciseness.

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 complex tool with nine parameters, nested objects, mutually exclusive file sources and required category_map and options, and there is no output schema. The description covers none of that operational complexity, so an agent must read the whole schema to call it correctly.

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 89%, well above the 80% threshold, so the schema already documents the nine parameters including the file-source alternatives and the category_map structure. The description adds no parameter meaning of its own, but the baseline of 3 applies when the schema does the heavy lifting.

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 gives a specific verb ('produce') and a specific resource ('eBay File Exchange feed CSV'), and naming eBay implicitly separates it from the amazon/google/ups feed siblings. It stops short of explicitly contrasting with those siblings, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is 'Use this when you need to produce an eBay File Exchange feed CSV,' which just restates the purpose rather than giving real selection criteria. It never names alternatives such as shopify_amazon_feed or shopify_google_feed, and gives no when-not conditions or prerequisites.

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