Skip to main content
Glama

Set eBay shipping policy for products

bulk_set_ebay_fulfillment_policy
DestructiveIdempotent

Choose one eBay shipping (fulfillment) policy — or null for the connection default — for up to 25 products on one eBay site, with the same per-product rules as set_product_ebay_fulfillment_policy: no listing stores the choice; a draft or live listing has its offer updated in place and read back. The policy is checked against eBay once before any product is touched, and a product whose listing lives on another eBay site fails with marketplaceMismatch instead of being moved. Returns results per product (status updated, unchanged, saved, unverified or failed with the eBay error), counts and notAttempted (not reached in the time budget — call again with those ids). 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>",
      "productIds": "<productIds>"
    },
    "name": "bulk_set_ebay_fulfillment_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdsYesThe products to change, at most 25 ids from search_products.
marketplaceIdNoThe eBay MARKETPLACE id the policy belongs to, such as EBAY_IT. Omit it when the eBay connection sells on one site. A product whose eBay offer lives on another site is reported as failed, never moved.
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.2/5.0
Behavior4/5

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

Annotations already cover the destructive/idempotent/open-world profile, but the description adds real context beyond them: the policy is validated against eBay once before any write, cross-marketplace listings fail with marketplaceMismatch rather than being moved, and writes are refused until the workspace owner enables AI publishing. It also documents partial-failure and time-budget semantics (notAttempted). No contradiction with annotations.

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?

A single dense paragraph that front-loads the core action and scope before the edge cases. Almost every clause earns its place (validation order, failure mode, auth gate, retry rule), though the density makes it slightly heavy for a 3-parameter tool.

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 supplies the return contract (per-product status of updated/unchanged/saved/unverified/failed plus counts and notAttempted) and the required auth prerequisite. Combined with the 100% schema coverage, an agent has everything needed to call and interpret this tool.

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 fulfillmentPolicyId, marketplaceId and productIds are already documented in the schema, including the null-means-default semantics and the 25-id cap. The description restates the maximum and the null behavior rather than adding new meaning, so baseline 3 applies.

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 with scope: set one eBay fulfillment policy on up to 25 products on one site. It explicitly names the sibling it mirrors (set_product_ebay_fulfillment_policy) and differentiates itself as the bulk variant, so an agent can route between them 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 Guidelines4/5

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

Gives clear operating conditions: one policy for many products, null reverts to the connection default, and notAttempted ids should be re-submitted. It does not explicitly state when to prefer this over the single-product sibling, leaving that inference to the agent, so it falls short of a full 5.

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