Skip to main content
Glama

Build a CSV of listing text fixes

listing_fix_sheet
Read-onlyIdempotent

Best for: "make me a sheet of what to fix in my catalog" or "write alt text for my images". Returns: a CSV of fixed titles and alt text to review and import, only the rows that change (URL handle, Title, Product image URL, Image position, Image alt text), 200 per call (next_offset for more), with counts per fix; no store is changed. Input tips: given a store address such as example.com, call it right away with domain, no CSV needed and no audit first; if the feed is refused, ask for the CSV. Send exactly one of csv or domain. Optional: fixes (alt_text, title_whitespace, title_caps) and alt_text_template. Errors: both_given, missing_source, csv_too_large, feed refusal. Not for: rewriting descriptions. To only list problems, use listing_text_audit.

Input Schema

NameRequiredDescriptionDefault
csvNoThe full text of a Shopify product CSV, header row first, such as "Title,URL handle,Description,Vendor,Price,...". Paste the file exported from Shopify admin (Products > Export) as it is. At most 2 MB; split a larger file by rows and repeat the header in each part. Example call: {"csv": "Title,URL handle,Price\nWool Beanie,wool-beanie,24.00"}
fixesNoWhich fixes to build, such as ["alt_text"]. alt_text: fill empty image alt text from the template. title_whitespace: trim and collapse spaces in titles. title_caps: rewrite all-capital titles in title case. Default: all three.
domainNoA store address such as example.com, sent instead of csv (send exactly one of the two). The store's public /products.json is read once (at most 5 pages of 250 products), after its robots.txt. Large stores often block it; then ask the user for the CSV. Example call: {"domain": "example.com"}
offsetNoRows to skip. Pass next_offset from the last answer, with the same source, fixes and template, for the next 200 rows.
alt_text_templateNoAlt text pattern, such as "{title} by {vendor}, view {position}". Placeholders: {title}, {vendor}, {type}, {position}; any other text is copied as written. Default "{title}".{title}

Output Schema

NameRequiredDescriptionDefault
csvYesRows to import: URL handle, Title, Product image URL, Image position, Image alt text. Only rows that change are included.
hostNoThe store host that was read, in domain mode only
rowsYesData rows in csv, header not counted, at most 200 per call
noticeYesFixed reminder to pass on: the sheet is advisory and nothing was changed in any store
sourceYesWhere the products came from: the csv text or the store's public feed (domain)
totalsYesFixes found before the sheet was cut to 200 rows
productsYesProducts found in the source
truncatedYesTrue when more rows would change past this sheet
next_offsetNoPresent while rows remain: call again with this offset and the same inputs for the next rows
feed_truncatedNoPresent and true when the store has more products than the 5 pages read

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Rows to skip. Pass next_offset from the last answer, with the same source, fixes and template, for the next 200 rows.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "description": "Present while rows remain: call again with this offset and the same inputs for the next rows",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / rows / description
      Previous value: -"Data rows in csv, header not counted"New value: +"Data rows in csv, header not counted, at most 200 per call"
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when more than 200 rows would change"New value: +"True when more rows would change past this sheet"
  2. Changed3 schema fields changed
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "csv"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "domain"
      +    ]
      +  }
      +]
    • changedInput schema / properties / csv / description
      Previous value: -"The full text of a Shopify product CSV, header row first, such as \"Title,URL handle,Description,Vendor,Price,...\". Paste the file exported from Shopify admin (Products > Export) as it is. At most 2 MB; split a larger file by rows and repeat the header in each part."New value: +"The full text of a Shopify product CSV, header row first, such as \"Title,URL handle,Description,Vendor,Price,...\". Paste the file exported from Shopify admin (Products > Export) as it is. At most 2 MB; split a larger file by rows and repeat the header in each part. Example call: {\"csv\": \"Title,URL handle,Price\\nWool Beanie,wool-beanie,24.00\"}"
    • changedInput schema / properties / domain / description
      Previous value: -"A store address such as example.com, sent instead of csv (send exactly one of the two). The store's public /products.json is read once (at most 5 pages of 250 products), after its robots.txt. Large stores often block it; then ask the user for the CSV."New value: +"A store address such as example.com, sent instead of csv (send exactly one of the two). The store's public /products.json is read once (at most 5 pages of 250 products), after its robots.txt. Large stores often block it; then ask the user for the CSV. Example call: {\"domain\": \"example.com\"}"
  3. Changed24 schema fields changed
    • addedInput schema / properties / alt_text_template / default
      Added value: +"{title}"
    • changedInput schema / properties / alt_text_template / description
      Previous value: -"Alt text pattern with {title}, {vendor}, {type} and {position} placeholders (default \"{title}\")"New value: +"Alt text pattern, such as \"{title} by {vendor}, view {position}\". Placeholders: {title}, {vendor}, {type}, {position}; any other text is copied as written. Default \"{title}\"."
    • changedInput schema / properties / csv / description
      Previous value: -"The product CSV text exactly as exported from Shopify, header row included. At most 2 MB."New value: +"The full text of a Shopify product CSV, header row first, such as \"Title,URL handle,Description,Vendor,Price,...\". Paste the file exported from Shopify admin (Products > Export) as it is. At most 2 MB; split a larger file by rows and repeat the header in each part."
    • changedInput schema / properties / domain / description
      Previous value: -"A store address such as example.com, instead of csv. The store's public /products.json is read once (at most 5 pages of 250 products), after its robots.txt. Large stores often block it."New value: +"A store address such as example.com, sent instead of csv (send exactly one of the two). The store's public /products.json is read once (at most 5 pages of 250 products), after its robots.txt. Large stores often block it; then ask the user for the CSV."
    • addedInput schema / properties / fixes / default
      Added value: +[
      +  "alt_text",
      +  "title_whitespace",
      +  "title_caps"
      +]
    • changedInput schema / properties / fixes / description
      Previous value: -"alt_text: fill empty image alt text from the template. title_whitespace: trim and collapse spaces in titles. title_caps: rewrite all-capital titles in title case. Default: all three."New value: +"Which fixes to build, such as [\"alt_text\"]. alt_text: fill empty image alt text from the template. title_whitespace: trim and collapse spaces in titles. title_caps: rewrite all-capital titles in title case. Default: all three."
    • changedOutput schema / properties / feed_truncated / description
      Previous value: -"True when the store has more products than the five pages read"New value: +"Present and true when the store has more products than the 5 pages read"
    • changedOutput schema / properties / host / description
      Previous value: -"The store read, in domain mode"New value: +"The store host that was read, in domain mode only"
    • addedOutput schema / properties / notice / description
      Added value: +"Fixed reminder to pass on: the sheet is advisory and nothing was changed in any store"
    • addedOutput schema / properties / products / description
      Added value: +"Products found in the source"
    • addedOutput schema / properties / products / minimum
      Added value: +0
    • addedOutput schema / properties / rows / description
      Added value: +"Data rows in csv, header not counted"
    • addedOutput schema / properties / rows / maximum
      Added value: +200
    • addedOutput schema / properties / rows / minimum
      Added value: +0
    • addedOutput schema / properties / source / description
      Added value: +"Where the products came from: the csv text or the store's public feed (domain)"
    • addedOutput schema / properties / totals / properties / alt_text / description
      Added value: +"Images given alt text"
    • addedOutput schema / properties / totals / properties / alt_text / minimum
      Added value: +0
    • addedOutput schema / properties / totals / properties / title_caps / description
      Added value: +"All-capital titles rewritten in title case"
    • addedOutput schema / properties / totals / properties / title_caps / minimum
      Added value: +0
    • addedOutput schema / properties / totals / properties / title_whitespace / description
      Added value: +"Titles with spaces trimmed"
    • addedOutput schema / properties / totals / properties / title_whitespace / minimum
      Added value: +0
    • addedOutput schema / properties / totals / required
      Added value: +[
      +  "alt_text",
      +  "title_whitespace",
      +  "title_caps"
      +]
    • addedOutput schema / properties / truncated / description
      Added value: +"True when more than 200 rows would change"
    • changedOutput schema / required
      Previous value: -[
      -  "source",
      -  "csv",
      -  "rows",
      -  "totals",
      -  "truncated",
      -  "notice"
      -]New value: +[
      +  "source",
      +  "products",
      +  "csv",
      +  "rows",
      +  "totals",
      +  "truncated",
      +  "notice"
      +]
  4. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/destructive/idempotent/openWorld, but the description adds real behavioral detail beyond them: no store is changed, only changed rows are returned, 200 rows per call with next_offset paging, and a specific per-fix count. It also discloses the feed limitation (robots.txt check, at most 5 pages of 250 products, large stores often block it) and enumerates error codes. The only gap is that a bit of the behavioral text is compressed into terse dotted fragments ("Errors: both_given, missing_source, csv_too_large, feed refusal") without explaining recovery beyond the feed case.

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?

Front-loaded with "Best for" and "Returns," then input tips, then a negative boundary — a sensible order for a calling agent. It is dense and telegraphic rather than wasted, though the quoted user utterances and the duplicated "send exactly one of csv or domain" instruction cost a little space.

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 five-parameter, branching-source tool with pagination, the description covers source choice, paging contract, failure modes, and the explicit no-side-effects guarantee. An output schema exists, so return formatting is already covered; the extra column list is harmless reinforcement rather than a load-bearing requirement.

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 baseline is 3, but the description earns more by adding selection logic the schema can't express well: prefer domain when a store address is given, fall back to csv on feed refusal, and keep offset/source/fixes/template stable across pages. It does restate "Send exactly one of csv or domain," which the schema's anyOf already encodes.

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?

The description names a concrete verb and artifact — a CSV of fixed titles and alt text — and enumerates the output columns (URL handle, Title, Product image URL, Image position, Image alt text). It also explicitly contrasts itself with the sibling listing_text_audit ("To only list problems, use listing_text_audit"), so an agent can select between them 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 Guidelines5/5

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

It gives explicit trigger phrases ("make me a sheet of what to fix in my catalog"), a negative boundary ("Not for: rewriting descriptions"), and a named alternative for the adjacent use case. The input tips even specify order of operations — call immediately with domain, ask for the CSV only if the feed is refused.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.