Skip to main content
Glama

Set the default eBay shipping policy

set_ebay_default_fulfillment_policy
DestructiveIdempotent

Set the eBay connection's default shipping (fulfillment) policy for one eBay site, or null to remove it. Products without their own choice carry it in every new draft and when a draft goes live; LIVE listings keep the policy they have — change those with bulk_set_ebay_fulfillment_policy. The policy is checked against eBay's live list first; with no default, listings use the first policy eBay returns. Returns marketplaceId, previousFulfillmentPolicyId, fulfillmentPolicyId and the policy. 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>"
    },
    "name": "set_ebay_default_fulfillment_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketplaceIdNoAn eBay MARKETPLACE id such as EBAY_IT. Omit it when the eBay connection sells on one site.
fulfillmentPolicyIdYesA fulfillmentPolicyId from list_ebay_fulfillment_policies, for the same marketplace. null removes the default: listings without their own choice then use the first policy eBay returns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotency, open-world reach and destructiveness; the description reinforces idempotency and adds real context — validation against eBay's live policy list, the fallback to eBay's first-returned policy when no default exists, and the auth gate. It does not, however, explain in what sense the operation is 'destructive' beyond the implicit removal via null, leaving some ambiguity against destructiveHint=true.

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-loads purpose, then behavior, sibling routing, prerequisite, idempotency and return shape in tight semicolon-joined clauses with no filler. It is dense and slightly packed, but every sentence carries information relevant to invoking the tool correctly.

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 usefully enumerates the returned fields (marketplaceId, previousFulfillmentPolicyId, fulfillmentPolicyId, policy), and it covers prerequisites, side effects on drafts vs. live listings, and the alternative tool. Nothing an agent needs to call it correctly 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%, so the schema already documents the null-removal semantics, the marketplaceId omission rule and the enum. The description restates that null strips the default and that a missing default falls back to eBay's first policy, adding only marginal meaning over the structured fields.

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 (set) and resource (the eBay connection's default shipping/fulfillment policy) scoped to one eBay site, and explicitly covers the null-removal case. It names the sibling that handles the adjacent job (bulk_set_ebay_fulfillment_policy for LIVE listings), so an agent can distinguish it without opening schemas.

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?

Explains exactly when the setting takes effect (products without their own choice in new drafts and on go-live) and when it does not (LIVE listings keep their current policy), routing that case to bulk_set_ebay_fulfillment_policy. It also states a hard precondition: refused until the workspace owner enables AI publishing.

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