Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHOPEEAM_WORKDIRNoExisting folder used as the working directory for template-based operations. Paths used by the tools are relative to this folder; external paths, `..` traversal, links pointing outside the folder, and overwriting the original template are rejected.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Prepare local Shopee drafts with one product per product_id and a complete Color x Size grid. Without template_path, validate_rows and build_listings use draft-v1 product rows. With template_path, validate_rows takes Excel column/value rows; build_listings maps draft-v1 products into those rows and can write output_path. inspect_template reads the verified basic template; fill_workbook writes validated column/value rows to a new XLSX. Paths are confined to SHOPEEAM_WORKDIR. No upload, authentication or publication. Category attributes and fiscal/shipping applicability require seller review.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
inspect_templateB

Read columns, constraints and options of the verified Shopee basic template.

validate_rowsB

With template_path validate Excel column rows; otherwise validate draft-v1 products.

build_listingsC

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

fill_workbookC

Write column/value rows to a new local XLSX, preserving the empty template.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 4 tools

Disambiguation3/5

The pipeline order (inspect → validate → build → fill) is discernible, but validate_rows and build_listings each have dual modes (Excel rows vs draft-v1 products; preview vs map/write) that are only explained in prose. build_listings' optional XLSX output overlaps with fill_workbook, so an agent may hesitate between them when writing a file.

Naming Consistency5/5

All four names follow a consistent snake_case verb_noun pattern: inspect_template, validate_rows, build_listings, fill_workbook. The verbs (inspect/validate/build/fill) are distinct and predictable.

Tool Count4/5

Four tools is a tight, purpose-fit set for a template → validate → build → write workflow; nothing seems redundant enough to cut. It is slightly thin, and some tools absorb multiple responsibilities (dual modes) rather than adding a fifth tool, which costs clarity.

Completeness4/5

The surface covers reading the template, validating data, building listings, and writing output XLSX, which is the core lifecycle for this domain. Minor gaps exist: no tool to read/verify an already-written workbook or parse an existing filled sheet, and no explicit way to inspect draft-v1 products independently.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues