Skip to main content
Glama

Delete a model's eBay variation draft

delete_ebay_variation_draft
Destructive

Delete a model's UNPUBLISHED eBay multi-variation draft: every variation's offer and the inventory item group are removed from eBay; the articles stay on the channel, ready for a new listing (together or one by one). A live listing is refused — end it with withdraw_ebay_variation_listing first. Refused until the workspace owner switches on AI publishing. Returns deleted. 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": "delete_ebay_variation_draft"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already flag destructive/non-idempotent/open-world, but the description adds genuinely new behavior: precisely what is destroyed on eBay, what survives on the channel, the refusal conditions, and the post-condition ('articles stay on the channel, ready for a new listing'). This is exactly the extra context annotations cannot carry.

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 the definitive action and effect, and nearly every clause carries operational weight. The trailing fragments ('Returns deleted. The result echoes the workspace.') are terse and slightly cryptic, costing a little clarity for the space they save.

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 one-parameter destructive tool with no output schema, the description covers scope, destruction semantics, surviving state, refusal conditions, prerequisites, and return behavior. Nothing an agent needs to invoke it safely is missing.

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 100% and the single parameter is already thoroughly documented (code/productGroupId or id, and how articles become variations). The description adds no syntax, format, or constraint beyond the schema, so the baseline 3 is appropriate.

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?

Specific verb (delete) plus a precisely bounded resource: an UNPUBLISHED eBay multi-variation draft, with the exact objects removed (variation offers and the inventory item group). It also carves a clear line against the sibling withdraw_ebay_variation_listing, so an agent can distinguish the two operations 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?

Explicit when-not plus routing: 'A live listing is refused — end it with withdraw_ebay_variation_listing first.' It also names a second precondition (workspace owner must enable AI publishing), giving the agent both the exclusion and the alternative tool.

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