Skip to main content
Glama

Set a product's eBay shipping policy

set_product_ebay_fulfillment_policy
DestructiveIdempotent

Choose the eBay shipping (fulfillment) policy of ONE product, or with fulfillmentPolicyId null return it to the connection default. A product with no eBay listing stores the choice for its next draft. A draft or LIVE listing has its eBay offer updated in place — no relisting — when listing writes are armed on the eBay connection, and the offer is then read back to confirm; with listing writes off a live listing is refused and a draft stores the choice for go-live. Per-service shipping cost overrides tied to the old policy are removed (droppedShippingCostOverrides). Returns productId, sku, offerId, marketplaceId, previousFulfillmentPolicyId, newFulfillmentPolicyId, status (updated, unchanged, saved, unverified, failed), verified and error — tell the user a listing changed only when status is updated. 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": {
      "fulfillmentPolicyId": "<fulfillmentPolicyId>",
      "productId": "<productId>"
    },
    "name": "set_product_ebay_fulfillment_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYesA product id returned by search_products.
marketplaceIdNoAn eBay MARKETPLACE id such as EBAY_IT — never the eBay connection id. Omit it when the eBay connection sells on one site; the server uses that one. Required when the connection sells on several, unless the product already has an eBay offer (its own site is then used).
fulfillmentPolicyIdYesA fulfillmentPolicyId from list_ebay_fulfillment_policies, for the same marketplace. null removes the product's own choice so the connection default (then eBay's first policy) applies.

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?

The description adds rich behavioral context beyond the annotations: it explains in-place offer updates without relisting, read-back verification, removal of per-service shipping cost overrides, and refusal until AI publishing is enabled. This complements annotations that already declare destructiveHint=true and idempotentHint=true, with no contradiction.

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?

The description is long but front-loads the core action and then layers necessary operational detail about listing states, preconditions, and result statuses. Every sentence carries substantive information, though the return-field list and status enumeration make it dense; it is appropriately sized for a mutating tool with conditional effects.

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?

Given the tool's complexity, lack of output schema, and destructive/open-world annotations, the description covers prerequisites (AI publishing switch), effects on different listing states, side effects (dropped overrides), verification behavior, and return status semantics. An agent has enough context to invoke and interpret results correctly.

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%, so the schema already documents all three parameters thoroughly, including the marketplaceId enum and fulfillmentPolicyId pattern/meaning. The description restates that fulfillmentPolicyId null returns to the connection default, which is already in the schema, and adds little parameter-specific syntax or format detail beyond that baseline.

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?

The description states a specific verb and resource: choosing the eBay shipping (fulfillment) policy of ONE product. It distinguishes the operation from siblings by scoping to a single product and noting the null value returns to the connection default, implicitly contrasting with bulk and default-policy tools. An agent can identify what the tool does without opening the schema.

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?

The description gives clear conditions: a product with no listing stores the choice for its next draft; a draft or LIVE listing is updated in place when listing writes are armed, otherwise refused or saved for go-live. However, it does not explicitly name alternative tools like bulk_set_ebay_fulfillment_policy or set_ebay_default_fulfillment_policy, leaving sibling routing implicit.

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