Skip to main content
Glama

Save a model's eBay variation listing

save_ebay_variation_listing
DestructiveIdempotent

Save a product model on eBay as ONE listing with variations — every active article of the model on the eBay channel is a variation (its own SKU, price and stock; buyers choose colour and size). Writes the inventory items, the inventory item group and each variation's offer; a draft stays unpublished. When the listing is already LIVE this updates it in place: new variations, prices and texts reach buyers at once, and articles that no longer qualify leave it. Returns status: blocked (with issues — reason, message, skus — and nothing written), saved (a draft on eBay) or published, plus marketplaceId, listingId, listingUrl, publishedAt, variationCount, failed (variations eBay refused, by sku — nothing is published while any) and removedSkus (articles that left the listing). A partial/uncertain publication returns reason ebayVariationReconciliationPending with retryable=true. Retry the same operation to check eBay first; never withdraw or delete to repair it. Confirmed recovery updates CRM links without publishing again. Needs listing creation armed on the eBay connection, and is refused until the workspace owner switches on AI publishing. Idempotent. The result echoes the workspace.

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": {
      "model": "<model>"
    },
    "name": "save_ebay_variation_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesThe product model: its code — the productGroupId get_product and search_products return for every article of it — or its id. Its active articles on the eBay channel become the listing's variations.
marketplaceIdNoeBay marketplace id (EBAY_IT, EBAY_DE…) for a FIRST save, when the connection sells on several. A saved listing keeps its marketplace; omit it then.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations: discloses exactly what is written (inventory items, item group, offers), what happens to a live listing (new variations and prices reach buyers at once, disqualified articles are removed), the full status taxonomy (blocked/saved/published/failed/removedSkus), and the partial-publication case with reason and retryable=true. The 'nothing written' / 'nothing published while any failed' guarantees are exactly the mutation semantics an agent needs.

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?

Purpose is front-loaded in the first clause and every sentence carries operational content. The dense parenthetical chaining ('blocked (with issues — reason, message, skus — and nothing written)') makes it harder to scan than it needs to be, but nothing is filler.

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?

With no output schema, the description fully covers the return shape (statuses, marketplaceId, listingId, listingUrl, publishedAt, variationCount, failed, removedSkus) and the reconciliation-pending edge case. Mutation scope, prerequisites and idempotency are all accounted for.

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 100%, so both parameters are already documented in structured form, and the description mostly restates the model-to-variations mapping. It adds no format or value guidance beyond the schema's own notes on productGroupId / id and marketplaceId handling.

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?

States a specific verb and resource: it saves a product model as ONE eBay listing with variations, spelling out that each active article becomes a variation with its own SKU/price/stock. The scope (model-level, not article-level) distinguishes it clearly from siblings like create_ebay_drafts and publish_ebay_variation_listing.

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

Usage Guidelines4/5

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

Gives concrete conditions: draft stays unpublished, a LIVE listing is updated in place, and retry is the prescribed repair path ('never withdraw or delete to repair it'). It also names prerequisites (listing creation armed on the connection, AI publishing enabled by the workspace owner). It stops short of naming the alternative tools (publish_ebay_variation_listing, withdraw_ebay_variation_listing) explicitly, so the routing is implied rather than stated.

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.

Resources