Skip to main content
Glama

Publish eBay drafts

publish_ebay_drafts
Destructive

Make the eBay DRAFT offers of up to 25 products LIVE and buyer-visible — a real publication on the seller's account. The item and offer are refreshed from the current product first, so a price, title, photo or characteristic fixed after the draft was made is published too. Pass only products whose nextAction from inspect_ebay_listings is publish_draft. Returns done, failed (with reasons) and notAttempted. Never tell the user a listing is live unless it is counted in done. Refused until the owner switches on AI publishing. 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": {
      "productIds": "<productIds>"
    },
    "name": "publish_ebay_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdsYesMake each product's eBay DRAFT offer LIVE and buyer-visible, at most 25 ids fetched with search_products. The item and offer are refreshed from current product data first, then published — this is a real, consequential publication, not a preview. Report every named per-product failure.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already carry destructive=true and non-idempotent, and the description adds real behavior beyond them: the item and offer are refreshed from current product data before publishing, the batch is capped at 25, partial failure is expected and must be reported per product, and the tool refuses until an account setting is enabled. The warning 'never tell the user a listing is live unless it is counted in done' captures a critical side-effect nuance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences, front-loaded with the consequential action and capped by the precondition and the failure-reporting rule. No sentence is filler; each adds an operational constraint.

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?

No output schema exists, but the description describes the return shape (done, failed with reasons, notAttempted) and the workspace echo, so the agent knows what it will receive. For a destructive, non-idempotent batch publish, nothing material is missing.

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% and the single parameter is fully documented in-schema, so the baseline would be 3. The description adds useful framing the schema does not: that ids must be fetched with search_products, that this is a real consequential publication rather than a preview, and that per-product failures must be reported by name.

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+resource+scope: makes eBay DRAFT offers LIVE and buyer-visible, with the consequential nature stated. It is plainly distinguishable from create_ebay_drafts, recreate_ebay_drafts and withdraw_ebay_listings, which occupy adjacent slots in the sibling list.

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 precondition routing: 'Pass only products whose nextAction from inspect_ebay_listings is publish_draft' names the deciding sibling and the exact field that selects it. It also states a blocking condition ('refused until the owner switches on AI publishing'), which is a genuine when-not.

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