Skip to main content
Glama

ebay_update_promotional_shipping_rule

Idempotent

Update an existing promotional combined-shipping rule by adjusting thresholds, item counts, shipping costs, or combined duration. Use it to keep eBay promotions aligned with fulfillment.

Instructions

Update the existing promotional combined-shipping rule: thresholds, item count, shipping cost, and/or combinedDuration (Account API v2 updatePromotionalShippingRule). marketplaceId is sent as the required X-EBAY-C-MARKETPLACE-ID header. Returns success (eBay 204 No Content); confirm with ebay_get_combined_shipping_rules. Requires sell.account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketplaceIdYeseBay marketplace sent as the required X-EBAY-C-MARKETPLACE-ID header, e.g. EBAY_US
shippingRulesYesCreate/UpdatePromotionalShippingRuleRequest body

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.18.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal a non-read-only, idempotent write, so the bar is lower. The description adds useful context beyond them: the mutation returns 204 No Content (so no body to parse) and requires the sell.account scope, both of which matter for a write call.

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 action and mutable fields, followed by the header, return, and auth facts in compact form. Dense with no filler, though the parenthetical API reference is mildly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation with no output schema, the description covers what an agent needs: the mutable scope, required scope, marketplace header handling, and a verification path. Return behavior is addressed via the 204 note, leaving only granular field semantics to the (complete) schema.

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 nested fields, enums, and the marketplaceId header are already fully documented structurally. The description restates the updatable fields at a high level without adding syntax or format detail beyond the schema, matching the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Update) and resource (existing promotional combined-shipping rule) and enumerates the mutable fields (thresholds, item count, shipping cost, combinedDuration). 'Existing' implicitly separates it from ebay_create_promotional_shipping_rule, though it never names that sibling.

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 context: update (not create) an existing rule, requires the sell.account scope, and directs the agent to ebay_get_combined_shipping_rules to confirm the result. No explicit when-not-to-use note or named alternative for other rule types, but the operating context is well specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools