Skip to main content
Glama

Inspect eBay listings

inspect_ebay_listings
Read-only

Check up to 25 products against eBay before any write, with the same live preflight the CRM's eBay channel page and the real draft and publish calls run. Per product it returns the eBay state (off, member, draft, live, ended), nextAction (create_draft, publish_draft or none), whether that step is ready and, when not, the blocking reason with details. ebayDraftSetup lists the armed eBay sites and their currencies; remediation.ebayPlaybook maps every reason to the tool that fixes it; publishingEnabled says whether the owner allows AI to publish in this workspace. Reads eBay, never writes. Use search_products first for the ids; after a fix with update_product, upsert_product_prices, upsert_product_attributes or upsert_product_translation, call it again — a reason can change or clear.

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": {
      "productIds": "<productIds>"
    },
    "name": "inspect_ebay_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdsYesThe products to check, at most 25 ids from search_products.
marketplaceIdNoOmit it when the eBay connection sells on one site — the server fills it in. Pass one of ebayDraftSetup.marketplaceIds only when several are armed. A MARKETPLACE id such as EBAY_IT, never the eBay connection id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, and the description reinforces this with 'Reads eBay, never writes'. Crucially it goes beyond the annotations by specifying the per-product payload (eBay state enum, nextAction values, readiness, blocking reason with details) and the supporting fields ebayDraftSetup, remediation.ebayPlaybook and publishingEnabled — none of which appear in any structured field.

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?

It leads with the purpose and the pre-write constraint, then enumerates the return shape, then closes with the call sequence — a logical front-loaded order. It is dense and long relative to a two-parameter tool, though nearly every clause carries information an agent needs.

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?

There is no output schema, and the description compensates by naming the key return fields and their meanings, the effect of owner publish settings, and the remediation mapping. Combined with the 100%-covered input schema and safety annotations, 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%: productIds and marketplaceId both carry detailed descriptions, including the enum and the 'omit it when the eBay connection sells on one site' guidance. The description adds only the 'up to 25' cap (already in the schema) and nothing else about parameter semantics, so the baseline of 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 ('Check up to 25 products against eBay') plus the scope ('before any write, with the same live preflight ... the real draft and publish calls run'). This clearly distinguishes it from siblings like check_channel_readiness, create_ebay_drafts and publish_ebay_drafts.

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?

Gives explicit sequencing: 'Use search_products first for the ids', and 'after a fix with update_product, upsert_product_prices, upsert_product_attributes or upsert_product_translation, call it again'. It also frames the tool as a pre-write gate, so the when-not (anything after a successful publish path) is implied and the required predecessor tools are named.

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