Skip to main content
Glama

ebay_create_or_replace_inventory_item

Create or replace eBay inventory items by providing SKU and complete product, condition, and availability details. Update or add listings directly.

Instructions

Create or replace an inventory item.

Required OAuth Scope: sell.inventory Minimum Scope: https://api.ebay.com/oauth/api_scope/sell.inventory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYesThe seller-defined SKU
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.16.0
    • addedInput schema / properties / body / additionalProperties
      Added value: +false
    • removedInput schema / properties / body / description
      Removed value: -"Generated InventoryItem request body"
    • addedInput schema / properties / body / properties
      Added value: +{
      +  "availability": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "shipToLocationAvailability": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "availabilityDistributions": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "fulfillmentTime": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "unit": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "merchantLocationKey": {
      +                  "type": "string"
      +                },
      +                "quantity": {
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "quantity": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "condition": {
      +    "enum": [
      +      "NEW",
      +      "LIKE_NEW",
      +      "NEW_OTHER",
      +      "NEW_WITH_DEFECTS",
      +      "MANUFACTURER_REFURBISHED",
      +      "CERTIFIED_REFURBISHED",
      +      "EXCELLENT_REFURBISHED",
      +      "VERY_GOOD_REFURBISHED",
      +      "GOOD_REFURBISHED",
      +      "SELLER_REFURBISHED",
      +      "USED_EXCELLENT",
      +      "USED_VERY_GOOD",
      +      "USED_GOOD",
      +      "USED_ACCEPTABLE",
      +      "FOR_PARTS_OR_NOT_WORKING",
      +      "PRE_OWNED_EXCELLENT",
      +      "PRE_OWNED_FAIR"
      +    ],
      +    "type": "string"
      +  },
      +  "conditionDescription": {
      +    "type": "string"
      +  },
      +  "conditionDescriptors": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "values": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "locale": {
      +    "type": "string"
      +  },
      +  "packageWeightAndSize": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "dimensions": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "height": {
      +            "type": "number"
      +          },
      +          "length": {
      +            "type": "number"
      +          },
      +          "unit": {
      +            "enum": [
      +              "INCH",
      +              "FEET",
      +              "CENTIMETER",
      +              "METER"
      +            ],
      +            "type": "string"
      +          },
      +          "width": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "packageType": {
      +        "type": "string"
      +      },
      +      "weight": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "unit": {
      +            "enum": [
      +              "POUND",
      +              "KILOGRAM",
      +              "OUNCE",
      +              "GRAM"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "product": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "aspects": {
      +        "additionalProperties": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "type": "object"
      +      },
      +      "brand": {
      +        "type": "string"
      +      },
      +      "description": {
      +        "type": "string"
      +      },
      +      "ean": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "epid": {
      +        "type": "string"
      +      },
      +      "imageUrls": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "isbn": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "mpn": {
      +        "type": "string"
      +      },
      +      "subtitle": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 80,
      +        "type": "string"
      +      },
      +      "upc": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "videoIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / type
      Added value: +"object"
  2. Addedv1.14.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It explicitly states the required OAuth scope and implies a mutating, overwriting operation through 'create or replace.' However, it does not detail side effects such as full replacement of existing item data, idempotency behavior, or error conditions, leaving gaps.

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 concise and front-loaded with the operation statement, followed by the OAuth scope requirement. It is free of filler and easy to parse, though it is very minimal and could benefit from a structured breakdown without losing efficiency.

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

Completeness2/5

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

Given the highly nested body schema, lack of output schema, and zero annotations, the description is notably incomplete. It provides no guidance on required body fields, expected response, replacement semantics, or common failure modes, making it difficult for an agent to invoke the tool correctly without external API knowledge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema descriptions cover only 'sku' (50% coverage); the complex 'body' parameter is entirely undescribed. The tool description adds no parameter-level meaning, leaving agents to interpret nested properties, enums, and field requirements from raw schema alone, which is insufficient for a parameter of this complexity.

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?

The description 'Create or replace an inventory item' clearly identifies the verb (create/replace) and the resource (inventory item), making the core purpose unambiguous. It is distinct enough from bulk operations by its singular phrasing, though it does not explicitly name alternatives like ebay_bulk_create_or_replace_inventory_item.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description offers no guidance on when to use this tool versus related tools such as ebay_bulk_create_or_replace_inventory_item, ebay_get_inventory_item, or ebay_create_or_replace_inventory_item_group. No usage context, prerequisites beyond OAuth scope, or exclusions are provided.

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