Skip to main content
Glama

build_listings

Destructive

Validates product rows and generates or previews Shopee bulk-ad Excel spreadsheets from the official basic template, optionally writing XLSX while preserving variants and GTINs.

Instructions

Preview draft-v1 products, or map to the basic template and optionally write XLSX.

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": {
      "rows": "<rows>"
    },
    "name": "build_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes
overwriteNo
output_pathNo
template_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description should clarify what may be overwritten or destroyed. It only hints that XLSX may optionally be written and does not explain overwrite behavior, side effects, or the meaning of preview vs. write mode.

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?

The single sentence is concise and front-loads the main action, but the either/or structure and undefined terms like 'draft-v1 products' and 'basic template' make it harder to parse than necessary.

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 destructive mutation tool with four parameters and 0% schema description coverage, yet the description is only one vague sentence. The output schema covers return values, but the input behavior, overwrite semantics, and mode selection are not explained enough for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for four undocumented parameters. It loosely implies that rows are draft-v1 products, template_path is a basic template, and output_path is XLSX, but it never explains the overwrite flag, required rows structure, or how the parameters interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names actions (preview, map, write XLSX) and domain objects (draft-v1 products, basic template), but the either/or framing is vague and does not clearly distinguish this tool from siblings like fill_workbook or validate_rows. An agent can infer the general area but not a precise single purpose.

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?

It mentions two possible modes (preview vs. map/write) but gives no explicit when-to-use guidance, prerequisites, or exclusions. No sibling alternatives are named, so the agent must guess which tool is appropriate.

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